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...


can u Give Procedure to Handle Pop Window & write Code for
that

Answers were Sorted based on User's Feedback



can u Give Procedure to Handle Pop Window & write Code for that..

Answer / m.hemakumar

you can use pop up recovery scenario to recover from problem


assume a popup window contains yes ,no ,cancel buttons

Function Name: Popup_Recover()

public function Popup_Recover()

if Browser("title:=*").Dialog("name:=.*").Link
("name:=Yes").Exist Then
Browser("title:=*").Dialog("name:=.*").Link
("name:=Yes").Click
End If
End Function

Is This Answer Correct ?    6 Yes 1 No

can u Give Procedure to Handle Pop Window & write Code for that..

Answer / siva

if u enter the invalid password means at that time u can get
the pop up message
for ex
browser(logical name).page(logical name).link(element).set
datatable("username",2)

browser(logical name).page(logical name).link(element).set
datatable("password",2)
if u enter the invalid password means u get the pop up message

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More QTP Interview Questions

I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all

0 Answers   Wipro,


What is Active Screen in QTP?

11 Answers  


What is the recovery scenario in qtp?

0 Answers  


What is the difference between systemUtil and invoke method..?

5 Answers  


How to invoke Mozilla from QTP thru VB Script

2 Answers  


what is synchronization point, synchronization method, wait property method? with examples.. plz explain this in brief

3 Answers  


How to create an instance in QTP?

1 Answers   Collabera,


what is frame work of qtp?

4 Answers   ITC Infotech, KPIT,


Where the text version of script file located in file system?

1 Answers  


What is the difference between Datadriven and Parameterization?

8 Answers   Ordain Solutions,


How can i check all the button that are enabled in a widnows based application ? What script should i write for this ?

1 Answers  


Is any limitation to xml checkpoints?

0 Answers  


Categories