Академический Документы
Профессиональный Документы
Культура Документы
SETUP GUIDE
April 2013
TABLE OF CONTENTS
Introduction ................................................................................................... 2
Getting Support ............................................................................................... 2
Prerequisites .................................................................................................. 2
Installation..................................................................................................... 3
Server Side Installation ...................................................................................... 4
Client Side Installation ...................................................................................... 8
Appendix A–How to Install the ABAP Program ........................................................... 9
Appendix B–Compression Utility Definition for Versions 4.6C, Enterprise 4.7 and ECC5.0 ..... 10
Appendix C–Compression Utility Definition for Version ECC6.0 ..................................... 12
Appendix D–Set Server Parameters ....................................................................... 14
Appendix E–Authorizations Required for Running the Test Scenario Recorder ................... 16
Server Setup Verification Process ........................................................................ 17
Appendix F–Enable GUI Scripting in SAPGUI ............................................................ 18
Appendix G– Set SAP Network Settings to High Speed connection .................................. 19
Appendix H– Allow/Deny SAP Pop-ups when Recording Scenarios .................................. 20
Important Notice
This functional description contains proprietary information belonging to Panaya Ltd. No part of its contents may be used
for any other purpose, disclosed to any person or firm or reproduced by any means, electronic or mechanical, without the
explicit prior written permission of Panaya Ltd. The text and graphics are for the purpose of illustration and reference only.
The specifications on which they are based are subject to change without notice. Information in this functional description
is subject to change without notice. Company names, brand products and service names are trademarks or registered
trademarks of their respective holders.
-1-
INTRODUCTION
Panaya Test Management helps customers dramatically reduce the time and energy required for SAP testing by
automating most of the activities.
To benefit from the automated creation and execution of tests, a quick installation procedure is necessary.
This guide will take you through the steps of preparing your SAP system to use Panaya Test Management.
GETTING SUPPORT
The installation process has been designed with simplicity and ease in mind. However, if you encounter any
problem, please contact Panaya support at support@panaya.com.
PREREQUISITES
PANAYA TEST SCENARIO RECORDER
Before starting the process, make sure that you have the following privilege: user with development
permission, allowing the creation and execution of programs.
To upload the recorded scenario, you must be a user in the Panaya application.
The following prerequisites are necessary for the Panaya Test Player:
1. Supported operating systems: Windows 2000, Windows XP, Windows Vista, Windows 7
2. Browser:
a. Internet Explorer version 6.0 and above
b. Firefox – (with the following browser plug-in installed:
Version 4 and under:
https://addons.mozilla.org/en-US/firefox/addon/ffclickonce/
Version 5:
https://addons.mozilla.org/en-US/firefox/addon/microsoft-net-framework-assist/)
-2-
INSTALLATION
The following steps should be performed on any SAP system you will be recording or running scenarios on.
The following steps should be performed by any SAP users who will be recording or running scenarios.
-3-
SERVER SIDE INSTALLATION
The Test Scenario Recorder should be transported to the SAP system in which scenarios will be recorded—
typically the QA system.
-4-
5. Click on the Test Scenario Recorder link.
6. The ABAP source code is displayed in the text box. Choose the appropriate source code by clicking the
SAP version radio button.
-5-
7. Copy the source code displayed on the screen to your SAP system and save it under the new program
name ZPANAYA_RECORD_SCENARIO as an executable program.
8. Create transaction ZP_RECORD for program ZPANAYA_RECORD_SCENARIO. The transaction type
should be “Program and selection screen (report transaction)”.
CAUTION: Panaya Test Player requires that a transaction with the exact hard-
coded name ZP_RECORD be present in the system. Be sure to create such a
transaction and keep the name unchanged.
See Appendix A – How to Install the ABAP program on p.9 for detailed instructions on how to create an
executable program and transaction in an SAP system.
The Scenario Generator supports transmitting the data to Panaya in compressed format to improve the
response times.
To enable the compression on the ABAP side, the compression utility needs to be defined as follows:
2. Locate the gzip.exe file from the previous step and copy it to the Windows directory or any other
directory in the system path.
3. In SAP, use transaction SM69 to define the operating system command called ZZ_COMPRESS, based on
the command gzip.
The compression utility definition is required only for SAP servers running Windows.
For more detailed information, see Appendix B – Compression Utility Definition for Versions 4.6C, Enterprise 4.7
and ECC5.0 and Appendix C – Compression Utility Definition for Version ECC6.0.
Please note that gzip definition typically requires SAP Basis permissions.
-6-
3. SET SERVER PARAMETERS
Panaya Test Management requires SAP GUI scripting to be enabled. Enabling SAP GUI scripting is done as
follows:
sapgui/user_scripting = TRUE
sapgui/user_scripting_disable_recording = FALSE
sapgui/user_scripting_set_readonly = FALSE
Panaya Test Management uses SAP trace files. The Trace file settings must be changed for Panaya Test
Management to work properly.
rdisp/TRACE_LOGGING = on, 99 m
For detailed information on setting the above server parameters, see Appendix D–Set Server Parameters on
page 14.
Each user running Panaya’s Test Scenario Recorder must have a set of authorizations within the SAP system as
listed in Appendix E on p.16.
-7-
CLIENT SIDE INSTALLATION
Panaya Test Management requires SAP GUI scripting to be enabled. Enabling SAP GUI scripting is done as
follows:
Enable GUI scripting in the menu in SAPGUI. For additional information on enabling SAP GUI scripting, see
Appendix F on p.18.
To assure completeness and accuracy of data recorded please make sure the Network Settings is set to High
Speed Connection for every client machine for every SAP system on which you record or run scenarios.
.NET Framework version 3.5 or above must be present on the local machine of each user running the test
player. We recommend using .NET Framework version 4.0. Most computers already have .NET Framework, so
normally no installation is needed.
In case of a problem running the test player installation, please install the .NET Framework from Microsoft .NET
Framework 4.0.
NEXT STEPS
After the Test Scenario Recorder is installed, you can start generating test scenarios for your business processes
by recording usage of interactive transactions.
These test scenarios can later be executed using Panaya Test Player.
For additional information on how to record scenarios on your SAP system, click here.
If you have any questions or problems, please contact our support team at support@panaya.com.
-8-
APPENDIX A–HOW TO INSTALL THE ABAP PROGRAM
To install the ABAP program, log in to your SAP development system and perform the following steps:
6. Press the button above the editor or choose from the menu
UtilitiesMore UtilitiesUpload/DownloadUpload.
7. Choose the appropriate text file that you saved and select “Open”.
8. Activate the program by pressing the button or choose from the menu ProgramActivate.
9. This program execution in the transactions SE38 or SA38 will generate a system settings validation
report (see Note in Appendix E)
To create a transaction
-9-
APPENDIX B–COMPRESSION UTILITY DEFINITION FOR VERSIONS 4.6C,
ENTERPRISE 4.7 AND ECC5.0
DEFINING GZIP IN SAP
SAP servers running UNIX or Linux have a built-in gzip facility. The activities described below are
necessary only for SAP servers running Windows.
The following steps must be performed on any application server by a basis administrator.
- 10 -
C. VERIFY ZZ_COMPRESS OPERATING SYSTEM COMMAND
1. Start transaction SM49 and verify that command ZZ_COMPRESS is displayed in the list.
2. Double-click ZZ_COMPRESS.
3. Enter value to the following field:
Additional parameters: -V
4. Click .
5. Verify that you get the following output:
- 11 -
APPENDIX C–COMPRESSION UTILITY DEFINITION FOR VERSION ECC6.0
SAP servers running UNIX or Linux have a built-in gzip facility. The activities described below are
necessary only for SAP servers running Windows.
The following steps must be performed on any application server by a basis administrator.
- 12 -
C. VERIFY ZZ_COMPRESS OPERATING SYSTEM COMMAND
1. Stay in transaction SM49 and verify that command ZZ_COMPRESS is displayed in the list.
2. Select ZZ_COMPRESS from the list.
5. Click .
6. Verify that you get the following output:
- 13 -
APPENDIX D–SET SERVER PARAMETERS
Use transaction RZ10 to set the following parameters:
sapgui/user_scripting = TRUE
sapgui/user_scripting_disable_recording = FALSE
sapgui/user_scripting_set_readonly = FALSE
rdisp/TRACE_LOGGING = on, 99 m
To accomplish that, please follow the steps described below for each parameter:
4. Press .
5. Press .
6. Type Parameter name <parameter_name>
Type Parameter value <parameter_value>
7. Press .
8. Choose Yes when prompted to save the changes in parameter.
9. Press .
10. Choose Yes when prompted to save the changes in profile.
- 14 -
11. Save the profile by clicking .
12. Choose Yes when prompted to activate the profile.
After setting all parameters, make changes effective by either:
- 15 -
APPENDIX E–AUTHORIZATIONS REQUIRED FOR RUNNING THE TEST
SCENARIO RECORDER
The minimum authorizations needed for running the Test Scenario Recorder are as follows:
1. Object S_TCODE
a. Value ZP_RECORD
2. Object S_ADMI_FCD (System Authorizations)
a. S_ADMI_FCD (System administration function) – ‘PADM’ (Process administration using trans.
SM04, SM50)
3. Object S_DATASET (Authorization for File Access)
a. ACTVT (Activity) – *
b. FILENAME (Physical file name) – *
c. PROGRAM (ABAP program name) – * or ZPANAYA_RECORD_SCENARIO
4. Object S_LOG_COM (Authorization to Execute Logical Operating System Commands)
a. COMMAND (Logical command name) – ‘ZZ_COMPRESS’
b. HOST (R/3 System, name of application) – *
c. OPSYSTEM (R/3 System, operating system of) – *
5. Object S_PROGRAM (ABAP: Program Run Checks)
a. P_ACTION (User action ABAP/4 program ) – BTCSUBMIT, SUBMIT, VARIANT
b. P_GROUP (Authorization group ABAP/4 program) – * or Authorization group assigned to
ZPANAYA_RECORD_SCENARIO program
6. Object S_GUI (Authorization for GUI activities)
a. ACTVT (Activity) – 61 (Export)
Note: This authorization is required only in versions 4.7 and higher.
7. Object S_C_FUNCT (C calls in ABAP programs)
a. ACTVT (Activity) – 16 (Execute)
b. CFUNCNAME (Name of CALLable C routine) – *
c. PROGRAM (Program Name with Search Help) – ZPANAYA_RECORD_SCENARIO
- 16 -
SERVER SETUP VERIFICATION PROCESS
Note: For all the system settings described above (Appendix A – E), after completing the relevant settings, you
can execute a validation process that checks all your settings are correct. To run this process, execute the
program created in Appendix A. (ZPANAYA_RECORD_SCENARIO) with transaction SE38 or SA38, and the
program will present a validation report showing the error settings or validation message that the settings are
correct.
Correct Message
Error Message
- 17 -
APPENDIX F–ENABLE GUI SCRIPTING IN SAPGUI
The process below must be repeated for every client machine on which the Automatic Test Execution is
running.
1. Start SAPGUI.
- 18 -
APPENDIX G– SET SAP NETWORK SETTINGS TO HIGH SPEED CONNECTION
The process below must be repeated for every client machine for every SAP system on which you record or run
scenarios.
6. Press OK.
- 19 -
APPENDIX H– ALLOW/DENY SAP POP-UPS WHEN RECORDING SCENARIOS
In SAP GUI version 7.20 and above, in order to prevent the “Allow/Deny” pop-ups from appearing during the
recording of test scenarios, perform the following configuration in your SAP Security options:
1. In the SAP log-on screen, press the button in the top left hand corner, and select “Options”
3. Change the Status to “Customized” with the Default Action set to “Allow” and click “Apply”
- 20 -