I have action1, action2, action3 r there.my query is while
executing if i get any error in action1 i want exit from
here itself, otherwise execute action2, if i get any error
in action2 i want exit from hereitself, like this,what is
the method for this?

Answers were Sorted based on User's Feedback



I have action1, action2, action3 r there.my query is while executing if i get any error in action1..

Answer / uday kumar_anem

I am little bit confused.. if an error occurs in action1,
then if you want to exit from test or if an error occurs in
action2, then if you want to exit from the test then use...
ExitTest, which results exits from the execution of the
current test.

Is This Answer Correct ?    1 Yes 0 No

I have action1, action2, action3 r there.my query is while executing if i get any error in action1..

Answer / kiran

first u need to capture error number if!=0 then u can use
exit test medthod

Is This Answer Correct ?    1 Yes 0 No

I have action1, action2, action3 r there.my query is while executing if i get any error in action1..

Answer / karunakar

we can use ExitAction method.it exits from the current action.

Is This Answer Correct ?    0 Yes 0 No

I have action1, action2, action3 r there.my query is while executing if i get any error in action1..

Answer / venkateshwarlu

for this, i think we can recovery scenario manager,in this
we have to select post recovery action as proceed to next
action.

Is This Answer Correct ?    0 Yes 0 No

I have action1, action2, action3 r there.my query is while executing if i get any error in action1..

Answer / prasad reddy

'Disables all the reporting stuff

Reporter.Filter=rfDisableAll

-----------Script---------
'Enable all the repoting stuff

Reporter.filter=rfEnableAll


When ever we get result Action 1 genarat this script
we will get exat result


------------Any questions plz ask me
prasad4urs@gmail.com-----------------

Prasad reddy

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

Can anyone explain about Keyword driven framework in detail and how to use it in case of any project

4 Answers  


what is a test strategy & what is the difference between test strategy & test plan?

5 Answers  


Expalin Text/Text Area Checkpoint

1 Answers   Crea,


hi Friends ,willany body tell me what is the Scope for the automation Testing inht Future is their Or not And what is the Top Most Level in the testing section according the Pay scale

0 Answers  


how to test one edit box using Java addin for Web Applications? write script?

1 Answers   IBM,






Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.

0 Answers  


How many types of actions are there in quicktest professional?

0 Answers  


does test plan is in test strategy or test strategy is in test plan

2 Answers   Tanla Solutions,


How to pass parameters to Actions Pls anybody can give the answer.. Thanks in advance...

2 Answers   Navis,


how to lunch the application in the qtp tool ?

3 Answers  


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?

0 Answers   CTS,


Few basic questions on commonly used Excel VBA functions.

1 Answers  


Categories