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 will internal and external links be validated and updated? how often?

0 Answers  


What is throw object?

1 Answers  


What are SetToProperty, SetRoProperty, GetToProperty scripting?

4 Answers  


please give me the code for doing retesting of gmail login page using functions so the function has to give the value

0 Answers  


Can we do Load Testing with QTP?

4 Answers  


what is the use of Text output value in Qtp?

2 Answers  


Hi, How to invoke QTP or any application through Command Prompt without using Vb script and batch file.... Reply me Srinivas

3 Answers   Excel,


what is the use of descriptive programming in QTP ? when we need to use DP? can we test the application completely with out useing DP?? please explan with example

2 Answers  


While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?

0 Answers  


Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?

0 Answers  


what is keyword driven testing in qtp?n how is it useful?

0 Answers  


from where we will retrieve data for data driven tests in qtp?

3 Answers  


Categories