Micro Focus QTP (UFT) Forums
Object doesn't support this property or method: - 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: Object doesn't support this property or method: (/Thread-Object-doesn-t-support-this-property-or-method--6537)



Object doesn't support this property or method: - sia sharma - 06-27-2012

Hi All

i m facing this error ....how to solve this error
Object doesn't support this property or method:

my code is like this .....
Code:
Browser("abc").Dialog("prf").Exist
Browser("abc").Dialog("prf").WinButton("OK").Click



Thanks
sia


RE: Object doesn't support this property or method: - sshukla12 - 06-27-2012

Hi,

Please provide the details like snap shot of application, Object spy and error.

Regards,
Sankalp


RE: Object doesn't support this property or method: - Shridevi.Salagare - 07-04-2012

Try this ..

Code:
If Browser("abc").Dialog("prf").Exist Then
       Browser("abc").Dialog("prf").WinButton("OK").Click
End If