Load Runner Scripts of SAP GUI are not triggered in Generators in LR 2023 R1

we have created SAP GUI scripts and they work well in Vugen, but when working with Load generator , the scripts never work and ultimately getting error

Error :Failed to Stop. Reason: TimeOut

SAP GUI installed is good - version 7.70
Lr version : 2023 r1

Another Error is that the SAP GUI or instance is not invoked in the target machine ( load Generator) 



There are no errors and also no transactions are recorded , on the SAP Side , scripting is enabled, we tried to execute the script on the LR directly by installing a Vugen and it worked over there

  • Verified Answer

    +1  

    Hello Umakasturi,

    Please check if the LoadRunner agent on the LG is running as a process(not a service).

    Make sure that "Manual log in to this machine" is selected in "LoadRunner Agent Runtime settings"

    Thanks & Best Regards,

    Tina

    If you found this post useful, give it a “Like” or click on "Verify Answer" under the "More" button

  • 0

    Hi Umakasturi,

    we had also troubles running SAP-Scripts. We needed to start SAP-Logon with SAP-GUI, otherwise authentication didn't work well.

    I have a registry key for this, which I add on every LG.

    [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\SAP\SAPGUI]
    "StartSapLogon"=dword:00000001
    
    [HKEY_CURRENT_USER\Software\SAP\SAPGUI]
    "StartSapLogon"=dword:00000001

    [HKEY_CURRENT_USER\Software\SAP\SAPGUI Front\SAP Frontend Server\Security]
    "UserScripting"=dword:00000001
    "WarnOnAttach"=dword:00000000
    "WarnOnConnection"=dword:00000000