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

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

How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?

1067


how will load the object during runtime?

2159


By using QTP can we record any log files written by the application which is in execution?

2004


How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?

1304


Does QTP record on Objects created on XWindows Environment?

2260


What do you to script when objects are removed from application?

1121


How you can write contexts to text file in qtp?

1151


Is it possible to change the values of analog recording?

1187


could any help me please, how to work on visual foxpro application using UFT

2442


How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?

1239


What is a Patch in QTP?

1113


What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);

4063


In qtp, how you can use xpath to identify objects?

1129


If I change the property value at runtime is it effect is object repository?

1141


Explain about Test Fusion Report of QTP?

1113