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


Please Help Members By Posting Answers For Below Questions

After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.

5892


What are the recording modes in wave event?

1540


What is use of object spy?

616


How is recording done when a application is over lapping the QTP application it gives a message object not recorded

1577


Where to use Property Let, Property Get, Property Set in UFT

376






Explain about the quicktest professional (qtp) automation object model?

570


how will you check how many members visited the website www.infosys.com?

1484


An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))

1591


What is the difference between run time object and test object?

583


Explain how Selenium is different from UFT?

697


Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?

1581


How many types of actions are there in quicktest professional?

516


Why we use QTP ,We can use other tools like WR OrSilktest What r the options in Qtp that WR and Swilktest Does not have.

1853


How will internal and external links be validated and updated? how often?

644


What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?

588