can u give one scenario for for PopWindow Exception & write
Code for that?
Answers were Sorted based on User's Feedback
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 |
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 |
How many types of recording modes are there?
After the execution of a script how do u upload the results to Quality Center. Pls anyone explain in detail. It is very urgent._______Thanks a lot!!
MANUAL TESTING, AUTOMATION TESTING QTP,QC , Load Runner , SELNEIUM ONLINE TRAINING
diff between wr and qtp in detail.
How we can add actions in the test using QTP?
what r the drawbacks and limitations of QTP?
How to get line numbers in your editor in expert view?
Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..
What is a Run-Time Data Table? Where can I find and view this table?
How to modify object property in qtp ?
what is review
is we can import the object repository from external source. if it so then how?