TOOKT
(Tord Rune Kvikstad)
February 6, 2023, 11:22am
1
Hi,
Kinda new to UiPath. I’m trying to get UiPath to loop trough a menu, clicking the menu button once for each row, then go one step down and do it again.
Found out that the key locator for the menu is the ctrl idx=‘2’ However I cant find a way to loop throug it.
ctrl automationid=‘dockLayoutManager’ /<ctrl automationid=‘root’ /<ctrl automationid=‘LeftGrp’ /<ctrl automationid=‘dockItem1’ /<ctrl automationid=‘dataPresenter’ /<ctrl idx=‘2’ name=‘Work.List.Client.ViewModels.RowContainer’ role=‘list item’ /<ctrl automationid=‘C_4fab7931cea944d9af93f3e42f8987ec_S_’ /
HI @TOOKT
You can try with for each ui element activity
Regards
Sudharsan
1 Like
TOOKT
(Tord Rune Kvikstad)
February 8, 2023, 11:22am
4
Well have checked I do not have for each ui element option, running modern version.
Anil_G
(Anil Gorthi)
February 8, 2023, 11:28am
5
@TOOKT
It is a modern activity…it should be available unless your uiautomation packages are lond…Try upgrading them.
Also check activities → filters ->Show Modern
cheers
TOOKT
(Tord Rune Kvikstad)
February 8, 2023, 1:53pm
6
Dont really have that option kinda stuck on a older version and gotta wait until the company updates it.
However shouldn’t I be able to use Dynamic Selectors to rotated through the number series of the idx and then click?
Anil_G
(Anil Gorthi)
February 8, 2023, 2:17pm
7
@TOOKT
If tht is the case then use get children activity and then use a loop on the result that you get.
Or create a selector which you can change using idx and use in loop by changing idx
cheers
TOOKT
(Tord Rune Kvikstad)
February 15, 2023, 9:03am
8
Solved this by looping throug a selector.
system
(system)
Closed
February 18, 2023, 9:03am
9
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.