Hello, I have a question about inserting a variable into selecter.
Here’s the original syntax with static values:
I need to use a variable (e.g. Row) instead of the static value 5. I tried to search all relevant posts here, but none of the suggested syntaxes worked. We tried several versions including:
<sap id = 'usr / lbl [43, ’ +Row+ ‘]’ />
<sap id = ‘usr / lbl [43, ‘" +Row+ "’]’ />
and several other variations but we get a syntax error most of the times and cannot continue. Often the problem seems to be that it does not recognice the variable as a variable.
In the case when we managed to get it to recognized it as a variable the robot ended with an error:
Cannot find the UI element corresponding to this selector: <wnd app='saplogon.exe' cls='SAP_FRONTEND_SESSION' title='Sledování vzájemných zápočtů (verze 2.11 build 18.10.2007)' /><sap id='usr/lbl[43,"+ Row+"]' />
What are we doing wrong? How should the syntax look like?