I'm using Connector 10.2 and targeting a .Net WinForm app. Here is the definition of the control to be analyzed:
<Attributes> <Attribute name="Condition" value="/Root[1]/Pane[1]/Window[1]/Text[2]" /> <Attribute name="Property" value="Label" /> </Attributes>
My WinForm app uses MDI and Childforms. I added a control just for the Connector on several child forms. This works in most cases but I have a few problem forms where the wrong control is analyzed. Given the control path shown above Connector is obviously walking the the discovered controls by type.
Looking at the LFC.TestUtility.exe logs (which doesn't show the above syntax) it does find all the controls and it has discovered the names of the controls.
I am wondering if there is alternative syntax that could be used to target a control by name?
Failing that how can I modify my WinForm to control the order of the controls so they are consistent across childforms?