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


Please Help Members By Posting Answers For Below Questions

i can done the project with QTP in that time i can say how many members in my team size?

1596


Can we create user defined functions in qtp?

738


Explain the use of action split in qtp?

734


On what document base Descriptive programming is written if build is not yet ready ?

1087


Can we run multiple QTP scripts one after the other without manual intervention? How?

771






Can we run test with out adding object in object repository? How it is possible?

777


what is vmodel?advantages and disadvantages of vmodel?

1790


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.

1861


How do you test DLL files using automation Tool QTP?

2951


Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?

1884


HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?

1908


how to disable the pop ups through QTP using a script

1919


What is quicktest professional?

736


How can you identify the browser and its information using QTP script?

745


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...!!!

1599