Hello,
I am try to extract a line from a List View of SAP.
So, I am looking to extract the line containing the information [1 von 401 ].
My selector selects the text but it always runs into error.
I added the activity in Check state app as well as added the delay but nothing works.
Any suggestions to make it work?
Anil_G
(Anil Gorthi)
January 22, 2026, 1:26pm
2
@parnalmahavir.patni
you need only one single field or a full row?
in both cases using table scop activity in sap can help better
cheers
I dont need the table. I just need the header to see if there is a match or not. At the end i just need to know if there is atleast 1 entry for the selection.
Here, I am trying to read the text from Get text and then I search if there is “1 von” in the text. If match i go forward.
I changed the selector to * as the numbers are dynmaic. I hope it will work.
Anil_G
(Anil Gorthi)
January 22, 2026, 1:36pm
5
@parnalmahavir.patni
Is this getting validated?
also if 1 Von is what is to be checked and if that is coming in selected instead of get text …directly using selector and check app state it can be validated as th selector gets valid only if the required text you need is present
cheers
Gokul001
(Gokul Balaji)
January 22, 2026, 1:37pm
6
Hi @parnalmahavir.patni
This happens because the UI element is dynamic / not stable , even though the selector looks correct.
Use Get Full Text on the page or panel
Apply regex:
\[\d+\s+von\s+\d+\]
Check out this thread
Hi @adext ,
Here, we are considering that each value is being looped and substituted in the Selector. For the last case, we can change the value to ZA., so the updated list will be as below :
["ZLS","ZVV","ZMM","ZA."]
In the Selector we could modify it as below :
<sap id='usr' /><sap text={{myVariable}} type='GuiLabel' matching:text='regex' />
Could check with the post below on using Regex in Selectors :
1 Like
postwick
(Paul Ostwick)
January 22, 2026, 6:27pm
7
You should be using Check App State, not Get Text.
You can directly use check app state, indicate the text where you are looking at. This way you can get this info.
Also, do you consider you will multiple rows in this table ? Then we may have tweak the logic based on the row number .