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 methods of the TextStream object that are used for reading from a text file?
How to use the Object spy in QTP 8.0 version?
What r the diffrernt file extentions in QTP?
what type of scripts are asked in qtp?
write a script to verify links on any web page by using descriptive method by creating a description object (give a filter condition only link) ... need to verify expected like name by reading
how to write xml output check point bu useing descriptive programing .means without useing output check point
Write a script to print below pattern 5 4 3 2 1 5 4 3 2 5 4 3 5 4 5
In our application (Web based application)we will get a pdf file and we have check a particular text in that pdf. Can any one tell how to check text in a pdf file. In the same pdf file it generating some links and I have to click that links. QTP unable recognizing that links, even id did record and playback qtp does not generating any script. Can any one help me….?
What is All object and Local object in Object Repositary? Explain me please.
w is fragmentation and paging
How to Import data from a ".xls" file to Data table during Runtime.
we have 10 actions in out test how can we convert 9th action is main action ? how ?