cancel
Showing results for 
Search instead for 
Did you mean: 

SAP GUI Automation

Former Member
0 Kudos

Hello,

I'm trying to build an UI Automation tool based on Control ID, Type and Name.

For SAP Windows(done in Screen painter) seems that this information is not available, all what you can see is the Panel where the controls were added( using inspect.exe tool from Windows SDK to see the controls).

I noticed that for Search Help windows the control are visible, the information is there.

Do I need to set some flags on SAP side so that I can see the controls?

The one for enable GUI scripting was activated.

Thank you,

Dragos.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member194094
Active Participant
0 Kudos

Hi Dragos,

Turn on a session trace with component  "Automation & session manager" on (SAP GUI options => traces => Session traces) to retrieve the corresponding GUID & Control name used

Kind regards,

Eric

Former Member
0 Kudos

Thank you Eric for your reply, I will give a try and let you know.

Best regards,

Dragos.

former_member194094
Active Participant
0 Kudos

Hi Dragos,,

You are welcome. - Correction : I meant ""Automation & Control manager."

Kind regards,

Eric Van de Catsije

Former Member
0 Kudos

I was thinking is that one because I wasn't able to find it.

Ok, I have all set, in the SAP trace window I see that the control ID and Type is displayed, but Inspect tool from Windows still cannot see it, it is stuck at UIA_PaneControlType....

Do you know how this trace is done?

I guess is a trace inside the SAP for debug, or something like this;it is displaying debug info and not actually expose the controls to the other Automation tools to see the control information.

Please correct me if I'm wrong.

Thanks in advance,

Dragos.