Browser("DMX Admin_3").Page("Control panel-new
page").WebEdit("UN").Set datatable("UN",3)
Browser("DMX Admin_3").Page("Control panel-new
page").WebEdit("PWD").Set datatable("PWD",3)
Browser("DMX Admin_3").Page("Control panel-new
page").Image("Save").Click
------> If Browser("DMX Admin_3").Page("Control panel-new
page").WebElement("Saved Successfully").Exist Then
Datatable("ACTUALRESULT",3)="Pass"
else
Datatable("ACTUALRESULT",3)="Fail"
Here UN & PWD is wrong & it will not display saved successfully
message.
Now when it comes to If condition, Execution is taking long time more
than 10-15 min what might be the problem.
Is there any other option, other than using exist method to check
whether validation message.
Plz help me out ...............
Thanks in advance
Raghu
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en