Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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



What will be the output of the statements below? On error Resume Next Sum 100/0 if Sum= 0 Then ..

Answer / udham singh

if the statement is sum = 100/0
then the answer is
"Pass"

Is This Answer Correct ?    4 Yes 0 No

What will be the output of the statements below? On error Resume Next Sum 100/0 if Sum= 0 Then ..

Answer / chan

It will throw "Divide by zero exception".

Is This Answer Correct ?    2 Yes 1 No

What will be the output of the statements below? On error Resume Next Sum 100/0 if Sum= 0 Then ..

Answer / 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



More QTP Interview Questions

unique properties of button,edit box, radio button,check box?

1 Answers   IBM,


If there r 1000 test scripts that were written. If a change to any functionality is to be made then how can we know in which script is this functionality existing.

4 Answers   iGate,


Q) Please any body can help me how we can create descriptive programming if the application is not ready i.e we don't have unique property of object ? note:build not ready means we can't use object spy in build to get unique property .

2 Answers  


How to export quicktest professional results to an .xls file?

0 Answers  


Generic function to search for the unique link in webtable and click on it

0 Answers  






tell me about regular expressions in QTP? where we use? give eample?

2 Answers   IBM,


Which object model ur used in ur project

2 Answers   Cap Gemini,


Explain the difference between smart identification and object identification withn clear example. please it is very urgent

2 Answers   Wipro,


hi all, I want to know about the QTP scripts, i have read more books but all areis to be a theory so how can i improve my script skills. if anybody knows about qtp scripts plz guide me and i need a sample scripts.my mail id is karthis4u@gmail.com, 9986667831 If you all have any data send it to akadi111@gmail.com

3 Answers  


With out using the task manager,how to close the application using vbscript and what is the statement?

1 Answers  


i want information about API testing and i want info like how process can be done in company? i want added info like coding ,debugging, desing in c.v ? what should add in c.v for eg banking domin? pls any answer my question?

0 Answers  


What is SQL injection?

2 Answers   CTS,






Categories