02-02-2011, 10:14 AM
Hi,
Now i am working QTP. I got error like that Object does not support property or method. How to avoid these kind of error. I have used the following code like that :
please do the needful.
Thanks in advance,
Subramanian.M
Now i am working QTP. I got error like that Object does not support property or method. How to avoid these kind of error. I have used the following code like that :
Code:
Browser("Browser").Navigate "......."
Dim Str1
str1="WebButton"
msgbox str1
Dim str2
str2="Reset"
msgbox str2
Dim res
res=str1 & "(" & str2 & ")"
Browser("Browser").Page("OpenSSO (Login)").res.Click
'Browser("Browser").Page("OpenSSO (Login)").WebButton("Reset").Click
Thanks in advance,
Subramanian.M