After you enable the SAP GUI client, enable the SAP server
for testing by setting up scripting temporarily from the SAP client.
About this task
The value that you set with this procedure is lost when the
server is restarted.
Note: If the server administrator edits the application
server profile of the SAP system to include sapgui/user_scripting
= TRUE, scripting is enabled by default when the server is
restarted.
Procedure
To enable the SAP server for enabling the scripting:
- Start the SAP Logon and log in to the SAP server.
- Start a RZ11 transaction.
- Type sapgui/user_scripting in the Maintain
Profile Parameters window.
- Click Display.
- Click Change value in the Display
Profile Parameter Attributes window.
- Type TRUE in the New value field.
- Save the settings and log off from the SAP GUI.
- Exit the SAP Logon program.
Tip: In
SAP you can change the network connection mode to any server. The
two connection modes are: High Speed Connection (LAN) and Low Speed
Connection (Reduced Network Traffic). Although, functional testing works in both the modes, a
script recorded using High Speed Connection plays back only in that
mode. This is also true for the Low Speed Connection mode. You must
play back your SAP script in the same network connection mode at which
you recorded. High Speed Connection mode provides the best results,
because it provides the most valid recognition properties.
Note: The
SAP server scripting setting is temporary. If the SAP server is restarted,
you must again enable the SAP server for testing.
What to do next
You can now create a functional test project and start recording
scripts to test the application.