Sunday, May 13, 2012

Integrating ECATT & HP QTP

Integrating ECATT & HP QTP

It is quite possible to integrate HP QTP i.e. Quick Test Professional and SAP ECATT tool. Also it is possible to call QTP from ECATT and vice-versa. To do all this, all one need is to have SAP addin for QTP. My First web log shows the minimum configuration needed for ECATT and QTP integration. From QTP or from ECATT one can create Quick Test tests, store tests and associated resource files in the ECATT database, edit tests, run tests, and review test results. One can also call and pass values from an ECATT test script to a Quick Test test. Further, one can work with tests stored in ECATT in standalone or integrated mode. The current mode is indicated in the Quick Test title bar.

 Standalone mode:

The test is stored in eCATT, but was opened from within the QuickTest interface. 

Integrated mode:

The test was opened for editing or running from within the eCATT interface. 

Configuring eCATT to Work with Quick Test

 To use the ECATT-Quick Test integration features available with the QuickTest Professional Add-in for SAP Solutions, we must have system administrator privileges and also should install the appropriate support package and configure the ECATT server to work with Quick Test.

This weblog describes how to:

 1. Configure ECATT to Work with QuickTest

2. Set up External Tool Parameters in the ECCUST_ET Table

3. Apply Necessary Roles or Profiles to ECATT-QuickTest Users

1. How To Configure eCATT to Work with QuickTest To enable eCATT-QuickTest integration, an SAP user with administrative privileges must: 1. Update the eCATT server with the appropriate support package. Contact SAP or your SAP representative to receive the necessary support package. 2. Enable the user scripting at server end

To perform this go to tcode:-  RZ11

Enter name of profile parameter as “sapgui/user_scripting”.Click display button.

If like above the current value is set to FALSE then convert it to TRUE.

Save the changes. NOTE : Write TRUE in CAPS. 3. Enabling user scripting at client end.

Check the box "enable scripting".If it is not checked.

You get this option during installation of SAP GUI as shown below:

2. How To Set External Tool Parameters in the ECCUST_ET Table
To enable ECATT to communicate with QTP, certain values must be set for the external tool parameters in the ECCUST_ET table. This procedure should be performed only once in the system. To Perform this go to TCODE:- SE11. Enter name ECCUST_ET in the table column and Press display button.

Create entry once and enter the values as shown below:

3. How To Apply Necessary Roles or Profiles to eCATT-Quick Test Users

To perform all of the operations as described one must have permission to:

1 run eCATT scripts

 2 edit eCATT scripts

 3 work with an external tool (QuickTest) in integrated mode

4 connect to eCATT from an external tool (QuickTest) in standalone mode

Each of these tasks requires special roles or profiles. Before one starts working with the QuickTest-eCATT integration, one should confirm with system administrator that the user name which is assigned to one has the necessary roles or profiles to perform the above tasks. For example, to work with QuickTest in standalone mode, one must be assigned the role S_ECET or the profile SAP_ECET in the eCATT system. After creating tests for SAP application, one can store and manage them in a test management tool. Depending on needs, one may choose to use HP Interactive’s Quality Center, or SAP eCATT.

Please refer first weblog which shows minimum configuration needed for QTP and ECATT integration.

Working with standalone mode

We can connect to an eCATT database from QuickTest. This is called standalone mode. When we work in standalone mode, we have access to all standard QuickTest features. This weblog describes About Working with eCATT in Standalone Mode which comprises of foll. features:

1. Connecting to and Disconnecting from eCATT

2. Saving Tests to eCATT in Standalone Mode

3. Opening Tests from an eCATT Database in Standalone Mode

4. Setting Options for Working with eCATT

5. Running a Test Stored in an eCATT Database in Standalone Mode

Step 2: Provide the server details of SAP on which the script needs to be created. Click Ok.

Step 3: Click record button in QTP.

Every Week Live Demo on SAP Manual Testing

    Mail To:

    Every Week Live Demo on SAP Manual Testing

    No comments:

    Post a Comment