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 is an optional step in qtp ?
How to handle dynamic objects in QTP?
How to load the object repository at run time?
How u call functions in QTP Function to calculate the length of characters in a word -
There r 1000 rows and 1000 coloums , in that I want pickup a name of the coloumn , pls dont say in sql statements , in interview one of the interviewer said it was a wrong answer pls any send me answer its urgent
What is the architecture of framework
HI ALL, HOW WE INSTALL .NET ADD-IN OR JAVA ADD-IN TO THE QTP? PLZ URGENT.ANSWER ME.
How 2check the color of the text in the textfield . say suppose the text entered in the textfield object is appearing in red. so i want to check whether the text is in red color or not. It could be great help for me if any one solve's my issue. plz...help
Write the vb script for the lowest and highest values of an array?
Have you ever written a compiled module? If yes tell me about some of the functions that you wrote.
Can we record an application running on a remote machine using qtp?
For Usability testing, which is preferable Automation or Manual?