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 |
When you are running a batch test of 5 scripts and in 2nd script appln crashed, what hpns then?
if our qtp vb Script may be Currepted then What we want do?
How do you invoke an application using the step generator in qtp?
hi i have one issue while automating the script using QTP i want scrool down .i cannot do even using scrool down methqad is not working .the object will take WebElement plz is there any code help me
What is keyword driven testing..what is the use of this in Automated testing
What is load testing?
now a days which one is using all companies for qtpscript a)Object Repository based script b)Descriptive program based script c)BOTH
What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)
what is the use of automation frame work ??(QTP)
what r the main benefits of automation?
Why is Client side image is preferred over server side image?
What is an environment variable?