I have a 10 lines of qtp script, while executing i got an
error at line 7 but i dont want to stop the execution i want
to continue the execution up to last line and display the
test result window, wts the syntax we use?
Answers were Sorted based on User's Feedback
Answer / justin brus
Use 'On error Resume Next' statement at the beginning of
the script
| Is This Answer Correct ? | 36 Yes | 1 No |
Answer / chinmayee
There are 3 ways to handle unhandled exception
1)File -settings run-run settings tab
2)recovery scenarios which can be done with ettings or programtically using recovery object
Resources
recovery scenario manager
scenario
add recovery scenario from function library or else add function defination to library
for trigger events 1)object state error
2)pop up window
3)application creash
4)tset run error
3) Vb script error handlers like on error resume next
| Is This Answer Correct ? | 1 Yes | 0 No |
What is difference between version 6.5 and 8.2 in QTP?
Hai Guys, can anybody show me how to write automaed test cases using VB scprit(examples)...i had an interviw soon...please guyz send as quickly as possible
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
how qtp identify two objects having same name, supose objects are in same page also with same name,specify spl feature.
i want click on a link which is in 3rd row and 2nd column of a web table.write script to execute
How i can test the background color of the records displayed in a Table. Eg i have a .net desktop application and there is a Table(swftable) with records displayed in the grids. i have to validate whether the 1st record is displayed in white background color and 2nd record in light blue background color...But the constraints is that once user click on the first record...the background color changes to grey.......Plze let me now how to validate this with QTP 9.2.
In QTP, while launching qtp application from startup.. we find Advanced Keyword-Driven Testing caption.. wht is that...Anybody can pls explain it. Thanks in Advance
How u will open the build automatically in QTP except using Systemutil.run command
What is throw object?
What is object repository?
How to watch currnet value of an object like OK buton or edit box with "Agent Name:" label. in watch expression tab?
How to catch the TOol Tip Dyanamically changing values using the qtp script by Descriptive Programming Scenario: ======== 1. when i press the submit button 2. The Tool tip first shows the value "Validating...." 3. Next the value is changed in tooltip "Logging....." ------ And the class is webElement SO , how can i catch both values During Run time using Dp