Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

How to compare the two strings?

2 Answers  


can u please explain what r the challenges u faced in ur automation testing

2 Answers   Genpact,


How to customize checkpoints with parameters?

0 Answers  


How do you send email with attachment from outlook using qtp ?

0 Answers  


What is Curd testing?

0 Answers   Wipro,






What are the views available in quicktest professional?

0 Answers  


WHAT IS ENVIRONMENT VARIABLES?

6 Answers   Ordain Solutions,


Sometimes my QTP scripts works fine and sometimes its not though I am using same shared Repository and am not doing any changes in it.Even though for descriptive programming also its works fine and sometimes it does not work.my application is pretty stable.Could anyone please answer why am facing these types of issue??

1 Answers  


Is there any site to download QTP....otherwise tell me the way how to get the QTP sofware??????????????????? Thnx in advance

5 Answers   Cegonsoft,


How often were they executed?

0 Answers   Sarga Technologies,


Hi every body, I am new to QTP.pls help me if anybody knows the solution. Here is my doubt: I have 3 excel sheets in my local drive out of which one is password protected and i want to get the data of all these xL's either by importing or by reading the data finally i have to update this data in the website.(and the site is secured site) I tried by importing all XL"s one by one but couldn't do so. plss send me the code or atleast suggest me the approach. Thanks in Advance Padmaja

3 Answers   Symphony,


how can i call an external action,which is not added external action of an action?

2 Answers   Ordain Solutions,






Categories