So the main idea is to get the table from UI and to store it in the cache of some data store.
Also, we created some sort of generic data source with the name "GenericDataSource".
How to set and get Columns values. We tried different cases but no luck.
As you can see we created a columns collection and tried to store it. But it is not working. Also for getting data source and for adding rows we are using such actions, and the row was added fine:
Code: Select all
public static DataCache GetConnectors(string name)
{
return DataSources.Get(name);
}
Code: Select all
public static void GenerateNewRow(this DataCache connector, string[] values)
{
Ranorex.Core.Data.Row row = new Ranorex.Core.Data.Row(values);
connector.Rows.Add(row);
connector.Store();
}