-
Contributing Member
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
-
Moderator
Re: checkpoints keep changing
This is a good way to check for images:
If Browser("").Page("").Image("file name:= " & ImageFilename).Exist Then
Reporter.ReportEvent micPass, "Image Check","Image with Filename: " & ImageFilename & " exists."
Else
Reporter.ReportEvent micFail, "Image Check","Image with Filename: " & ImageFilename & " does not exist."
End If
I don't always recommend using Bitmap checkpoints as they have shortcomings such as being sensitive to change in screen resolution, image brightness etc.
Last edited by Anshoo_Arora; 04-13-2008 at 09:44 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules