What will be the output of the statements below?
On error Resume Next
Sum 100/0
if Sum= 0 Then
msgbox "Pass"
else
msgbox "Fail"
End If
Answer Posted / pushkar1206
It will result as "Pass". If we remove "On error resume next" line then "Divide by zero" error will be thrown by QTP.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so
What is an optional step in qtp ?
i can done the project with QTP in that time i can say how many members in my team size?
What is a reusable action?
What is the basic concept of quicktest professional?
Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.
what is description object?
How do you convert manual test cases to automated test cases?
What is the difference between a Function and Action in QTP?
Explain the concept of how quicktest professional identifies object?
How to call a test from another test?
please give me the code for doing retesting of gmail login page using functions so the function has to give the value
What is the use of text output value in quicktest professional (qtp)?
How you are developing the script? Using record and play back or manual?
In what occasion we can specify global sheet and action sheet?