Skip to Content
0
Former Member
May 11, 2018 at 09:23 AM

How To tackle the Changing Id in SAPGUI Scriptiing?

2138 Views Last edit May 14, 2018 at 08:18 AM 2 rev

Hi Experts,

I have been trying to automate one of the screen using the script. The problem I am facing is the id is getting changed Frequently. Please see the below example for reference.

Line = session.findById("wnd[0]/usr/subSUB0:SAPLMEGUI:0010/subSUB2:SAPLMEVIEWS:1100/subSUB2:SAPLMEVIEWS:1200/subSUB1:SAPLMEGUI:1211/tblSAPLMEGUITC_1211/txtMEPO1211-EBELP[1," & Row &"]").text

The bold part of the upper code is getting changed frequently. sometime it is 10 and sometime it is 16,19,15.

Can you please suggest any way to make it dynamic?