You are on page 1of 4

Installing and Configuring CBTA

Use

Installing and configuring component-based test automation (CBTA) comprises the following
activities:

Activities
1. Define and configure the systems under test (SUT), and create users for them. For more
information, see Configuring CBTA in SAP Solution Manager.

2. To allow CBTA access to the SUTs, define RFC or HTTP destinations and specify the user
credentials. For more information, see Creating Test Profiles and Logon Data for SUTs.

3. Download the CBTA client and install it locally. For more information, see Installing and
Configuring the CBTA Client.

4. To ensure the installation and configuration of the CBTA client are correct, perform self-
checks. For more information, see Performing Self-Checks.

Configuring CBTA in SAP


Solution Manager
Use

Configure the systems under test (SUTs) and create users. To allow, for example, CBTA to record
and execute test scripts on SAP Solution Manager SUTs, maintain a business user that the CBTA
client can use.

Procedure
1. In SAP Solution Manager Configuration (transaction SOLMAN_SETUP), choose Test
Suite  SAP Solution Manager  Test Automation.

2. In SAP Solution Manager Configuration (transaction SOLMAN_SETUP), choose Test


Suite  SAP Solution Manager  Component-Based Test Automation.

3. Follow the guided procedure.

For more information, read the information in the help tray of the guided procedure steps.

Creating Test Profiles and


Logon Data for SUTs
Use

In the system data container (SDC), you define the access information for the systems under test
(SUT). These are the systems in which tests are recorded and executed. This requires RFC and/or
URL, user names, and passwords.

In the test composition environment (which is accessible when you edit a test configuration in
the Test Repository - Test Configurations application), the test profile associates a user and
password with a test script. It allows you to reuse combinations of destinations and users for
different system roles. When you change the system role, depending on the type of definition, the
credentials can be role-dependent or role-independent.

Basically, a test profile is a name that is associated to a user name and password. In the editor of
the test repository, a test profile is assigned to a test script.

In the SUT Management application you can define test profiles. They can be defined via logical
component group, site and system role. In case of component-based test configuration (CBTA),
following the UI technology recorded the test profiles are defined along with a technical RFC
destination to retrieve technical information from the SUT or simple URL.

Administrating Access Authorizations

See SUT Management security aspects.

Access Procedure

 From WorkCenter:

In the Solution Manager WorkCenter go to the Test Suite section and click on the


Tile Administration. Then in the Administration application of Test Suite select the tab Test
Automation Framework and click on SUT

 From Test Composition Environment:

Open a test in Test Composition Environment. In the toolbar at the top click on Goto button then
select SUT Management in the drop down list.

Using SUT Management


SUT Management uses System Data Container (SDC) to retrieve System Under Test (SUT)
information and enhance them with Test Profiles.

Import SDC

To be able to create a Test Profile for a SUT the SDC should be imported in SUT Management.
Once imported, the SDC is visible in the enhanced SDC hierarchy.

Note

The SDC name is the concatenation of “Z” with the solution technical name.
The SDC node contains the Logical Component Group (LCG) defined in the solution linked with the
SDC. Under a LCG node there are the Logical Components (LC) matching the solution branches
and sites. Under the LC node there are the system roles which point to the target system.

Hierarchy Structure

SDC (Solution)

 LCG1 (CRM)

 LC1 (Branch Production)

o System role1 (Production)

o System role2 (Quality)

o System role3 (Development)

 LC2 (Branch Maintenance – Site France)

 LC3 (Branch Maintenance – Site England)

 LCG2 (ERP)

Synchronize SDC

While changing the SDC structure by adding or removing LCG, LC or system role from the solution,
SUT Management should be synchronized so you can work with the up to date SDC structure.

You might also like