SweepLoop populates wrong data set to variable
Environment:
OpenTAP 9.7
Steps to reproduce:
- Have 2 steps from different namespaces, with both having variable with equal name. In this example both variables are strings and step just logs the content of the variable. Namespaces are TestSteps.ExampleNamespace1 and TestSteps.ExampleNamespace2. Full name of the variables are TestSteps.ExampleNamespace1.Class1.Variable and TestSteps.ExampleNamespace2.Class2.Variable
- Place instance of those 2 steps as childs under SweepLoop and set different test data to both variables. I had 123,111,122 on first and 321, 333,322 on the second.
- Run the sequence.
Actual result:
both steps logs 321, 333, 322
Expected result:
one step log 123,111,122. Other step log 321,333,322
Other remarks: In Tap 8.x sweep loop was using display names, in Tap 9.x sweep loop has full type name of variable in tapplan but apparently only the variable name is used. Maybe code should use full type name to separate variables?