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

what is a file system object in QTP

7 Answers  


How to create basic scripts from a manual test case in QTP?

1 Answers  


How to write business scripts using object repository with different scenarios

0 Answers  


What is the extension of 'Log file' in QTP

3 Answers  


WHAT IS THE FUNCTION (HOW TO DO) THE BATCH TESTING IN TEST DIRECTOR USING MANUAL TESTING PROCEDURE?

1 Answers   CTS,


i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com

0 Answers  


I want different types of discriptive programming statments coded for different types of web-objects?Give syntax and example?

2 Answers  


what r advance features u had done in QTP?

3 Answers   HCL,


HOW to invoke any recorded script in QTP with out using RECORD & PLAYBACK CONCEPT?

3 Answers   CTS,


hai, i am doing QTP by own. So, i am confident in checkpts,synchronization, data driven test, recovery scenarioe manager etc. but actually i don't know how all these we wil implement while we r writting code manually. when we r doing practice, while recording code is automatically generated but in real time i heard that we have to write the script.But i don't know how it is? How to write descriptive prog.? plz. tel me what r the basic things we have to know? explain how to write descriptive prog.? explain me with an example pls.......

2 Answers   Vertex,


does qtp need record and playback in realtime. plz tell exactly wat happens

3 Answers   HP,


Do you support automated testing? Why?

0 Answers  


Categories