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 / chan
It will throw "Divide by zero exception".
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
How many types of recording modes in qtp?
Describe synchronization point.
What are the advantages of parameterization ?
how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel
What is test object model in quicktest professional (qtp)?
Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com
why text area checkpoints cannot used for web applications
is it possible to add sheets to excel at runtime
Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?
When to use descriptive programming?
hi Friends ,willany body tell me what is the Scope for the automation Testing inht Future is their Or not And what is the Top Most Level in the testing section according the Pay scale
To which environments does quicktest professional (qtp) supports?
What will be happen if i load object repository at run time, but it has already associated.
how can we preform retesting(DATA driven test) using function please gine the code for loginpage