NHoe
(Norman)
March 3, 2022, 1:38pm
1
Hi all, I read out a range using the get visible text activity, then I check how often a certain word occurs in it, this works so far. Then I have a for each loop with a click text activity where I want to click on each word in turn, but it only ever clicks on the first hit, how can I change this?
System.Text.RegularExpressions.Regex.Matches(Inhalt_Positionen,Artikelnummer).Count
For Each Loop
click text System.Text.RegularExpressions.Regex.Matches(Inhalt_Positionen,Artikelnummer).Item(Zähler+1).ToString = doesnt work
ppr
(Peter Preuss)
March 3, 2022, 1:50pm
2
it depends on the element holding the text
Possible options for further checking
Gokul001
(Gokul Balaji)
March 3, 2022, 1:53pm
3
Hi @NHoe
Have a look on the threads
Ok. But can you explain me how to do it in detail?
Hello Team,
I want a user to select some input through dialog then and get that input locate on the UI element then click on it.
Kindly Advise whether possible.
Thank you
Regards
Gokul
NHoe
(Norman)
March 3, 2022, 2:06pm
4
Thank you for your suggestions, the problem is that I have no option in the selection of selectors.
ppr
(Peter Preuss)
March 3, 2022, 2:19pm
5
ok, we solved such scenarios with click text and occurence info
Also crosscheck if with f4 uiframework change during taking the selector another result / other selectors are offered
NHoe
(Norman)
March 3, 2022, 2:51pm
6
ppr:
occurence
occurence is my solution, thank you!
system
(system)
Closed
March 6, 2022, 2:51pm
7
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.