I’m trying to use the “Get Text” Activity to get a value from a text field in SAP. The selector for the field is as follows :
“wnd/usr/subSUB_MAIN:/COCKPIT/ SAPLDISPLAY46:0389 /subSUB_SALDO:/COCKPIT/SAPLDISPLAY46:0440/txt/COCKPIT/SDUMMY-SALDO”
However, the “SAPLDISPLAY46:xxxx” part of the selector seems to change randomly from time to time and the activity seems to crash when it cannot find the defined selector. there is no pattern to the change and i was wondering if there’s a possibility of using a wildcard there, if so what is the correct syntax to make this selector dynamic?
“wnd/usr/subSUB_MAIN:/COCKPIT/ SAPLDISPLAY46:0381 /subSUB_SALDO:/COCKPIT/SAPLDISPLAY46:0440/txt/COCKPIT/SDUMMY-SALDO”
“wnd/usr/subSUB_MAIN:/COCKPIT/ SAPLDISPLAY46:0385 /subSUB_SALDO:/COCKPIT/SAPLDISPLAY46:0440/txt/COCKPIT/SDUMMY-SALDO”
Any suggestions would be greatly appreciated, Thank you in Advance!