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 |
A web Page has 2 frames. Find out the number of weblist items in the second frame of the page.
Does QTP is "Unicode" compatible?
Whether it is possible to test the adobe's controls like zoom, resize, save etc using QTP...If yes, how u can do the same?
How we can capture the dynamic object ex:(rotating globe) in the web page with time gaph is 5 sec..
How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?
In QTP 8.2 there are lot of check points is this same in latest version QTP 9.5 ?
I am automating a Java application. This application is developed using SWT. I am not able to get the GUI object. Even i tried with Java add-in. In tutorial it states SWT is not supported any idea. Anybody worked in such appln. My question is whether it is possible to record the GUI object of SWT appln. how it is possible.
how can we do the frame work in qtp
How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?
HOw to add the recovery file at runtime to the test file .
How to Map network drive in QTP
I Have web table shown below ----------------------------------------| | orcut | GMAIL | NAUKRI | |----------|---------|-------------------| |HOT MAIL | MONSTER | VISIT FACEBOOK | |----------|---------|-------------------| |SKYPE ACC | IRCTC | GOOGLE | --------------------------------------- Here i have 2 question friends.. 1.i want to chick the link "VISIT FACEBOOK" is there or not if it's there i want to click the link 2.here how to find the web table row or column count ... don't write the excel or data table script here friends ..consider that it's a WEB TABLE