Hi I wonder how you guys can use variable in selector.
I been searching how to do it but I still can’t able to do it. Please help.
For example I have variable is needed to type in search.
It will give me 2-3 options to choose. However I want to choose excactly options got the same name as variable.
Follow is 3 options that I can extracted from screen by UI explorer.
Either by record or by choose click in activities. I can make Uipath to select 3 options about.
Because I want to use variable name Course to put into selection.
to put into selection but it seem give me some errors or doesn’t work some how.
The code <webctrl tag='STRONG' aaname=' "+Course+" ' />
change to <webctrl tag='STRONG' aaname=' qoute&Course&qoute ' />
2.If I insert Click in activities into the sequense. then paste the code into selector.
it give me error: Complier errors encountered processing expression.
Hi Arivu
I wonder if I can use wildcard in this code?
as I wanted to put aaname='"+Course.ToString()*+"' />
but I don’t know how to change the about code.
The original selector for field is below:
" <wnd app='saplogon.exe' cls='SAP_FRONTEND_SESSION' title='Create Purchase Order' />
<sap id='usr/subSUB0:SAPLMEGUI:0013/subSUB2:SAPLMEVIEWS:1100/subSUB2:SAPLMEVIEWS:1200/subSUB1:SAPLMEGUI:1211/tblSAPLMEGUITC_1211/ctxtMEPO1211-EMATN[4,0]' />"
I need to make the location of element dynamic by passing variable in place of [column,row]
The selector I am using is:
" <wnd app='saplogon.exe' cls='SAP_FRONTEND_SESSION' title='Create Purchase Order' />
<sap id='usr/subSUB0:SAPLMEGUI:0013/subSUB2:SAPLMEVIEWS:1100/subSUB2:SAPLMEVIEWS:1200/subSUB1:SAPLMEGUI:1211/tblSAPLMEGUITC_1211/ctxtMEPO1211-EMATN[4,“+rowIndex+”]' />"
Thanks a lot for your help, but it was not working in one activity but was working in another, so i created a new one and it was working fine afterwards.
I am having a different issue while connecting my robot to orchestrator on my workplace’s closed network.
Please let me know if you can help me on it. I’ll share the issuein detail afterwards.