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



I have a 10 lines of qtp script, while executing i got an error at line 7 but i dont want to stop t..

Answer / justin brus

Use 'On error Resume Next' statement at the beginning of
the script

Is This Answer Correct ?    36 Yes 1 No

I have a 10 lines of qtp script, while executing i got an error at line 7 but i dont want to stop t..

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

I have a 10 lines of qtp script, while executing i got an error at line 7 but i dont want to stop t..

Answer / krish

Thanx Justin

Is This Answer Correct ?    0 Yes 1 No

Post New Answer



More QTP Interview Questions

assume i have few url link how will i dynamically call then using descriptive programming?

0 Answers   BirlaSoft,


where is the bitmap checkpoint be saved

3 Answers  


In a Web appl, on a page, there are student names & details listed.On clicking sort button,details are sorted on Names.How do u verify htat sorting is done by using QTP?

1 Answers   IBM,


why can't you use excel directly in qtp. why we want to import excel data into Datatable.

1 Answers   BoA,


tell me abt a time when u had to go above &beyind the call of duty to get the job done

0 Answers  






For what purpose to we use object repository in a application?also explain usage of obj.repository?

3 Answers  


how qtp identifies objects of application.

5 Answers   Intel,


Hi..All I have installed QTP 10.0, and need to Automate SAP Application.....so i need to Install SAP Add-ins, anybady has SAP-Addins, Please help me, and thanks in advanced plese send it on my email id: sandipgami84@gmail.com Thanks, Sandip Gami +91-9714177088

1 Answers  


We have opened three browser such as Facebook,Gmail,Amazon,I want to generate the script of Login of Amazon application, but while adding the object such as edit box(user id,password) in OR is not added.Could you please resolve my issue

1 Answers   IBM,


how to test power point using QTP 8.2 ? What are different methods to retrieve value from Application during runtime ?

3 Answers   HCL,


Give me brief idea about QTP automation object model?

5 Answers   TCS,


I want to learn Advanced QTP, suggest me the best faculty in Hyderabad

12 Answers  






Categories