Applies to:
CBTA 30SP11
Issue:
When launching CBTA from SolMan Test Configuration we get a Unable to open SAP Gui on system. We also noticed a "The scripting is disabled on the specified system" error message in the CBTA logs. Full error text below:
2019-04-01 07:17:40,868 | ERROR | MainThread | GuiScriptingControl | The scripting is disabled on the specified system.
2019-04-01 07:17:40,880 | ERROR | MainThread | GuiScriptingControl | Unable to create a connection using the connection description "/H/smd1.corp.primealm.com/S/sapdp00"
2019-04-01 07:18:00,309 | ERROR | MainThread | SapGuiCtrl | Microsoft Windows [Version 10.0.17134.648]
(c) 2018 Microsoft Corporation. All rights reserved.
C:\Program Files (x86)\SAP\FrontEnd\SapGui>"C:\Program Files (x86)\SAP\FrontEnd\sapgui\niping.exe" -c -H smd1.corp.primealm.com -S sapdp00
Mon Apr 1 07:17:41 2019
connect to server o.k.
Mon Apr 1 07:18:00 2019
*** ERROR => bytes_written <> bytes_read (1000, 14) [nixxtst.cpp 1426]
C:\Program Files (x86)\SAP\FrontEnd\SapGui>
2019-04-01 07:18:00,316 | ERROR | MainThread | CheckPicker | Unable to open SAP Gui on system '/H/smd1.corp.primealm.com/S/sapdp00' and transaction SU01.
2019-04-01 07:18:00,325 | ERROR | MainThread | TestCreationWizardScenarioTO1 | Error occurred - TO1 PFA begin. Error is: System.Exception: Error while starting the recording
at CBTA.TestCreationWizard.TestCreationWizardScenarioTO1.Record()
2019-04-01 07:18:00,328 | ERROR | MainThread | TestCreationWizardRecordingStep | Unable to start the recording!
Solution:
In SAP System, run RZ11 and verify current value of sapgui/user_scripting is set to true. This should enable scripting.