Skip to main content
Question

Hi Everyone, can anyone please help me in writing the field path for the set text command in the SAP GUI package.? I have the recorded script but unable to insert the correct path in the commands.

  • May 6, 2022
  • 1 reply
  • 450 views

Forum|alt.badge.img+6

Please find the script here :

session.findById("wnd[0]/usr/cntlCLFRM_CONTAINER/shellcont/shell/shellcont[1]/shell/shellcont[0]/shell/shellcont[0]/shell/shellcont/shell").modifyCell 2,"VALUE2","AU11"

 

I have tried giving different paths and getting incorrect filed path errors .so , I am not sure what exactly to be given in the below field path :

image 

 

So can anyone help me here, please?

@Tamil Arasu​ ,@Ashwin A.K​ 

 

 

Thanks in advance

Mahesh

1 reply

Ashwin A.K
Forum|alt.badge.img+8
  • Navigator | Tier 3
  • 2445 replies
  • May 6, 2022

Hi @Mahesh Duggirala​ ,

 

The path is not an absolute path to the element as it references a function modifyCell.

 

You can either use VBScript to run this segment(after recording it from SAP itself in scripting and playback) or you can use the Recorder Action to interact with the element.

 

Kind Regards,

Ashwin A.K


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings