First - I read this article.
We have a multi-level-test that is using ExecutionExtensions (another Telerik link).
- Test A (Parent) has values that are being set using ExecutionExtensions during the OnInitializeDataSource event. The data table returns multiple values (columns) across multiple rows.
- Test B (Child) has the InheritParentDataSource checkbox checked.
ISSUE: Upon execution, although Test A reports that multiple iterations have been run with correct values in the Test Studio UI, we see the runs are actually re-using the same values from ROW #1 only.
CAUSE: The IsDataDriven property of Test A is FALSE.
RESOLUTION:
Within the designer/Test Studio UI for Test A, we add a BLANK/EMPTY Local Data Table. That sets the IsDataDriven property to TRUE. Then at runtime when the ExecutionExtensions create a new Data Table, the tests properly iterate the rows.
The IsDataDriven property is read-only and it's not clear if/how to set during OnInitializeDataSource.
Feels like a bug, please advise.
Hi Billy,
Please, take a look at the additional notes on the case in the comment under Plamen's answer.
Thank you in advance for your cooperation.
Regards,
Elena
Progress Telerik