- Scenario 1: SAP GUI is running as Administrator, and user tries to run test using Leaptest Local Agent.
In this scenario, Leaptest 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 'Leaptest Local Agent' and 'SAP GUI', Leaptest Agent will not be able to access SAP API and hence test will fail.
Please note: In this specific case, Leaptest 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 Leaptest Studio as Administrator and tries to open SAP GUI using "Start Application" block.
In this scenario, Leaptest Studio will start SAP GUI as administrator, but Leaptest Agent is still running with non administrator access, due to this difference in access levels between 'Leaptest Local Agent' and 'SAP GUI', Leaptest 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 Leaptest Studios are started as administrator.
- In case both SAP GUI and Leaptest Studios started with non administrator privilege.
- Leaptest Studio is running as administrator and SAP GUI is not.
For any clarification, please contact our Priority Support.