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 |
Please anybody can tell the where can i get the information about pharma and bank testing, i put the pharma&bank projects in my resume, so i dont know what to tell about them, so where can i get the information and what we test for these, i need domain information, what r the screen we test?
Give me exact application where we should use low level recording?
Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?
what is database check point, how will you parameterize the database from seperate data table?
what is the use of VIRTUAL OBJECTS? explain ?
10 Answers ABC Infotech, IBM, TCS,
How to call a test from another test?
Does QTP run in any environment?
can i compare two databases using QTP ?
What is the difference between gettoproperty and settoproperty?Explain with an example?
What is Object Spy?
Where you are storing your script?
If an application name is changes frequently i.e while recording it has name "Window1" and then while running its "Windows2" in this case how does QTP handles?