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 store the value return by function in subtest or in xml.

I have one utility function which return a value, which I need to enter as a data on different subtest.
I tried save(key) & load(key) but it is not working.

I want to know the method for storing value return by function in AXE.
Thank you in advance!
Amol J Send private email
Tuesday, March 5, 2013
 
 
Hi,

You need to add a 'get' action before the save. e.g.
get; save
get; save(myKey)

Sam
Sam Warwick Send private email
Tuesday, March 5, 2013
 
 
Still it is not working.
Below function I have.
Get_custnumber() which is returning say '123456'.

I am trying below code in subtest datasheet.

Get; save( x= Get_custnumber())
Load(x);Set.

Here x is the variable in which I am storing the '123456' return by Get_custnumber() function.

Let me know if this approach is correct?
If not please give me the syntax how to use this with example.

Thank you!
Amol J Send private email
Wednesday, March 6, 2013
 
 
Hi,

Please can you share the entry for your custom actions Action Map entry and tell us which test automation tool and language you are using?

Sam
Sam Warwick Send private email
Wednesday, March 6, 2013
 
 

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

Other recent topics Other recent topics