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 / chan
It will throw "Divide by zero exception".
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What are the trigger events in qtp?
I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=", Second button "html id:=btnSave "outerhtml:=", Third button "html id:=", outerhtml:=",
How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one
How to run a test using quicktest professional?
When using descriptive programming?
Explain the qtp test phases.
The hybrid framework can be implemented for any application. Is it true?
How do you do batch testing in wr and is it possible to do in qtp, if so explain?
In qtp, how you can exit for loop?
What does mean by Scope of Automation?n How we defined it?
Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?
What is the extension of the recovery scenario file in qtp?
How you create new action in qtp?
What is checkpoints for quicktest professional?
How many scripts did you have?