Please any on explain usage of "on error resume next","On
error goto 0" with sample code....Thankyou.........
when a tester is asked to execute 100 scripts in a short
time..(the server will be down in another 10 min)..how he
has to run those scripts?
Answers were Sorted based on User's Feedback
Answer / ganesh kumar
"on error resume next" is to resume the QTP to the next
line,next action when an error occurs while executing the
Test Script
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / aiswaryan
On error resume next - If any error occured in the function
then qtp will skip that error and start from the line next
to that and report the error in the result.
On error go to 100 - goto 100th line.
If the scripts are independent to each other, then you can
execute the scripts even if it stops in 10th script, in
later you can continue testing with that.
| Is This Answer Correct ? | 3 Yes | 4 No |
What is checking bitmaps?
Syntax for how to call one script from another? and Syntax to call one "Action" in another?
How to check which add-ins are associated with a test in qtp?
for example u can take ebay or plifcart online shoping web application--------- write acode in vbscript in qtp---- search box and write (iphone6)and click on go button then opened diff prise iphones in next page but u can select 30,000 to 90,000 list pls write code?
2 Answers FFASVA, Genpact, Wipro,
How can i check all the button that are enabled in a widnows based application ? What script should i write for this ?
hi gavasker i want how to merg OR's in QTP 8.2 by QTP Plus
We developed 100 descriptive programms and put in running, in the midle if any descriptive program is stucked with some error? what will happend weather it will execute the remaining prg's or it will terriminate ?
h u call the function
You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?
Can you write User defined function for WebEdit ? Note1: This function can be used for all web edits in all pages Note2: Don't use Child objects method
Can we create a qtp test from qc?
pls help me with scripting,right from the beginning in QTP