checkpoints keep changing
Standard check point and Bitmap check point properties keep changing so how to handle this situation.
For example: when i captured my bitmap checkpoint that time it had "abc" values inside and now its changed and it has "abcde". So i am getting error message saying expected and actual bitmap does not match.
Please tell me how to handle this situation? i don’t want to delete and rerecord the checkpoint again.
Please help me
Thanks
Newhere
Re: checkpoints keep changing
This is a good way to check for images:
[COLOR="Navy"]If[/COLOR] Browser("").Page("").Image("file name:= " & ImageFilename).Exist [COLOR="Navy"]Then[/COLOR]
Reporter.ReportEvent micPass, "Image Check","Image with Filename: " & ImageFilename & " exists."
Else
Reporter.ReportEvent micFail, "Image Check","Image with Filename: " & ImageFilename & " does not exist."
[COLOR="Navy"]End If[/COLOR]
I don't always recommend using Bitmap checkpoints as they have shortcomings such as being sensitive to change in screen resolution, image brightness etc.