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:

Can Multiple Data be used for one object?

I have a situation where there are web tables with account info and many other fields. I want to be able to validate the various info in the table, even if I don't know the account number location (meaning what row it is contained in ) ahead of time. I can write a custom action that can search for the account number and validate it, but at that point, I'd want to validate all of the other items that belong to that account number, meaning that the info is in the same row that the account number is found. Is there a way that I can pass or load multiple items from my external data sheet for one object? I tried using build.load(AccountNumber);val.AcctNumber (which works), but if I want to also verify the Account Type or Account Name, for that same account, I want to be able to do something where I can still use the AccountNumber used and then load another piece of data...kind of like passing parameters to a function. I hope this makes sense.
LaBron Thompson Send private email
Friday, August 6, 2010
 
 
Hi Labron,

I assume you have each cell in the table mapped as a separate object, so they have separate steps in the subtest. Therefor you can use build.load(AccountType) and build.load(AccountName) etc for the other fields.

Also note that when using a datasource you can have a single generic subtest which reads the data from the datasource based on the test id. i.e. in the datasource column have something like:
Myworkbook:Mydata id %TESTID%

What is the reason for the custom val?

Sam
Sam Warwick Send private email
Tuesday, August 10, 2010
 
 
Sam, I use all of that, but I may want to have, say , a few columns of data included and used just for one object. I had some emails with Support and they confirmed with me that the best approach is the approach I tried: have one column of data be the result of a concatenation. My custom action then has to do the work of splitting that info and accomplishing its task from there.
LaBron Thompson Send private email
Wednesday, August 25, 2010
 
 

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

Other recent topics Other recent topics