Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



i want to handle all the unwanted pop up through QTP i done that with recovery scenario but it nee..

Answer / kalyan

If U found any popups or error messages u need to recover
from that situation in runtime. For this we can use DP with
IF condition and Exist and Click methods.

EX:-

If OH.Exist Then

OH.Click

Else

Endif

OH means Object Heirarchy. EX:-Browser().Page().Frame().----.

Here I have given the answer with full explanation,this is
useful for Beginners.

Any doubts mail to

mskalyan.smile@gmail.com

Is This Answer Correct ?    3 Yes 0 No

i want to handle all the unwanted pop up through QTP i done that with recovery scenario but it nee..

Answer / jay prakash

Yon can use descriptive programing (DP) for such scenario.
QTP supports the concept of DP for such cases only where u
need to go beyond Object Repositry.

Please let me know if it satisfies your query.

Is This Answer Correct ?    2 Yes 4 No

i want to handle all the unwanted pop up through QTP i done that with recovery scenario but it nee..

Answer / 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

More QTP Interview Questions

how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer

0 Answers  


How to handle dynamic objects in QTP?

4 Answers   Infosys,


What is difference between Quality centre and Test Director?

1 Answers   Nokia,


What are the points to be taken into consideration while doing desktop testing?

1 Answers   Cap Gemini,


What is difference between Class and MicClass

2 Answers  


What is the Difference between copy to action and call to action?

0 Answers  


What is different command used in command Prompt while using QTP?

0 Answers  


What is API

1 Answers  


How can I replace all the text from the QTP script with some other text. Is there any replace all function in QTP Any one can help me

5 Answers   Livetek, Virtusa,


When we use 'ERR' object to handle the exceptions in the script, do we need to include any statement in the beginning of the script..??

2 Answers   DST Global Solutions,


If i entered 2 columns and 4 rows inputs in DDT Like Mango fruit, Banana Fruit, Brinjal Veget, Carrot Veget.. . My Q is How to get the 2nd column value for corresponding 1 column input in 3rd row ie, ( i need to get "veget" in messge box @ run time

5 Answers   CTS,


Explain different checkpoints in qtp.

0 Answers  


Categories