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:

writing to external data file

Hi Odin

we use

Build.Load(somefield);set

to read data from an external data file and populate a field.

Is there any way to write a value back from the screen to the external data file?

regards

Tony
Tony Curtin Send private email
Friday, September 14, 2012
 
 
Hi Tony,

Methods with a prefix of 'build' are only applied at build-time, not run-time i.e. any use of build.load embeds the data in the generated script code. As such this what we call a 'static' datasource and is read-only.

To write information back to a datasource you would have to create your own 'dynamic' datasource using the Axe Harness DB functionality. i.e. you can use this to access Excel via ODBC. Eventually we will build this functionality into Axe.

If you look at the HarnessDemo sample provided with Axe you can see some example tests (eg HDDB302) that write to a simple Access database file (.mdb). If you just change the ODBC datasource to use Excel you can use this same technique to write to Excel.

Sam

Sam
Sam Warwick Send private email
Monday, September 17, 2012
 
 

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

Other recent topics Other recent topics