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

is it possible to change the date format like MM/DD/YY into DD/MM?YY through script in QTP

5 Answers   IBM,


how to create flat file datasubmission in qtp

0 Answers  


When to use Descriptive programing?

2 Answers   Wipro,


How to make arguments optional in a function?

2 Answers   Crea,


How do u connect database through QTP tell me both Ms Access and SQL

2 Answers   Livetek,


I have made the recovery scenario in script. When i am exceuting the script. it stop automatically after running recovery scenario. Please tell the resaon?

2 Answers  


Is it possible to change the values of analog recording?

0 Answers  


If created one virtual object? Next time I changed the window position will it work?

0 Answers  


Suppose there are 10 browsers opened on desktop. I want to close all browsers except one browser in QTP. Can any one give the code for this?

7 Answers   IBM,


What is the difference between a Function and Action in QTP?

0 Answers   Wells Fargo,


What are the check points can be inserted without recording?

0 Answers  


How to export QTP results to an ".xls" file?

3 Answers  


Categories