PLease provide code if i want to take screen shot on every 10 second till 5 minutes
@ganeshkalkote8643
Жыл бұрын
In framework where I can use this code to capture screenshot on test failure
@Automationzone
Жыл бұрын
In most of the frameworks u will have a report file being generated. The framework will also usually provide you a method to log and link files to the report. So... U will have to do the following 1- save the screenshot using a unique name usually date and time string is preferred. 2- link this file within your framework report. So.. when u see ur reports you will be able to view the screenshot as well.
Пікірлер: 3