Markli
(Marie Klit)
April 9, 2021, 7:21am
1
Hi!
I am trying to click the ‘x’ btn in this list of organisations. Since there are many btn’s exactly like this, I want to anchor the click activity.
The problem is, that the yellow text does not show up in the selector. I tried moving up and down the hieraky and it is just not there.
Any ideas? How do I click the yellow marked ‘x’ btn?
What about if,is that one unique?
Markli
(Marie Klit)
April 9, 2021, 7:49am
3
I am not sure what u mean, can you elaborate?
ppr
(Peter Preuss)
April 9, 2021, 8:18am
4
@Markli
it looks like that the selector retrieval had picked up the wrong element
just try again or correxct it within the UiExplorer. About clicking on the x-Button have a look here on how we can dynamize and anchor:
@sumi
have a look on this scenario similar to yours:
[grafik]
we would like to click remove for e.g. Guerra
the webelement structure looks like this:
[grafik]
with the variable in selector we identify the datarow of guerra (Anchoring to the name)
based on this the remove button is found
the selector for click looks like:
<html app='firedox.exe url='*mdbootstrap.com' />
<webctrl parentid='table' tag='BUTTON' rowName='{{selectedName}}' />
sometimes it is needed to anchor it (Name in f…
Id will be unique or just traverse to parent element and trace it down
Markli
(Marie Klit)
April 12, 2021, 7:28am
6
I cannot use ID as it will be sensitive to updates. I cannot track it down - I have moved up and down the hieraki and the text is not there. I have never tried that before, but I cant find it
Markli
(Marie Klit)
April 12, 2021, 7:29am
7
My problem is that I can’t find the text. I have moved up and down the hieraki and the text is not there. I have never tried that before, but I cant find it. For example, Inner text an aaname are empty strings
ppr
(Peter Preuss)
April 12, 2021, 7:57am
8
@Markli
open uiexplorer in standalone mode (Ribbon Menue, Design → UiExplorer)
click on Digitaler… element
explore the structue within the Element viewer / visual tree
this should help for getting a first insights for reformulating the selectors
Markli
(Marie Klit)
April 12, 2021, 12:22pm
9
The text I was looking for was generated by js, thats why it wasn’t visible anywhere in the hieraky. I found another solution. Thank you for trying to help