Nimeshika
11 years agoContributor
2 objects with same adresses
Hello,
I have a container with wndClass "WindowForms10.Window.8.app.0.2bf8098_r12_ad1", within which I have panels.
Each panel has a label(winformObject) of wndClass "WindowForms10STATIC.app.0.2bf8098_r12_ad1".
I am able to spy each label seperately .. but their addresses are the same,inspite of using Text recognition.
Now when I want to perform click on label 1 it clicks on a different label since there is no difference in adresses of labels.
FindChild() is returning null for the container even when childCount>0.
Kindly help me perform actions on required labels by using their text.
I have a container with wndClass "WindowForms10.Window.8.app.0.2bf8098_r12_ad1", within which I have panels.
Each panel has a label(winformObject) of wndClass "WindowForms10STATIC.app.0.2bf8098_r12_ad1".
I am able to spy each label seperately .. but their addresses are the same,inspite of using Text recognition.
Now when I want to perform click on label 1 it clicks on a different label since there is no difference in adresses of labels.
FindChild() is returning null for the container even when childCount>0.
Kindly help me perform actions on required labels by using their text.