Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

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.

0 Answers  


Explain about Table and DB Checkpoints?

1 Answers   Crea,


How does qtp recognize objects in aut?

0 Answers  


Diff between Test Stratergy and Test Plan? Diff b/w Test design ansd test case design?

1 Answers  


What is the pros and cons between QTP and Rational Robot

0 Answers   Virtusa,


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.

0 Answers  


will QTP 9.2 run successfully on Linux(gui) operating system

1 Answers  


How can we perfom Action and Component parameter.?

1 Answers   EDS,


How to export(copy) the entire webtable from the webpage into Excelsheet? using Vb scripting

9 Answers  


Syntax for how to call one script from another and Syntax to call one "Action" in another?

1 Answers   Crea,


Explain types of exception handling and script for that?

2 Answers  


What is qtpro? What is quick test pro?

0 Answers  


Categories