Please any on explain usage of "on error resume next","On
error goto 0" with sample code....Thankyou.........
when a tester is asked to execute 100 scripts in a short
time..(the server will be down in another 10 min)..how he
has to run those scripts?
Answer Posted / aiswaryan
On error resume next - If any error occured in the function
then qtp will skip that error and start from the line next
to that and report the error in the result.
On error go to 100 - goto 100th line.
If the scripts are independent to each other, then you can
execute the scripts even if it stops in 10th script, in
later you can continue testing with that.
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..
In the website, the protocol has been changed http: to https what you will do? Tell me your approach?
How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks
1.How to record ,capture and also script to capture the close buttons. 2.How to record ,capture and also script to capture the options ---File ->save and File ->close in a browser and PDF files. 3.How to compare the Excel sheet values in a report using QTP scripting. 4.How to compare 2 PDf reports using QTP scripts as well reording. 5.How to compare 2 Excel reports using QTP scripts as well reording. 6.How to save a PDF report to a folder and then translate the report to an Excel type of report and compare that Excel Report with an other excel report. Please clarify me
If object is not recognized by qtp but the object is standard object what is your approach?
What is a reusable action?
Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.
how to acess a test in RSA?
what is the diff b/w assistive and mandatary rules of object repository in QTP???
Hi All, I need code for how to execute qtp scripts from excell sheet
when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks
Explain the concept of how quicktest professional identifies object?
How do I lauch my test website using code from qtp in different environmet, uat and PPTE?
What is keyword view?
how we connect 1. qtp9.2 to the quality center9.0? 2. Load runner8.0 to the quality center9.0