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
Answers were Sorted based on User's Feedback
Answer / udham singh
if the statement is sum = 100/0
then the answer is
"Pass"
| Is This Answer Correct ? | 4 Yes | 0 No |
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 |
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.
Explain about Table and DB Checkpoints?
How does qtp recognize objects in aut?
Diff between Test Stratergy and Test Plan? Diff b/w Test design ansd test case design?
What is the pros and cons between QTP and Rational Robot
Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.
will QTP 9.2 run successfully on Linux(gui) operating system
How can we perfom Action and Component parameter.?
How to export(copy) the entire webtable from the webpage into Excelsheet? using Vb scripting
Syntax for how to call one script from another and Syntax to call one "Action" in another?
Explain types of exception handling and script for that?
What is qtpro? What is quick test pro?