Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Checkpoint Image.
#1
Solved: 11 Years, 3 Months, 4 Weeks ago Toungue 
Hi,

I know that I am not suppose to do a new thread when a thread with the same question already has been asked. But with 50 ppl viewing this lady called Helens post without any answer I had to post it again since I have the same problemTongue.

Does anyone know how to check for the absence of an image. That is it should be true when the image does not exist. Also I am using QTP 9.5. Thanks alot for any help that anyone can suggest.

Regards,
Mukesh
Reply
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi Mukesh,

You can check the absence of the image as follows:

Code:
If Browser("").Page("").Image("Image Name").Exist = False Then
   Reporter.ReportEvent micPass,"Verify Image is absent","Image is absent"
   Else
   Reporter.ReportEvent micFail,"Verify Image is absent","Image is present"

End If

Please let me know if it helps !!!
Reply
#3
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi Prabhat,

Thanks alot bro that was really helpful Smile

Take care,
Mukesh L.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Checkpoint: Image [QTP 10.0] Helen99 2 4,951 07-19-2011, 10:35 PM
Last Post: tdevick
Wink standard checkpoint and text checkpoint kiran10_rm 1 5,355 11-18-2010, 05:16 AM
Last Post: nandu
  fullscreen and bitmap checkpoint error "Cannot create bitmap checkpoint" meuline 2 4,715 12-10-2009, 09:17 PM
Last Post: meuline
  Checkpoint problems: Checkpoint starts before web page is loaded & therefore fails! IdontGetIt 1 3,917 11-20-2009, 11:45 AM
Last Post: basanth27
  Image Checkpoint sriramsrqa 1 2,124 09-30-2009, 10:25 AM
Last Post: Saket

Forum Jump:


Users browsing this thread: 4 Guest(s)