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:

Intergrating multiple parameters TestPartner functions into Axe

I am looking at writing a function in TestPartner that takes in multiple parameters.  In Axe i can see how it handles single parameters, but is it possible to handle multiples ones.

Any help would be very welcome,
Mike Hill Send private email
Monday, July 24, 2006
 
 
Hi Mike,

Yes, you can have multiple parameters to functions for TestPartner and any other tool supported by Axe.

In the 'action' column of the Action Map you need to provide a name for each parameter delimited by commas. In the 'command' column each parameter is substituted with the %PARAMn% variable where 'n' is the number of the parameter starting from 1.

The best way to see this is via example. Look in the TPActionMap file provided with Axe for the 'get.cell' action. i.e.:
action: get.cell(row,column)
command: value = DotNETDataGrid("%window%_%object%").GetCellText(%PARAM1%,%PARAM2%)

Sam
Sam Warwick Send private email
Thursday, July 27, 2006
 
 
See also the 'Action Map' chapter of the Axe Technicians Guide.
Sam Warwick Send private email
Thursday, July 27, 2006
 
 

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

Other recent topics Other recent topics