| || |
identifying different widgets for the same field
We use beans in our GUI and we test it using WinRunner. In this, one of the widgets have been reused. Win runner differentiates using the class_index.
In our GUI, three instances of the widget are used. say
A :class_index 1, B :class_index 2, C :class_index 3.
When we select some other options, we are taken to some other screens and then return back to this screen. Now the class_index of the widgets are changed as
A :class_index 3,B :class_index 4,C :class_index 5.
I dont know how to handle the situation.