I’m trying to click on a particular text on my proprietary application using just computer vision as it’s the only targeting method available. (Not too sure why?)
It seems to be clicking the wrong text on the screen. Say my CV text is : A130204
On the screen there isn’t any A130204. But it clicks a text.
If i were to have the text A130204 appearing on the screen at the start of the script it runs without any issue. Recognizing the text.
How can i ensure that it does not click on the wrong text???
As per screenshot we can see no strict or fuzzy selectors are present
Can you please re indicate the element and make sure to use one of the selectors from strict or fuzzy …also if not identifiable then use f4 to change the spy mode which chnges to active accessibility and then try to indicate and get the selector
@WilfredNg
Use Strict Selector and Ensure whether the Element is present or not With CV Element Exist Activity. This will Return True of the element is present otherwise false.
You can copy the selector from ui explorer and paste the same in the strict selector property of click activity and select target method as strict selector and use it
on visual tree window in left you have a symbol at top left if selected will highlight element element in orange whatever is selected in the visual tree…you can expand each and select and check
also as per screesnhot the tree sctucture might not be expanded…we need to go with key strokes or images or cv only…normal activites might not work in a tree like this