I am using the same workflow for multiple objects, depending on the name of the object, the ‘text’ in the selector will change
Here is the list of the objects: [ZLS;ZVV;ZMM,ZA?] I just use ‘text’ as a variable for each of the elements of the array and replace it in the selector
Now the issue is with the last one which could either be ZA1 or ZA2.
Using ZA? didn’t work because there are other selectors such as “ZAR” which I do not want
So I would like to add something to my selector so that the last character is a digit while still keeping a general selector hat would work for the other ones that don’t have digits in the end
Here is my selector : sap id=‘usr’ /><sap text=myVariable type=‘GuiLabel’ check:text=myVariable /
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 :