Odin Technology - Automated Software Testing

Axe Test Automation Platform

General discussion relating to the Axe Test Automation Platform from Odin Technology

Posts by Odin employees marked:

continuation on a sub test failure ..

Hi,

I'm using 1.5.4. In my test sheet, I've one Test ID and it has 30 subtests in a single row.

when one sub test fails, the script is being aborted. But I need a way that will continue from next subtest.

I'm using Robot.

Is it possible ??

Ravi

Monday, July 28, 2008
 
 
Hi Ravi,

Its certainly possible to overide this behavior. One way would be to use a custom val action instead of a set. But I am curious to know why you want the test carry on after a fatal error.

Sam
Sam Warwick Send private email
Monday, July 28, 2008
 
 
hi,

The subtests what I've are related to the fields on the page. If one field is not there, it should log it in the results and continue the operations for another object.

The total should not fail because of the failure on one object.

could you please eloborate the solution for me.

Cheers
Ravi

Monday, July 28, 2008
 
 
as per your words, custom val action would look like:

1. verify that the object exists

2. perform the operations if the object exists

3. else, continue with next step.

I want to know where and how can I set that else part above.

In the script generated by robot, for each and every step in the axe subtest sheet, it generated 'If rc<>0 then abort and end sub'. I assume that these commnads are coming from _BaseStateCheck action in the RobotActionMap.

But, I'm looking for a functionality like 'If rc<>0 then
sqalogmessage, Continue with another step'

Thanks
Ravi

Monday, July 28, 2008
 
 
Hi Ravi,

If all your are doing is checking that the object exists than it would be much more appropriate to create a custom 'val.exists' action.

If you want the test to take a different path depending on the presence of the object than in Axe terms this is actually a different test case. See this previous post for more details on the rational behind this http://fogbugz.odin.co.uk/default.asp?axe.1.98.1
With Axe the emphasis is on writing tests in simple testing terms, not programming terms.

Sam
Sam Warwick Send private email
Tuesday, July 29, 2008
 
 
Hi!

A have the question:
"Does Axe Testing Framework integrated in TestComplete?"
Andred Send private email
Thursday, August 14, 2008
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics