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 |
what are the functions availabla in QTP? what are the data types in QTP?
How to make Shared object repository in qtp 9.1 and 9.2?
does qtp need record and playback in realtime. plz tell exactly wat happens
WHAT ARE THE SHORTCUT KEYS IN QTP?
In qtp, how you can get the last character from a string?
can any one tell me the script to click on a button in the wintoolbar.
How to check which add-ins are associated with a test in qtp?
There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code
what is run-time object in qtp? explain with example?
str="ramanareddy12345@gmail.com"to count alphabets,numarics and special charcters pls any one knows send to answer
what is qtp automation framework, what is the purpose of the framework and which folders included in this framework pls tell me with brief description
Can we directly automate test script according to requirements?