- Scenario 1: SAP GUI is running as Administrator, and user tries to run test using LEAPWORK Local Agent.
In this scenario, LEAPWORK Agent (which is a service) is running with non admin rights and SAP GUI is running as administrator, due to this difference in access levels between 'LEAPWORK Local Agent' and 'SAP GUI', LEAPWORK Agent will not be able to access SAP API and hence test will fail.
Please note: In this specific case, LEAPWORK Studio must be started as administrator to be able to match SAP GUI access level else it will not even execute the start block.
- Scenario 2: User is Local Administrator (in Windows 10, 8.1/8), user starts LEAPWORK Studio as Administrator and tries to open SAP GUI using "Start Application" block.
In this scenario, LEAPWORK Studio will start SAP GUI as administrator, but LEAPWORK Agent is still running with non administrator access, due to this difference in access levels between 'LEAPWORK Local Agent' and 'SAP GUI', LEAPWORK Agent will not be able to access SAP API and hence test will fail.
To be able to run SAP GUI test on remote agent please run SAP GUI without admin Access.
User will be able to run SAP GUI automation on Local Display(s) in Preview mode with below access levels:
- When both SAP GUI and LEAPWORK Studios are started as administrator.
- In case both SAP GUI and LEAPWORK Studios started with non administrator privilege.
- LEAPWORK Studio is running as administrator and SAP GUI is not.
For any clarification, please contact our Priority Support.