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 we run multiple QTP scripts one after the other without manual intervention? How?

0 Answers  


1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP

0 Answers  


what ar the challenges do we face while testing webbased applications using the automation tool qtp or any?

4 Answers   TCS,


What is XML checkpoint in QTP. How we can use in Web Based application

2 Answers   LinkEdge,


difference Between Call Run action and copy of action?

1 Answers  






How to parameterize in QTP?

4 Answers  


what is the exact testing process in qtp plz explin ?

2 Answers  


what are the mandatory properties for a tex boxc (scenario?)

0 Answers  


Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.

0 Answers   SoftTech,


How do you do batch testing in wr & is it possible to do in qtp, if so explain?

0 Answers  


I have faced one issues while doing test in QTP. I have described the scenario below. 1. I have to test web application.In that i want to give input of drop down values in the application. 2. Suppose Drop down has 5 value "A,B,C,D,E".I would like to give value from data table of QTP. 3. I have changed the drop down value as variable in Keyword view and given values in data table "A,B,C,D,E" as one below one. 4. While i am running the script it could not identify the drop down value which is in Data Table.It shows message. How to make value identify by QTP?

1 Answers  


Explain the new feature of UFT regarding the export of test results?

0 Answers  


Categories