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


Please Help Members By Posting Answers For Below Questions

I have qtp 9.5 demo ver,I am not able to record the yahoo broeser.so anyone can tell me what setting i have to do in QTP for yahoo brower recording. why its not recognise the object of yahoo browser????

2157


How to call a test from another test?

683


How to test the login page in different ways in automation testing and i need code?

1348


How do you delete unwanted results in qtp?

604


I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, if possible, kinldy mail PDF file to my mail-ID: ramakrishna908@gmail.com Regards, krishna.

1467






How do you send email with attachment from outlook using qtp ?

564


What is quicktest professional window?

565


What is the difference between per-action and shared?

592


Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain

1464


How to check feasibility of the appliction?in automation testing?

1474


What is business process testing(bpt) in qtp?

695


what are the utilities and drivers

1847


How to integrate the qualitycenter with qtp

1774


what is command for executing files?

1517


How QTP identify the system time that's changes every seconds?

597