I have to open an application by typing url, entering valid username and password. After that, I have to click on a button to go to screen1. I have to take a screenshot of the application at this stage.
After the server restarts, if I run the test, it should compare the new screenshot to the one that is stored when the test is created. If the screenshots match, the test should pass.
Can you please suggest what checkpoint is used for this? If I use bitmap checkpoint, the test fails always eventhough expected and actual screenshots are the same.
I tried to use the following procedure from help file. It is not giving me any error message. But I cannot see where this a.bmp file is saved. Please help me with this query.
My application is a java based application.
'The following example uses the CaptureBitmap method to capture a screen shot of the "Periodic" radio
'button. The file will automatically be saved to a different folder (the test run results folder) in each test run.