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?

Answers were Sorted based on User's Feedback



can u give one scenario for for PopWindow Exception & write Code for that?..

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

can u give one scenario for for PopWindow Exception & write Code for that?..

Answer / taruna

you can also use optionalstep

OptionalStep.Browser("name").Page("name").winbutton
("buttonname").click

then it willl for sometime and move further if pop up
window appears.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

I Selected for TCS-Chennai(Contract to hire) position plz suggest me whether i have to join or not

2 Answers   TCS,


what questions i have to pripare for project manager round interview ? plz give Ans.(Chandana)

5 Answers   TCS,


In descriptive programming how we know the properties of the objects, if application is not developed and the prototype of the application is also not developed.

1 Answers  


WHAT IS THE USE OF "FUNCTION GENERATOR" IN QTP?

9 Answers   CTS,


I have a Webedit object. some text is entered in that object I want to know the font sixe of that text.How could I do this using QTP? This is a requirement for me. I am happy if any one help on this

3 Answers   GE,


is it possible to map an image as standard Object or u've to treat as virtual? how to map an Dynamic image into standard object?

1 Answers  


Define QTP ?

10 Answers   TCS,


give me the code for check point for validating application

1 Answers  


In project module it contains 3-ok buttons with same properties who qtp identify its objects while runing ??

5 Answers   HCL,


Analyzing the Checkpoint results ?

1 Answers   Crea,


what are the main differences between keyword driven frame work and data driven frame work?

1 Answers   UHG,


What are the check points can be inserted without recording?

0 Answers  


Categories