Skip to Content
avatar image
Former Member

SAP GUI Automation

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jun 29, 2015 at 03:35 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Eric VanDeCatsije

      šŸ˜Š 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.