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

I am new with QTP. Is anybody could tell me where I can find a good tutorial with lots of samples?

0 Answers  


i am new to qtp i do not know how to write script how to write the code to login if it fails how to able error messages

4 Answers   Accenture,


i ve an excel in a QC folder. Thru my QTP script i want to open that excel in runtime. I am running this script from QC itself

4 Answers   TCS,


hi friends i have 4 yrs exp in testing and 2 yrsexp in QTP.currently aim working in mnc in north as a permanent employer .iam looking for job in south is there any openings plz let me know my mail id is bjr@aol.in its very urjent

5 Answers  


HOW CAN WE GET THE VALUE OF TEXT BOX IN QTP? can you give me sample script for this where there is some condition. like if "text" THEN msgbox() else endif

7 Answers   Xavient,


Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance

0 Answers  


What is recovery scenario in qtp?

0 Answers  


How to send QTP test results to an email...(with out using Quality Center)?

11 Answers  


If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?

0 Answers   Infosys,


can we do load testing , by using QTP......?

1 Answers  


What’s the basic concept of QTP?

1 Answers  


I have to pass all the test cases into gmail userid and password using functions please give me code thanks have anice and greate day

2 Answers  


Categories