what is On Error Resume Next ?
Answers were Sorted based on User's Feedback
Answer / sandeep
This is one of the ways of error handling in QTP. When an
unpredictable error occurs in running the script, instead
of stpoing the execution the script moves on to the next
step and continues execution.
Thanks
Sandeep Shekar
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / seenai
whenever we feel the error may occur during the running the
script, we use On Error Resume Next statement at the top of
the script, so the script move smoothly without any
disturbance.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / bindu kumar
On Error Resume Next is one of the way to handle the
predictible errors while running the QTP Scripts.That is If
you can predict that a certain event may happen at a
specific point in your test or component,and to skip that
error we opt for "on error resume next", rather than
depending on a recovery scenario.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / mahaboob
ON Error Resume next is the vb script feature,it is used
for when a error is occured and you know the where the
error is occured and to resume the particular step and
continue the remaining script execution we can use the on
error resume next statement,it will handle the expected
errors.
| Is This Answer Correct ? | 0 Yes | 0 No |
hi radhaka plz tell me clearly to handle the earrors with out isng recovery scnerio this is sreenivas from delhi
Thanks Rag... One more question, How we test the dynamic images which frequently changed?Using the bitmap checkpoint r any other options available.... Can u give the steps pls... Thanks
If i entered 2 columns and 4 rows inputs in DDT Like Mango fruit, Banana Fruit, Brinjal Veget, Carrot Veget.. . My Q is How to get the 2nd column value for corresponding 1 column input in 3rd row ie, ( i need to get "veget" in messge box @ run time
How many test scenarios you have automated? How many time it will take to execute 30-40 scenarios? What SDLC model you are following? How often you will execute your test scripts? Because of some changes, your test scripts failed? When you will update your test scripts? How much time it will take to update? Do you know how to connect database? Do you know the direct method to count no. of records (or) rows present in record set once query is executed? How will you create the connection string? How did you resolve conflicts present in Object Repository? How good you are in VB? How will you work on Excel Application? How will you select Excel sheet? If you want to select 10 sheets, will you create 10 separate objects? Given string is “abcd”. What are the methods you will use to display “dcba”? Drives script – explain the frameworks? How you are updating results for each test? What is start up, configuration, navigation scripts? If you are not able to understand the application (some module), who will teach you? What test cases to be automated? When to be automated? What is the testing process you are following? What life cycle you are following? When you will use Descriptive Programming? Do you have the permission to add objects into shared object repository? (OR) someone will maintain SOR? Do you know how to add objects into shared object repository? How many test cases you have automated? How much time will it take to execute? What is complex in automation? When you feel automation is complex? Tell me one scenario, the complex functionality you have automated in your project? Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet. Rate yourself in SQL? Display the employee name who is getting maximum salary? sal ID Salary name 001 100 002 500 003 300 ID 001 002 003 Ename A B C Have you written any test cases while you are in Automation? Manual Testing also will you do or you will work only in automation?
How to export data present in Datatable to an ".xls" file?
write a vb script to print even numbers from 1-50?
6 Answers Kclink Technologies, Logica CMG,
what is verification & validation?
How do I get the QTP scripts result in xml format by using vb script function?
what is the purpose of QTP?
Explain in brief about the quicktest professional (qtp) automation object model?
How to write test cases for web applications using QTP.plz write a sample test case to show how to write.urgently needed.thanks in advance..
Without QTP (or any Testing tool) can we able to test the GUI part of the Applications. for Example generating the Scripts in Notepad and Executing them Using VB. Is it Possible to do so.. Correct me if iam wrong some where.