by snowli » Thu Jan 28, 2010 11:13 pm
Hello, we are evaluating Ranorex and the ActiveX control VSFlexGrid not having a stable ControlID is preventing us from going forward with the evaluation. So we would highly appreciate any help that can convince us to choose your software.
1. Since when the class is VSFlexGrid8L, the ControlId isn't stable, is it possible to use WindowText as the element identifier in the recorder?
We see that the WindowText is listed in the Ranorex Spy (and we can make it stable), although it appears grayed out in Ranorex Spy.
2. After recording, if I manually change the elements line from
element[@controlid=136786992'']/row[@accessiblename='Row 2']/cell[@accessiblename='X']
to
element[@windowtext='myWindowCaption']/row[@accessiblename='Row 2']/cell[@accessiblename='X']
then it works!, but obviously we don't want to manually edit the recorded scripts each time.
So how to set a setting in Ranorex such that it will automatically use @windowtext if the Class name is 'VSFLEXPRO8L'? Or is it possible that we can configure Ranorex so that use classname plus windowtext as identifier when recording?
BTW, we have been using QTP and vsFlexGrid didnt present a problem for that software, but then we ran into other problems like right-click hit-test to open Context menu etc, which prompted us to look for a new software.
Thanks for your help.
Snow