Forum Discussion

ml's avatar
ml
Contributor
9 years ago
Solved

Make Screenshot & compare

Hello,

i want to make a screenshot (post to Log) while the keywordtest is running and then this screenshot should be compared with another picture from the actual viewving. How can i set a folder vaariable for the current log directory at the image comparsion checkpoint?

 

would be great if you can help.

  • Hi ,

     

    You can use below code to capture and store as reference image.

    Regions.AddPicture()

    Now create region check with actual image and reference image .

     

1 Reply

  • Hi ,

     

    You can use below code to capture and store as reference image.

    Regions.AddPicture()

    Now create region check with actual image and reference image .