Académique Documents
Professionnel Documents
Culture Documents
The documentation may have changed since you downloaded the PDF. You can always find the latest information on SAP Help Portal.
Note
This PDF document contains the selected topic and its subtopics (max. 150) in the selected structure. Subtopics from other structures are not included.
2015 SAP SE or an SAP affiliate company. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose
without the express permission of SAP SE. The information contained herein may be changed without prior notice. Some software products marketed by SAP SE
and its distributors contain proprietary software components of other software vendors. National product specifications may vary. These materials are provided by
SAP SE and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be
liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express
warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. SAP and other
SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE in Germany and other
countries. Please see www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.
Table of content
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 1 of 15
Table of content
1 SAP Test Acceleration and Optimization
1.1 Changes and New Features in SAP Test Acceleration and Optimizati
1.2 Setting Up SAP Test Acceleration and Optimization
1.3 Connecting SAP Test Acceleration and Optimization to SAP Solutio
1.4 Connecting to a System Under Test and SAP Quality Center by HP
1.5 Downloading and Uploading a Test Component
1.6 Performing Self-Checks
1.7 Composing a Test
1.7.1 Creating an Executable Object
1.7.2 Creating a PFA Recording
1.7.3 Further Options for Test Creation
1.7.3.1 Creating or Updating a Test Manually
1.7.3.2 Viewing and Locating Objects with the Object Spy
1.7.3.3 Creating Screen Components by Inspection
1.7.3.4 Creating Screen Components with UI Scanner
1.7.4 Uploading the Test to SAP Quality Center by HP
1.8 Consolidating a Test
1.9 Executing a Test
1.9.1 Using the Run and Report Module in TAO
1.9.2 Using SAP Quality Center by HP
1.9.3 Displaying Execution Reports
1.10 Repairing Tests and Components with Change Analyzer
1.11 Displaying Components and PFA Recordings in Repository
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 2 of 15
Release
3.0 SP02
Based on
Documentation published
November 2013
SAP Test Acceleration and Optimization (TAO) generates automatic tests during regression testing of SAP solutions, quickly. SAP Test Acceleration and
Optimization creates tests and components from the screens of a transaction or the views of a CRM or Web Dynpro ABAP web application, and parameterizes
them. These tests are for a single transaction or web application and can be combined into a scenario test. SAP Test Acceleration and Optimization also
maintains components and tests by integration into the Business Process Change Analyzer in SAP Solution Manager.
Note
SAP TAO supports the following UI technologies:
SAP GUI
CRM Web UI
Web Dynpro ABAP, Web GUI (on SAP ABAP servers)
SAP Portal, Java Web Dynpro and Web (on SAP Java systems or third-party servers)
For detailed information on supported versions, see the compatibility matrix at http://service.sap.com/solutionmanager under
Test Management Compatibility Matrix SAP Sol Man, SAP QC, Adapter & SAP TAO .
Processes
Media Library
Integration
Landscape Component
Used for:
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 3 of 15
The graphic illustrates the entities that are involved in the SAP TAO process.
Features
SAP TAO with SAP Quality Center by HP has the following features:
Test creation
You can record and execute tests easily. You can use the default SAP TAO components to build tests. The business expert of a product has to spend less
time explaining the business process to quality professionals. For more information, see Composing a Test.
Test consolidation
You can consolidate a test into a component and use it in a scenario test, to speed up test execution. For more information, see Consolidating a Test.
Test execution
You can execute individual tests, or a list of consecutive tests. For more information, see Executing a Test.
Regeneration of affected components
You can regenerate any screen components whenever there is a change to the business process. Exception: You cannot regenerate components that were
generated with the UI scanner.
You can also create or update Technical Bills of Material (TBOMs) for associated SAP Solution Manager items. This is necessary to run Business Process
Change Analysis (BPCA) to detect tests and components that are impacted by an update of the tested business processes. For more information, see
Repairing Tests and Components with Change Analyzer.
Type of change
Description
More information
Enhanced
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 4 of 15
Enhanced
Enhanced
SAP
Check especially, if the default components are available already. For more information, see Downloading and Uploading a Test Component.
Prerequisites
You have the user credentials for the system under test and SAP Quality Center by HP.
Procedure
In the navigation area of SAP TAO, choose Connect .
Configuration
Files .
2. Go back to the System under Test screen area in SAP TAO.
3. Choose Change System List .
4. Enter the configuration file path.
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 5 of 15
Note
It is possible that you do not select a system when the full URL is defined in the executable object of the design module.
You can also edit an existing system definition, or export selected rows to a file and import them on another machine.
2. When authentication is necessary, set the With authentication indicator.
3. Enter the user credentials that must be used at the beginning of the recording and when you execute tests.
4. Save your entries.
Note
The server URL for the SAP Quality Center by HP depends on your landscape. Contact your system administrator if you do not know it. It often ends with
/qcbin, for example http://host:port/qcbin.
2. Choose Login .
3. Select the domain and project.
4. Choose Connect to Project .
SAP TAO automatically detects the version of SAP Quality Center by HP and SAP QuickTest Professional by HP in your system, after connecting to the
domain and project.
5. SAP TAO saves the connection settings and you do not have to enter them again. You can change this information if required.
Prerequisites
You have completed the following activities:
You have logged on to SAP TAO and connected to SAP Quality Center by HP.
For more information, see Connecting to a System Under Test and SAP Quality Center by HP.
You have set up SAP TAO
For more information, see Setting Up SAP Test Acceleration and Optimization.
Procedure
Uploading Default Components from SAP TAO
This activity is required to complete the setup of SAP TAO.
1. In the navigation area of the SAP TAO client, choose Download/Upload .
2. To upload default components to SAP Quality Center by HP, choose Install Default Components to SAP Quality Center .
3. To ensure that the upload is successful, check the designated folder in SAP Quality Center by HP. This folder is specified under Configuration of SAP
TAO under PFA/Path to default components .
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 6 of 15
Prerequisites
You have connected SAP TAO to an SAP-managed system and SAP Quality Center server.
Procedure
1.
2.
3.
4.
SAP
5. To restart one or more self-checks, on the Description tab in the context menu of the self-check, choose Start .
Procedure
1.
2.
3.
4.
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 7 of 15
4. Additionally, you can define parameters for this application as a set of name value pairs.
Note
The Description can be filled in automatically by the system depending on the data in the system under test. This value can be overwritten. The
Priority field is optional.
Only the transaction codes, CRM Web UI applications, and Web Dynpro ABAP applications defined in the system under test can be added to
the list of executable objects.
The system filters the list of available UI technologies according to the selected system under test that has previously been configured under
Connect .
If you have copied the full URL of the application, you can use the Get values from URL button to paste it, and get all fields filled in automatically.
Transaction, CRM Web Client Application and Web Dynpro ABAP types are available only when using the SAP ABAP Backend of the
connection module. For more information, see Connecting to a System Under Test and SAP Quality Center by HP.
ABAP Web URL : This is for BSP and Web GUI (ITS) applications. This type is available in the design module if you selected ABAP Server in the
connection module. Enter the path of your application (this is the last part of the URL of the application).
Web Application : this is for SAP Portal applications, Java Web Dynpro applications, and third-party web systems (like Internet). This type is
available under Design if you selected Web under Connect .
1. The URL type is automatically entered if a web system has been selected under Connect .
If no system has been selected, enter an absolute URL, which contains all information.
If a system has been selected, enter a relative URL, which does not include the left part (protocol, server, optional port, and sometimes
the beginning of the application part).
2. Enter the URL depending on its type and the corresponding server from the connection module. The generated URL is given below showing
what will be used for recording and test execution.
3. If authentication is enabled, specify a login schema, which defines how to login to tested application. This includes the selection by mouse
pointer of the UI controls that are used for the user name, the user password, and the validation button. Additional controls can be selected for
default actions.
You can create a login schema from here; a name must be associated to it. It is this name that must be entered in the Executable Object
Creation window.
Note
Login schema files are stored in the CBASE folder. So, they can be shared among all the testers of a team and can be read at test execution
time.
Description : This entry is optional.
Priority : This entry is optional.
3. Choose Save or Connect .
You can edit an existing executable object or delete it. The system offers also an export function to save the selected executable objects to a file that can be
imported later or on a different machine.
Note
It is possible that SAP Logon dialog boxes open for confirmation. To prevent SAP GUI scripting notification popping up during recording or running the
test, in the choose
( SAP Logon Settings ) in SAP Logon and go to
Notify when a script attaches to SAP GUI indicator.
Options
Scripting
. Deselect the
A new window opens, with the application in the system under test and the PFA control window. Now you can start recording.
5. Execute the business process.
SAP Test Acceleration and Optimization (TAO) records every user interaction. On each new interaction, a row is added to the list.You can edit this list.
To check the properties of a field during the user interaction, do the following:
1. In the PFA control window, choose Add Checkpoint .
2. In the application window, select the field of interest.
3. In the Check Picker screen area, enter the required values.
For more information about how to identify values, see Viewing Properties of Objects and Locating Objects.
To insert a screen capture during execution, and thus in the execution report, choose Insert screenshot .
To remove one recorded action, select it in the list and choose Remove .
To pause the recording, choose Pause . User interactions during the pause are not recorded. You can resume recording with the same button.
6. When the business scenario to be tested is finished, choose Stop the PFA in the PFA control window.
7. To view the structure and sequence of screens or views in the recording, choose Details .
The structure and sequence of screens are displayed in the Details for Analysis <name of analysis> window. You can also view more details, such as the
technical names of objects.
8. The PFA recording is saved in the SAP TAO repository of the connected SAP Solution Manager system.
Page 8 of 15
Procedure
1. Launch the session in the system under test.
Note
In the SAP GUI systems, only sessions are supported that run in systems in which SAP GUI scripting is enabled.
For information about release-specific limitations in SAP GUI systems, see the TAO Administrators Guide at http://service.sap.com/instguides
SAP Components
SAP Test Acceleration and Optimization .
2. In SAP TAO, choose Object Spy .
3. Depending on the technology type of your system under test, choose the corresponding tab.
4. Select the active session.
In an SAP GUI system, Object Spy displays the program name and screen number.
5. On the Spy tab, choose Spy .
6. To view the technical details of an object, click it in the session.
The properties of the object are displayed in a table in the Object Spy window.
For SAP GUI, you can do the following:
To search for expressions, for example the name of a component, in a text file, save the information about all objects of the current screen, as an
XML file, by choosing Dump All to File on the Advanced tab. Then, you can then use an external text editor to search.
To locate a SAP GUI object, enter the ID of the object on the Advanced tab and choose Locate . The object is highlighted on the SAP GUI.
More Information
For more information, see http://service.sap.com/swdc Release & Upgrade Info Installation & Upgrade Guides
Optimization <current release> Default Components SAP TAO <current release> .
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 9 of 15
Updating a particular screen component for which the represented screen has changed.
Within the Change Analyzer functionality, SAP TAO provides an automatic repair approach by using the inspection. For more information, see Repairing
Tests and Components with Change Analyzer.
Creating a screen component which you subsequently want to use to manually compose a test in SAP Quality Center by HP.
If the screens or views contain dynamically-generated objects and fail repeatedly during the Inspection process, you can use the default components to complete
a test. For more information, see Default Components SAP TAO <current release> at http://service.sap.com/instguides
SAP Test Acceleration and
Optimization <current release> .
1. Under Design , select the executable object.
On the Inspection tab, the system displays all screens or views for the selected transaction code, CRM Web UI, or Web Dynpro ABAP application.
If you use the Inspection process for a CRM Web UI application, you can define the nesting level of compounded components (1,2,3,4, or all).
Background: When creating a view component, a CRM Web UI application (CRM component) may use further components. For example, when creating a
business partner, an address component will subesequently be used. The nesting level indicates the number of hierarchically lower levels.
2. If a screen that is relevant to the transaction code, CRM Web UI, or Web Dynpro ABAP application is not in the list, choose New to add it.
3. Select the screens or views for the business process.
4. Choose Inspect .
5. To view the result of the Inspection process, choose View Report .
The report specifies the affected tests. These tests are only consolidated tests that use the newly updated or overwritten screen component and that might
then be obsolete due to a new result of the screen inspection.
Note
To use this report, you must have set the Overwrite Components indicator under
Configuration
Import/Export
If you have maintained a copy of components in the local path and upload components to SAP Quality Center by HP, during configuration, the system
displays OK in the field Inspection , Component Creation , and Uploaded .
Procedure
UI Scanner generates new screen components that can be added to an existing test. It collects information from one screen at a time and sends screen objects to
SAP Quality Center by HP, as a screen component.
You collect information from one screen at a time. The default UI Scanner allows you to create components for SAP GUI screens which are not supported by PFA
or the Inspection process.
1.
2.
3.
4.
5.
6.
7.
8.
SAP Components
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 10 of 15
Note
If during test execution, a screen component fails, try to select the Do not use screen components option in TAO under
However, it is recommended that you use screen components when possible.
Configuration
PFA
3. Optional: To review the recording in SAP Quality Center by HP, do the following:
1. Under Design , select the PFA recording and choose View Upload Report .
2. Choose Test Name and log on to SAP Quality Center by HP.
3. Choose the Test Script tab.
Example: Consolidated test consisting of one test with several components that are consolidated into one.
This is also convenient when you define a scenario test that contains several tests. For example, if tests test A and test B are related to a scenario, you
consolidate the tests into components and use them in the consolidated test scenario test. This makes test execution faster.
Example: Consolidated test consisting of two tests, each with several components that are consolidated into one.
Prerequisites
You have logged on to the system under test, SAP Quality Center by HP, and SAP Solution Manager, using SAP TAO.
For more information, see Connecting to a System under Test and SAP Quality Center by HP
You have saved the test in SAP Quality Center by HP.
Procedure
In the navigation area of SAP Test Acceleration and Optimization client, choose Consolidate .
Then, you can either consolidate a test directly, or consolidate a test by component.
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 11 of 15
Note
You can make a note of the tests to be consolidated, using the Invalidate function. A red traffic light besides the test indicates that the test
requires consolidation on the All Tests tab.
The number of test cases that require reconsolidation is indicated beside the folder on the Invalid Tests tab.
If you want to consolidate one test at a time, enable individual selection during configuration. Avoid this option because it leaves the test hierarchy
in an unpredictable status.
2. Choose Add to consolidation list .
The Identify dependent test function views the dependent tests before they are added to the consolidation list.
3. On the Consolidation List tab, select the tests to consolidate.
4. Choose Consolidate .
5. In the SAP TAO confirmation window, choose Yes .
6. To view the consolidation report, choose View Report .
7. To view more details of the component, choose View in the consolidation report.
Procedure
1. You have the following options:
Using the Run and Report Module in TAO
Using SAP Quality Center by HP
Displaying Execution Reports
Prerequisites
In TAO, you have entered the required data under Run on the Run & Report tab during configuration, for normal execution.
You have consolidated the test for faster execution
To create or update the TBOM during test execution, you have completed the following activities:
Ensuring authorization for SAP Solution Manager and the SAP system under test.
Ensuring trusted RFC connections in both directions between SAP Solution Manager and the managed system on which the TBOM creation traces
are created.
Enabling SAP GUI scripting to execute tests in SAP Quality Center by HP.
Activating TBOM functionality during configuration.
Ensuring that the system details in the data table match the details in a logical component of a mapped transaction in a process step.
If you enable the TBOM functionality, at each selection of a test in SAP Quality Center by HP, the associated information and the confirmation of the
TBOM existence is retrieved from the SAP Solution Manager backend.
Creation of an appropriate business blueprint structure in SAP Solution Manager.
Verifying that the executable item is configured correctly, if you are creating a TBOM for the first time.
Ensuring that the system under test is in the logical component of the associated item in the business process hierarchy.
If you encounter problems creating a TBOM for the first time, try to create a TBOM directly from the Business Blueprint in SAP Solution Manager
(transaction SOLAR01), to see if the problem is related to BPCA or to SAP TAO.
Procedure
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 12 of 15
1. Update Iterations
1.
2.
3.
4.
Procedure
Proceed as follows:
1. To display execution log files, choose Run and Report in SAP Test Acceleration and Optimization (TAO).
2. On the Tests tab, select the test.
A list of reports and the test execution status are displayed under Reports .
3. Double-click a report to analyze it.
A detailed report is displayed on a new tab. You can adjust the details (columns) to be displayed in a report, using the secondary mouse button. The
column Run as/in indicates whether the test was executed from the test itself or from the test set.
4. To view an HTML version of the report, choose HTML Report .
You can navigate to the log folder from the HTML report for further analysis.
Page 13 of 15
You use this procedure if a component has been affected by a change in the UI or business process, because of new SAP patches or custom development.
SAP Test Acceleration and Optimization (TAO) identifies and regenerates the screen components and consolidated components if necessary.
This procedure is supported only for SAP GUI, CRM Web Client, and Web Dynpro ABAP UI technologies.
The graphic illustrates how test objects are calculated after a system software update, using Business Process Change Analysis (BPCA).
After an update or upgrade of system software, you want to reduce the effort of new test setups and only want to run those tests that are really required, that is, for
business process steps where something has changed. Which tests can you reuse and where do you need to create new tests?
During test execution in TAO, under Run and Report , you can activate the technical bill of materials (TBOM) traces to list the objects that are used by the test.
You associate the TBOM to the test that contains the relevant business process step. Business Process Change Analysis (BPCA) compares the list of objects
that were affected by the update (coming from the set of transport requests) to the TBOMs. It identifies the following:
Screen components and consolidated components that require an update
Tests that need to be updated
Tests that need to be run
Prerequisites
You have an analysis result in the BPCA of the SAP Solution Manager system that is connected to SAP TAO.
For more information, see the Business Process Change Analyzer documentation on SAP Help Portal at
release> Test Management .
http://help.sap.com
You can only regenerate components that were created by the Inspection process or Process Flow Analysis. You cannot regenerate components that were
created with the UI scanner or externally.
Procedure
1. In the navigation area of SAP TAO, choose Change Analyzer .
2. Enter the BPCA Result ID .
You can search for it by project or solution. Only one result can be selected for further processing.
3. To view the components or tests that are affected by the change, choose Change Impact Analysis .
The system displays the affected components and tests on the Affected Components and Affected Tests tabs.
4. To view details of the component, choose Action Log... in the context menu.
5. If the impact on a component is Probably Corrupt because of changes to the UI, do the following:
1. On the Affected Components tab, select the components that need to be regenerated.
2. To regenerate the components, choose Repair .
Note
If the component was created with UI scanner, use the UI scanner to regenerate it. It will be updated if it has not been renamed after creation. After
regenerating, you can change its status to Checked , in the BPCA context menu.
3. On the Repair Tasks tab, choose Start Repair Task .
You can view the result of repaired components and subcomponents.
4. Choose Affected Tests tab.
5. Perform one of the following:
Add the affected test to the run list or test set or to an existing test set from SAP Quality Center by HP.
Create a new PFA recording to create a new test set in the Test Lab of SAP Quality Center by HP.
If you are creating a new test set, SAP TAO sets the name according to the settings that were made on the Change Analyzer tab , during
configuration.
6. If the impact on a component is Probably Impacted because of changes to a business process or transaction, do the following:
1. In SAP TAO, choose Open the Component in the SAP Quality Center User Interface .
2. Validate the affected components.
3. IN SAP TAO, under Change Analyzer , set the status of the component to Checked .
Page 14 of 15
Prerequisites
You have logged on to the system under test, SAP Quality Center by HP, and SAP Solution Manager.
For more information, see Connecting to a System under Test and SAP Quality Center by HP.
Procedure
Displaying Details of Components
1.
2.
3.
4.
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 15 of 15