I have the following scenario:
One test case inputs parameters from CSV data source into the application.
When "hitting the save button" inside the application, it creates objects with dynamic names.
Later on, I want to verify those values, but I need the dynamic name to identify the item.
So my idea was to introduce a new column "dynamicName" to the CSV data source - so I can use it in future test cases.
Most likely Ranorex is caching the CSV data, so it is ok that the new value is not available while the current test is running - it will only be needed in future test cases.
So my question:
Is it possible at all to update a data source on runtime?
What I tried so far (testing example)
Code: Select all
var currentTestContainer = TestSuite.CurrentTestContainer; var currentConnector = currentTestContainer.DataContext.Source; currentConnector.Load(); currentConnector.Rows.Values="test"; currentConnector.Store();