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 / saravanaraja
Use the following code:
systemutil.CloseProcessByWndTitle
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How to creating an output value using quicktest professional (qtp)?
what is the advantages and disadvantages of using functions instead of re usable actions
Describe how Smart Identification is used
Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?
Explain in brief about the qtp automation object model (aom).
I need Major Help with a Script I recorded in QTP 9.5. I am recording scripts for a Web-based application(s) I have all the URLs for each application in Excel spreadhsheet so that QTP can pull that particular application from the spreadsheet and run it. The problem is QTP isn't recognizing one particular URL so when I hit run in QTP to run this script it opens the internet Explorer but isn't open the URL I have in the Excel spreadsheet. I've retyped the URL and still QTP won't open this Particular one for some reason. The site its self is working fine but for whatever reason QTP won't open it. How do I resolve this? I have a deadline of next Friday the 7th to complete this task so please help me in any way you can. Thanks in advance
Hoe can we do retesting using functions please give the code for it using login page
Will down time for server and content maintenance/upgrades be allowed? how much?
How can I change object description or check point values in qtp?
If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?
What are the different properties of an web object
How to use reporter.report event in qtp ?
i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api
What is a data driven test in qtp?
There is an excel file of 1 to 100 sheets how you will iterate through it?