we are testing a software developed in MFC with stingray addins. While learning the objects in the main window we came across two horizontal scroll bars with physical description
during automation run scrollbar_1 disappears as the text is minimized. Because of this happening scrollbar_2 is not getting identified and its popping up a message saying that scrollbar_2 is not available though it is available physically. Due to this we are not able to automate further.
please provide with any suitable solution to overcome this road block.
With the only difference you are capturing being with the index (and isn't there a addin for Stingray? - have you installed that? but I could be wrong on that respect), the problem is more than likely when the first scroll bar goes away it is redrawing the screen, then the scroll bar's location is updated (more than likely to location:1).
Have you spent time with the GUI Spy app to see what has changed prior to the change and to what you see when the error occurs?