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:

how to use a subtest for all object maps ..

Hi,

I've a scenario as below:

I've to test an edit box with min and max length. I've created a sub test for that and it is working fine.

I've many edit boxes on various pages in my product. Now, is there any way to reuse the above sub test by passing window name and object name as parameters ??

Regards
Rag

Tuesday, May 20, 2008
 
 
Hi Rag,

It would be possible to do something like this using some advanced techniques. i.e. creating custom object classes and an associated Action Map. But in all honesty this is likely to make the tests harder to read and follow. The Axe model of having a subtest per window gives the best combination of readability and flexibility. If it is abstracted too much then the tests could become harder to read and follow for less technical testers.

A good compromise may be just to abstract the data, possibily using a datasource. Then you will have a single table containing the data for your min/max fields.

Regards,

Sam
Sam Warwick Send private email
Wednesday, May 21, 2008
 
 

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

Other recent topics Other recent topics