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
How will you check a web application for broken links using qtp?
What are benefits of qtp?
What are the different kinds of test steps?
How qtp identifies objects?
how can i call function (which has link with excell sheet at a remote location) within another function
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
What is recovery scenario in qtp?
How did you resolve conflicts present in Object Repository?
Explain advantages and disadvantages of ddf?
what is stepin & stepout?
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
Explain the use of action split in qtp?
How can we conduct U-I Testing by using QTP??????
Hi, How Accessibility checkpoint in QTP can be implemented in the test script?
What is the use of an object spy tool in qtp?