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
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 |
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 |
Answer / karunakar
we can use ExitAction method.it exits from the current action.
Is This Answer Correct ? | 0 Yes | 0 No |
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 |
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 |
Can we Test Welcome Screens and Process Images with QTP
What are the versions of qtp,What are the differences b/n them?
Hi, i am rani ,i am putting 1+years of fake exp ,so pls anyone explain how i get project (in real time) ? how it is tested ex: in banking ,test the number of textboxes in one window
I am just a beginner in QTP. Could any one explain me in detail how to automate adding two numbers and getting the result in QTP. Also I would like to parameterize the inputs. I have tried but getting an error like 'Can't use sub.....'(can't recollect the exact error)
what is object spy
1. How to capture data from images in QTP and produce them in Excel sheet
Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)
0 Answers Autodesk, EDS, Wipro,
Is it possible to change the property value at runtime? How it is possible?
How did you achieve reusability via QTP?
Can I record on netscape browser does it require any special settings ?
What is the difference between QTP and WinRunner? Why do you choose only QTP for automation among remaing tools like Rational robot and silk test? Write the VBscript for any functionality in your project ? What is the cost of QTP ? If you entered into yahoo mail with your valid user name then you will get FOR EXAMPLE , " welcome to krishna " on the top of inbo page , how can you test it in QTP? What type of testing you can do, when we gave you 5 screens and how can you test that application? What type of framework you are using in your company and explain it?
What is the file extension of the code file and object repository file in QTP?