While creating Recovery Scenario for Pop-up
window..In 'Recovery operation' we have to call a function.
Can u tell me that function.
Answer Posted / nanda
see... generally we can handle those pop up window exeptions
by writing If then statement and using exist method.
for example...
If window("skdhja").dialog("text:=fahda").exist then
window("skdhja").dialog("text:=fahda").winbutton("text:=OK(or)Cancel").click
window("akdhja").close
else
<write remaining script here..
end if
like this we can handle Pop Up window exceptions...try to
get control on script rather than QTP tool..
If any queries..
nanda.dreddy@gmail.com
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is TOM in QTP?
Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain
How did you use regular expressions in QTP and also in WR?
How you calling actions in qtp?
Explain building blocks of the bpt framework ?
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.
Suppose I have three hyperlinks with same properties. How to solve this and what are the ways to solve this. we can solve this by using index property but what are the other ways we have have to solve this problem. Login (href: btnlogin.aspx) Login (href: Sourcelogin.aspx) Login (href: homelogin.aspx)
Why bpt?
What do you to script when objects are removed from application?
Can I change properties of a test object?
Explain the use of action split in qtp?
Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?
explain structured testing? plz guys with exp. do answer
Which scripting language used by quicktest professional (qtp)?
Explain about datafile/verification of date file when file is not available in local system?