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 |
Write a Script With descriptive programming(Without Repository) to update an Update an order in Flight App and verify whether it is done successfully.(Use ChildObjects method)
For Usability testing, which is preferable Automation or Manual?
How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.
Explain the check points in QTP?
22 Answers Gray Matrix, IBM, Microsoft, Prapan Solutions, Zensar,
How can we display the names of the buttons in the toolbar of a webpage
1.how can we report the QTP test result in a different excel sheet 2.
How to capture the text from the application using QTP?
Write a script to print below pattern 5 4 3 2 1 5 4 3 2 5 4 3 5 4 5
How to test login page by using QTP
what is difference between calling a function and reusing an action?
in one page we have 100 links i have to click the 99th link how can i click the 99th link.
4 Answers GK Technologies, IBM,
Hi , I am new to VBscripting, My requirment is to write a vbscript to read a row (which has coloumns like Description, Code, date(DD/MM/YY), hours etc) and export these feilds to a Website and then click on Submit Automatically on that web page. This it should do for all the Rows in that excel file. Any help is much appriciated Thanks Shalini