Micro Focus QTP (UFT) Forums
.exist - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: .exist (/Thread-exist)



.exist - Anna - 07-21-2008

I would like to know how to script 'does not exist' the equivalent of != in TSL (Winrunner)


RE: .exist - QADBA - 07-21-2008

Example for a WebButton:
Code:
If Not Browser("xyz").Page("xyz").WebButton("OK").Exist Then
  xyz
End If



RE: .exist - Anna - 07-21-2008

Smile Thank you!