Screen Scraping doesn’t work. What do you mean by o/p ?
CV activities work but they don’t really help because I also need to select a line from the table containing a specific text. As far as I understand the CV selector contains only coordinates. Is it true?
Yes, of course. I will do it but before I want to further test it.
Simply said, CV Click activity gives such descriptors:
“Target: Text ‘myText’ (10,10,10,10)”
“Target: Text ‘12345’ (10,10,10,10)”
My discovery: coordinates don’t really matter!
If “myText” or 12345 exist somewhere in CV Screen Scope, then they will be found!
So just write random coordinates like (10,10,10,10).
Is it really so simple? That’s why I do further tests.
For instance what happens if “myText” or 12345 appear more than once in CV Screen Scope?
True that. It might not help…do you know what is the application developed on… JAVA can be one alternative…
Can you open the ui explorer and see the visual tree menu on the left top…if the individual cells are displayed as elements and if you are able to get the selectors from there?
If yes then we can go with using them…sometimes when you identify we might not get the elements, but from the visual tree we can get them and use
CV Activities works based on the Anchors. In other words, it identifies the actual UI element based on the relative UI element.
Ex: There is a field in a pdf, Invoice Number: 12345
While you are using CV, the anchor would be Invoice Number, actual UI element is 12345. During the run time it first looks for the anchor through which it finds the exact one
The coordinates/clipping region define the values in pixels relative to the UI element/Anchor. That is why, wherever the field is within the app it can able to find
If there are multiple values in the CV scope, as it identifies based on the Anchor/relative Ui element(if these were unique) I guess it will not create any issues
I believe, in that case it find the closest match and gives that one as output. It helps to provide better solution if you can share the sample file with this scenario