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
Answer / udham singh
if the statement is sum = 100/0
then the answer is
"Pass"
| Is This Answer Correct ? | 4 Yes | 0 No |
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 |
How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks
Please tell me the steps to record the test in Analog recording mode in QTP version 9.2???
i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer
Where are the snapshots stored?
keyword driven framework having how many folders? explain folders in detail?
How to test background color and dynamic images during run time can you put the check point for moving objects?
How will you compare keyword and expert view?
what is the command (keyboard command) to swith from expert view to key word view
How u prepare Test result summary in QTp?
Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.
What is qtpro? What is quick test pro? What is a quick test professional?
Is it a smart choice to use QTP for backend testing?