Greg_Jiff
17 years agoNew Contributor
Cannot reach a TestStep by name from Groovy script (but can by index)
Hi,
I have a strange issue that looks like a data related.
In my test case I have 12 TestStep objects, and Groovy shows this correctly.
I can reach all objects by index, but when I try to reach them by name one TestStep remains inaccessible, i.e. a get- method returns null.
I tried a direct call from TestCase object and worked with a list iterating through all elements. Result is the same: one test step is not available even though I can work with it via soapUI GUI ok.
I guess that this is a result of the object history in the soupUI objects repository.
So something is broken and the object is not indexed correctly.
Please share your knowledge if you experienced the same problem.
Thank you
I have a strange issue that looks like a data related.
In my test case I have 12 TestStep objects, and Groovy shows this correctly.
I can reach all objects by index, but when I try to reach them by name one TestStep remains inaccessible, i.e. a get- method returns null.
I tried a direct call from TestCase object and worked with a list iterating through all elements. Result is the same: one test step is not available even though I can work with it via soapUI GUI ok.
I guess that this is a result of the object history in the soupUI objects repository.
So something is broken and the object is not indexed correctly.
Please share your knowledge if you experienced the same problem.
Thank you