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 ways return more then one value from function?
You have a WebTable in Web application. When you Record a Scenario using QTP, WebTable didn't recognized and also Repository is not having Webtable information. In this case How to find RowCount and Coloumn Count?
Is it possible to call out to Java from QTP?
waht is the diff b/w Environment variable and Global variable in qtp?? explain types of variable in qtp??
Did u use check points during ur work experience ?
Does QTP work in UNIX environment
5 Answers BirlaSoft, C1 India,
tell me about framework types and most used framework in real time. types of output value in details. diff between wr and qtp in detail.
Pls explain me the difference between ........ Description.Create and CreateObject
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com
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)
hi guys, could you please prepare script for given format ? 1,1,2,3,5,8,13,21,...etc use vbscript for this...?
How many type of status messages are there ..explain?