This site requires JavaScript to be enabled


Dear Tricentis qTest users,

If you would like to submit a Tricentis qTest ticket,

please use this support request form.

Tosca Version
IncidentLookup using list
How can we help?

Solution Suggestions

Please enter your question to get suggestions.
Boolean Operators
OR or vertical bar symbol (|)
Finds a match if either the terms exist in a document (a union using sets).
Finds a match if both terms exist in a document (an intersection of sets).
NOT, minus (-), or exclamation point (!)
Excludes documents that contain the term after NOT (a difference of sets).
Asterisk (*)
The asterisk symbol performs a multi character wildcard search.
Percent sign (%)
The percent sign performs a single character wildcard search.
Quotation marks (")
Use quotation marks to search for an exact phrase with multiple terms.
For examples and more information look at our Knowledge Base: Advanced Search On The Support Portal

How to activate SAP GUI Scripting

To steer the SAP application SAP GUI Scripting must be activated. 


Scripting needs to be enabled both on the server and the corresponding client to be able to steer SAP applications with Tosca.


Activating scripting on the server

You have to activate scripting on the server to steer SAP applications via the SAP scripting interface.

Tricentis recommends enabling scripting only in Development and Quality systems in order to prevent the unintentional execution of automated tests in Production systems.

Scripting parameters

The parameter sapgui/user_scripting must be set to TRUE (Please note that this value is case-sensitive). The default value of the parameter is FALSE.

If one of the following parameters is available, it must have the value FALSE. The available parameters depend on the SAP version used.

  • sapgui/user_scripting_disable_recording

  • sapgui/user_scripting_force_notification

  • sapgui/user_scripting_per_user

  • sapgui/user_scripting_set_readonly

  • sapgui/nwbc_scripting


  1. Open transaction RZ11 in the system.

  2. Enter the parameter name sapgui/user_scripting and click on Display.

  3. If the parameter value is currently set to FALSE, click on the Change Value button in the toolbar.

  4. A window will open. Enter the new value TRUE and save your changes.

  5. Repeat the previous steps for all available parameters mentioned above.

Activating scripting on the client

You have to activate scripting on the client to steer SAP applications via the SAP scripting interface.

  1. Open the menu in the Logon window by clicking on the  icon and select the menu entry Options.

  2. Switch to the view Accessibility & Scripting->Scripting and enable the scripting function.

  3. In addition, disable the following options: Notify when a script attaches to SAP GUI and Notify when a script opens a connection.

Activating modal dialog boxes on the client

You have to activate modal dialog boxes on the client to steer SAP applications.

  1. Open the SAP GUI window and select the menu entry Help->Settings... on any screen.

  2. Switch to the F1 Help tab and select the option In Modal Dialog Box in the Display section.
  3. Switch to the F4 Help tab and select the option Dialog (modal) in the Display section.
  4. Confirm by clicking on the green check mark  button.

Please note, that this is a per-user setting. The settings have to be configured on each client you want to test your application with. The SAP system administrator can set up the system default as Dialog (modal).


The SAP system is now ready for test automation with Tosca.

0 0

Mohammed Owaise Ahmad

Created: 2018-04-25 12:15:08

ALTHOUGH these settings were established still tosca 11.1 does not support parametrization - INC0121376 (Refer)

Lev Kushnir

2018-04-25 11:48:16

Please check, if sapgui/nwbc_scripting parameter is set to FALSE

0 0

Mohammed Owaise Ahmad

Created: 2018-07-11 03:49:12

Yes Lev- this is already in False status

Lev Kushnir

2018-07-23 13:29:12

Please get in touch with our support, they will be able to help you! 

0 0

Nikhita Durugkar

Created: 2018-10-17 15:08:54

After all the steps mentioned above, i am facing an error "Exception has been thrown by the target of an invocation.
The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))" while i am trying to automate on a SAP login page.

Lev Kushnir

2018-10-19 11:20:44

Please get in touch with our support, they will be able to help you! 


Tosca is the perfect solution

Optimize - Manage - Automate

Download Trial