08-03-2009, 12:34 PM
Hi All,
Please help me to resolve my following problem.
On my application I have an Object(Next button), its always available on the page in visible or hidden mode.
Now if I put the condition:
but my first condition is always true and QTP always click Next button even though its in hidden mode.
I dont want to click this button when its in hidden mode, Please can you tell me how can I resolve my this issue.
Thanks All,
Please help me to resolve my following problem.
On my application I have an Object(Next button), its always available on the page in visible or hidden mode.
Now if I put the condition:
Code:
if browser().Page().WebButton().Exist then
browser().Page().WebButton().Click
Else
Reporter.ReportEvent micFail, "Next button not exist", "Fail"
End If
but my first condition is always true and QTP always click Next button even though its in hidden mode.
I dont want to click this button when its in hidden mode, Please can you tell me how can I resolve my this issue.
Thanks All,