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 |
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.
Shall we add Local Repository to shared object repository,if yes,how we add
How you automate testscripts one by one or moduelwise or all at once
How do u write regular expression for a window name which is changing for each build ? i.e. in first build the window name is : "computer graphics are very ...." . in second build the window name is : "computer graphics can be created" . - Appreciate proper replies
Explain about the test fusion report of quicktest professional?
Hi, OUR PROJECT NAME IS: HOSPITAL CONTROL SYSTEM. IS IT COMES UNDER WHICH DOMAIN(HEALTH CARE OR HEALTH INSURANCE)
What is the need and applications of learning VB script for a automation(QTP) engineer ain Realtime ?
Which Databases supports for QTP?
Hi .. i want to write the script for the combo nox list . For example if any combo box having a multipul itme. So how can i retrive each item for each iteration ? help me out .
can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?
Action1: I have a value "test" stored in a variable X. I want to use that variable X in Action2 .. how?
what is the syntax or command in vbscript to display user message example i want to display "welcome to QTP".