i want to handle all the unwanted pop up through QTP i done
that with recovery scenario but it need some title of pop
up but i want that it should handle all the pop up even i
don't give the title of that pop up in recovery scenario is
there any general way to handle all the pop up please
help

Answer Posted / imran sheikh

There is one method to handle the second browser initiating
dynamically, it can be pop-up dialog also.
every new browser has it's creation time. So, below command
will close any Second browser (first one will be one u are
working).
Browser("CreationTime := 1").Close
Count starts with 0 and so on...

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?

562


breef description of batch testing ?

1711


hi i have completed my b.tech in cse stream. now i am working in an organisation in testing department. i want do sap course but i dnt know which module will boost my career can anyone suggest me which is good for my career

1933


How do know the number of browsers opened?

628


Explain how you can replace string in qtp?

607






How you can replace string in qtp?

574


X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?

1509


we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?

1583


Hi this is chandra if any one have Navigation of LAB QTP, I want Navigation of those tools, if any one have the and know the Navigation each and every part of the QTP, plz send me my mail naruboinac@yahoo. com,naruboinas@ gmail.com

1454


What are the different attributes used with regular expression?

555


In what occasion we can specify global sheet and action sheet?

572


What is test object model in quicktest professional?

626


In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?

1445


I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...

1723


Plz Explain How to access Or Store Script from VSS? Explain Real time work (qtp) where you store folders and next to how to you access that folders and how you maintain folders in VSS ? What are the Menu's in VSS? Suppose in Manual, by using Checkin Checkout u can access documents. how you access in QTp REal time?

1581