[go: up one dir, main page]

0% found this document useful (0 votes)
23 views16 pages

Test Management Setup Guide

Panaya Test Management

Uploaded by

wjh.venhuizen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views16 pages

Test Management Setup Guide

Panaya Test Management

Uploaded by

wjh.venhuizen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

Panaya Test Management

Setup Guide
Panaya Test Management March 2011

Table of Contents

Introduction................................................................................................. 1
Getting Support ........................................................................................... 1
Prerequisites ................................................................................................ 1
Installation .................................................................................................. 2
Next Steps ................................................................................................... 6
Appendix A–How to Install the ABAP Program ............................................... 7
Appendix B–Compression Utility Definition for Versions 4.6C, Enterprise 4.7 and
ECC5.0 ........................................................................................................ 8
Appendix C–Compression Utility Definition for Version ECC6.0 ...................... 10
Appendix D–Enable GUI Scripting in System Profile ...................................... 12
Appendix E–Enable GUI Scripting in SAPGUI ................................................ 13
Appendix F–Authorizations Required for Running the Test Scenario Recorder 14

Important Notice

This document is subject to the following conditions and restrictions:


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.

Copyright ©2011 Panaya Ltd. All rights reserved.


Panaya Test Management March 2011

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@panayainc.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.

Test Scenario Recorder Running Prerequisite

To upload the recorded scenario, you must be a user in the Panaya application.

Panaya Test Player

The following prerequisites are necessary for the Panaya Test Player:
1. Supported operating systems: Windows 2000, Windows XP, Windows Vista,
Windows 7
2. Internet Explorer version 6.0 and above
3. At least 100MB available in the Windows temp files directory
4. SAP GUI for Windows: release 6.20 and later releases

1
Panaya Test Management March 2011

Installation
The installation process consists of the following steps:

1. Install the recording program and transaction ZP_RECORD.


2. Enable compression (Windows only).
3. Enable GUI scripting.
4. Enable authorizations for users.
5. Install .NET framework.

1. Install the recording program and transaction ZP_RECORD

The Test Scenario Recorder should be transported to the SAP system in which
scenarios will be recorded—typically the QA system.

Download Panaya Test Scenario Recorder

1. Go to the Panaya Web site at https://my.panayainc.com.


2. Enter your login details.

3. Click on the System Setup tab.

2
Panaya Test Management March 2011

4. From the drop-down list, select the desired system.

5. Click on the Test Scenario Recorder link.

3
Panaya Test Management March 2011

6. The ABAP source code is displayed in the text box.


Choose the appropriate source code by clicking the SAP version radio button.

7. Copy the source code displayed on the screen to your SAP system and save it
under the new program name ZPANAYA_SCENARIO_RECORDER as an
executable program.
8. Create transaction ZP_RECORD for program
ZPANAYA_SCENARIO_RECORDER.

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 page 7 for detailed
instructions on how to create an executable program and transaction in an SAP
system.
9. Transport program ZPANAYA_SCENARIO_RECORDER and the transaction
ZP_RECORD to your QA system.
10. Set permission to use the transaction ZP_RECORD for all users who are to
run tests with the player.

4
Panaya Test Management March 2011

2. Enable compression (Windows only)

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:
1. Download and install gzip from
http://gnuwin32.sourceforge.net/packages/gzip.htm.
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.

3. Enable GUI scripting

Panaya Test Management requires SAP GUI scripting to be enabled. Enabling SAP GUI
scripting is done as follows:

1. Set the system profile parameter sapgui/user_scripting to TRUE. For


detailed information on enabling SAP GUI Scripting, see Appendix D–Enable
GUI Scripting in System Profile on page 12.
2. Enable GUI scripting in the menu in SAPGUI. For additional information on
enabling SAP GUI scripting, see Appendix E–Enable GUI Scripting in SAPGUI on
page 13.

5
Panaya Test Management March 2011

4. Enable authorizations for users

Each user running Panaya‘s Test Scenario Recorder must have a set of authorizations
within the SAP system as listed in Appendix F–Authorizations Required for Running the
Test Scenario Recorder on page 14.

5. Install .NET Framework

.NET Framework version 2.0 or above must be present on the local machine of each
user running the test player. We recommend using .NET Framework version 3.5. 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 3.5.

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@panayainc.com.

Panaya Support Team

6
Panaya Test Management March 2011

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:

To create a new development class

1. Start transaction SE80.


