can u give one scenario for for PopWindow Exception & write
Code for that?
Answer Posted / 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 |
Post New Answer View All Answers
How do you capture tooltip using QTP?
How many types of parameters are available in quicktest professional?
How to open a new test using quicktest professional?
Suggest and Define a solution for an application whose objects are not recognized by UFT?
What is recovery scenario manager? When you go for recovery scenario manager? Tell me one scenario were your used recovery scenario in your project?
what difference between runtime object and text object and what property they have. whether they have same properties or different properties.
how to find that tools work well with your existing system?
How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined
This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10
1.explain end to end process of qc,2.how many tabs are in qc9.0,qc10.0 3.what is review, how many reviews are following in aproject 4.how will you get the requirements 5.why do we choose testing 6.how to export tc's and requirements to qc through add-ins
Tell me about your project? please help me how to tell about insurance project
How to get the particular property value?
What does it mean when a check point is in red color? What do you do?
Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji
Hello friends..... On which areas of an application we can not test with QTP