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


Please Help Members By Posting Answers For Below Questions

What are the trigger events in qtp?

579


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:=",

1357


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

1604


How to run a test using quicktest professional?

534


When using descriptive programming?

644






Explain the qtp test phases.

622


The hybrid framework can be implemented for any application. Is it true?

595


How do you do batch testing in wr and is it possible to do in qtp, if so explain?

511


In qtp, how you can exit for loop?

531


What does mean by Scope of Automation?n How we defined it?

1582


Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?

1519


What is the extension of the recovery scenario file in qtp?

548


How you create new action in qtp?

573


What is checkpoints for quicktest professional?

553


How many scripts did you have?

1703