Results 1 to 2 of 2

Thread: checkpoints keep changing

  1. #1
    Contributing Member
    Join Date
    Sep 2007
    Answers
    62

    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


  2. #2

    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
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact