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 / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between shared and local object repository?

566


why you have standardized functions? plzzz guys with real time exp. do answer

1408


How do you compare the structure of 2 tables in database and check whether they are similar using qtp.

1447


How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.

1765


What are the key elements available in test result window?

598






What is the diff between image and bitmap check point?

573


How will you check a web application for broken links using qtp?

526


Where we can use the analog mode and where we can use the low – level mode?

548


What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz

1452


what is object and child object.. explain ..if possible give some example for better understanding ..

1502


Explain how Selenium is different from UFT?

666


Explain features of the latest version of qtp/ uft 12.1?

574


i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script

1390


What is the synchronization point in qtp?

536


What is quick test pro?

568