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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How you can delete excel file in qtp?

793


How do you handle multiple banners(at the top the page, the banner is scrolling) in a web page(Dont take the name property(regular expression))

1859


Explain the concept of how quicktest professional identifies object?

718


distinguish between old version and new version QTP features.

2078


I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.

1474


While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?

1657


Can you write a script to check if the folder exists or not?

712


How to find the path of folder in which the test is saved in qtp?

723


how to prepared for first for the first interview?

2020


how can we do the frame work in qtp

1790


what type of run time errors you get while you ar edoing rpg program?

1686


Does QTP run in any environment?

802


Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?

1561


after click on compose mail how can we attached a file in qtp with vbscript code

1861


How would you directly trigger javascript in a test?

1651