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 one scenario for for PopWindow Exception & write
Code for that?

Answer Posted / nani

Hi,

The best example for popup window is when ever your login
in gmail then you will receive a pop message box for
remembering password at that time you have to clck any one
of the optin like remember me or not now..

instead of writting code repeatedly for this one..
just create recovery sceneriao and use it.
otherwise just create a function and store it in utility
file then use it anywhere.

eg:

Function LoginPopup.

If Object_Exixt(Browser("name").Page("Name").Dialogbox
("name")) then

ObjClick(Browser("name").Page("name").winbutton
("buttonname"))

End Function.

just u can use this function where you want in the code.

Nani..

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you capture tooltip using QTP?

1080


How many types of parameters are available in quicktest professional?

997


How to open a new test using quicktest professional?

1029


Suggest and Define a solution for an application whose objects are not recognized by UFT?

1101


What is recovery scenario manager? When you go for recovery scenario manager? Tell me one scenario were your used recovery scenario in your project?

1033


what difference between runtime object and text object and what property they have. whether they have same properties or different properties.

2192


how to find that tools work well with your existing system?

1865


How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined

1952


This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10

1999


1.explain end to end process of qc,2.how many tabs are in qc9.0,qc10.0 3.what is review, how many reviews are following in aproject 4.how will you get the requirements 5.why do we choose testing 6.how to export tc's and requirements to qc through add-ins

1983


Tell me about your project? please help me how to tell about insurance project

1990


How to get the particular property value?

1051


What does it mean when a check point is in red color? What do you do?

1077


Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji

1826


Hello friends..... On which areas of an application we can not test with QTP

2069