loadrunnersap-gui

LoadRunner "Cannot start recording" for SAP GUI


I am attempting to create a LoadRunner vuser script of SAP GUI. However, I am consistently getting an error stating

the recording could not be started

Below are the steps I am following to attempt to create a recording. Any help would be greatly appreciated as I am new to SAP GUI and LoadRunner.

I am using

Steps:

  1. Select SAP GUI protocol and click 'Create'

  2. Set the program to record and working directory then click 'OK'

    • Application type: Win32 Applications
    • Program to record: SAP Logon
    • Program arguments:
    • Working directory: C:\Program Files (x86)\SAP\FrontEnd\SAPgui
    • Record into Action: Action

Result:

A window appears stating that the application is being launched for recording immediately followed by an error stating that the recording could not be started.

Does anyone one know what could potentially be causing this type of issue?

Is there any log file I can watch to get more specific information regarding the cause of this issue?

Any other troubleshooting steps I could take?


Solution

  • Thanks everyone for your tips. I managed to identify my particular problem. In the windows event log I noticed that a service named "Avecto Privilege Guard Service" was kicking off every time SapGuiRecord.exe would run.

    I stopped the service from the task manager and my recording problem is solved.

    Hopefully this might be a clue for anyone else who might encounter a similar problem in the future.