i am entering wrong data or wrong password in a text box and
click on submit button .i am getting a popup window with a
message Please enter the correct password or data .How can i
handle this situation by using QTP.
Answer Posted / vamsi
if you want close all the pop-ups to be closed in QTP, we can use utility objects too
in the above comments they handled pop-ups using recovery scenario as well as through scripting.
but to handle pop-up with utility object write this statement in else block of verification point
Systemutil.CloseDescendantProcessess
if we add this statement the pop-up will be closed automatically by QTP
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
i can done the project with QTP in that time i can say how many members in my team size?
Can we create user defined functions in qtp?
Explain the use of action split in qtp?
On what document base Descriptive programming is written if build is not yet ready ?
Can we run multiple QTP scripts one after the other without manual intervention? How?
Can we run test with out adding object in object repository? How it is possible?
what is vmodel?advantages and disadvantages of vmodel?
When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.
How do you test DLL files using automation Tool QTP?
Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?
HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?
how to disable the pop ups through QTP using a script
What is quicktest professional?
How can you identify the browser and its information using QTP script?
I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!