2. Select the object type development class/package from the drop-down menu.
3. Type the development class/package name ZPANAYA and press ―Enter‖.
4. Select ―Yes‖ to create a new development class/package.
5. Choose a transport layer and select ―Save‖.

To create an executable ABAP program

1. Start transaction SE38.


2. Type the program name in the ―Program‖ field and select ―Create‖.
3. Enter the program name as ―Title‖, set the ―Type‖ as ―Executable program‖,
and press ―Enter‖ or select ―Save‖.
4. When prompted for development class/package, choose ZPANAYA and press
―Save‖.
5. If prompted for a change request, enter a workbench change request or create
a new one.
6. Press the button above the editor or choose from the menu
UtilitiesMore UtilitiesUpload/DownloadUpload.
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
ProgramActivate.

To create a transaction

1. Start transaction SE93.


2. Type the transaction name in the ―Transaction code‖ field and select ―Create‖.
3. Enter description in the ―Short text‖ field.
4. From the Start object list, select the second option, ―Program and selection
screen (report transaction)‖ and press ―Enter‖ or select ―Continue‖.
5. Update the program name (ZPANAYA_SCENARIO_RECORDER) in the
―Program‖ field and press ―Enter‖ or select ―Save‖.
6. When prompted for development class/package, choose ZPANAYA and press
―Save‖.
7. If prompted for a change request, enter a workbench change request or create
a new one.

7
Panaya Test Management March 2011

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.
A. Install gzip on the SAP machines
1. Download and install gzip from
http://gnuwin32.sourceforge.net/packages/gzip.htm.
2. Locate the gzip.exe file installed in the previous step and copy it to the
Windows directory. Alternatively, it is possible to add the gzip directory to the
system path.

B. Define ZZ_COMPRESS operating system command


1. Start transaction SM69.
2. Click the icon.
3. Click the icon.
4. Enter values to the following fields:
Command name: ZZ_COMPRESS
Operating system command: gzip

5. Press the icon.


6. Press the icon.
7. Press the icon.

8
Panaya Test Management March 2011

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:

9
Panaya Test Management March 2011

Appendix C–Compression Utility Definition for Version


ECC6.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.
A. Install gzip on the SAP machines
1. Download and install gzip from
http://gnuwin32.sourceforge.net/packages/gzip.htm.
2. Locate the gzip.exe file installed in the previous step and copy it to the
Windows directory. Alternatively, it is possible to add the gzip directory to the
system path.

B. Define ZZ_COMPRESS operating system command


1. Start transaction SM49.
2. Click the icon.
3. Enter values to the following fields:
Command name: ZZ_COMPRESS
Operating system command: gzip

4. Press the icon.

5. Press the icon.

11
Panaya Test Management March 2011

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.

3. Press the icon.


4. Enter value to the following field:
Additional parameters: -V

5. Click .
6. Verify that you get the following output:

11
Panaya Test Management March 2011

Appendix D–Enable GUI Scripting in System Profile

Use transaction RZ10 to set parameter sapgui/user_scripting to TRUE. To


accomplish that, please follow the steps described below:
1. Start transaction RZ10.
2. Choose profile DEFAULT.
3. Select Extended maintenance.

4. Press .
5. Press .
6. Type Parameter name sapgui/user_scripting,
Type Parameter value TRUE.

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.
11. Save the profile by clicking .
12. Choose Yes when prompted to activate the profile.
13. Make changes effective by either:
a. Restarting the SAP application server, or
b. Use transaction RZ11 to set parameter sapgui/user_scripting to
TRUE while SAP is still running.

12
Panaya Test Management March 2011

Appendix E–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.
2. Click the menu and choose options.

3. Choose the Scripting tab page.

4. Check the Enable Scripting checkbox and click OK.

13
Panaya Test Management March 2011

Appendix F–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) – *
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_DEVELOP (ABAP Workbench)
a. ACTVT (Activity) – ‗03‘ (Display)
b. DEVCLASS (Development class for transport) – ‗$*, T*, Y*, Z*‘
c. OBJNAME (Object name) – *
d. OBJTYPE (Object type) – DEBUG, FUGR, PROG
e. P_GROUP (Authorization group ABAP/4 program) – *
6. 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) – *
7. Object S_GUI (Authorization for GUI activities)
a. ACTVT (Activity) – 61 (Export)
Note: This authorization is required only in versions 4.7 and higher.

14

You might also like