cancel
Showing results for 
Search instead for 
Did you mean: 

'The control could not be found by id.'

Lai
Newcomer
0 Kudos

Hi all,

I've browsed all related topics in the community but could not find the answer.

Please kindly help with the question below, appreciate it !!!

 

I tried to click the hlighlited part in the left side of SAP window to trigger the table be displayed and export it as an excel file via the highlighted icon.

Lai_0-1707994314055.png

  
The scripts was recording via SAP itself, but it does not work while playback.

The error message shows "The control could not be found by id." by first click the left-hand side folder 

 

 

session.findById("wnd[0]").maximize()
session.findById("wnd[0]/usr/shell[1]/shellcont[0]/shell/shellcont[0]/shell").selectItem("000000000004","NAME")
session.findById("wnd[0]/usr/shell[1]/shellcont[0]/shell/shellcont[0]/shell").ensureVisibleHorizontalItem("000000000004","NAME")
session.findById("wnd[0]/usr/shell[1]/shellcont[0]/shell/shellcont[0]/shell").doubleClickItem("000000000004","NAME")

 

 

Error message:

Lai_2-1707994678898.png

 

 

Is there a way to solve the issue above?

Thank you very much for your time and support.

 

 

 

Accepted Solutions (0)

Answers (0)