Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20755

Can we add screen shot (pictures) to a folder on C drive while running test script

$
0
0

I need to take screen shots during execution of our test scripts and save these screen shots (aka picture) in different folders on hard drive. I have tried the Sys.Desktop.Picture(x,y,w,h) method to take the picture but I can't find a method to allow me to save

it on hard drive in specific folder. I can however, do :

     

                Regions.AddPicture(mypic,"Step_1_Pic");

 

or

               Log.AddPicture(mypic,"Step_1_Pic");

 

is there a way to put these pictures in a folder on C drive, for example, C:\myTestPics\

 

thanks


Viewing all articles
Browse latest Browse all 20755

Trending Articles