Axe Test Automation PlatformGeneral discussion relating to the Axe Test Automation Platform from Odin Technology |
||
Posts by Odin employees marked:
|
Hi,
In the samples project provided by axe, i.e. samples\OdinPortal\data folder. The AdvancedSubTests sheet contains a workbook named 'AccountDetails' In this worksheet, for the object 'name' the action column contains the code as below: load.static(Firstname);save.Data(Firstname);load.static(Surname);save.Data(Surname);Load.Format("%s %s", Firstname, Surname);val This sheet is used by winrunner tests. But, I need the same functionality for robot. could you please sugget me that how to do it for robot. Because, I need to load two arguments at a time and send them to a custom function. Regards Sunil
Sunil Kumar Wednesday, June 4, 2008
Hi Sunil,
FYI, it sounds like you are using an old version of Axe because load.static has been deprecated and replaced with build.load. As you point out, the sample you refer to is specific to WinRunner and shows how a custom function can be written in tsl and integrated to Axe via the local Action Map. This is a subject that is covered in the Axe Technicians Guide (and associated training). In order to create custom functions you need to have some understanding of the underlying tool i.e. Robot in your case. To implement the load.format example in Robot you need to add the Load.Format entry to your local map (see LocalWRActionMap) and get it to call your equivalent Robot function. So you need to look at the op_DataLoadFormat() function in the WinRunner OdinPortalLib and convert it to the equivalent Robot code. Sam |