eCATT Concepts and Why...

Preview:

Citation preview

eCATT Concepts and Why eCATT

eCATT Prerequisites

eCATT procedures for a Business Transaction

Debugging in eCATT

Useful links to learn more about eCATT

eCATT Concepts and Why eCATT

© SAP 2008 / Page 5 By: Rohit Khan (I044433)

What is eCATT?

© SAP 2008 / Page 6 By: Rohit Khan (I044433)

Features of eCATT

© SAP 2008 / Page 7 By: Rohit Khan (I044433)

Why eCATT?

eCATT Prerequisites

© SAP 2008 / Page 9 By: Rohit Khan (I044433)

eCATT Prerequisites

© SAP 2008 / Page 10 By: Rohit Khan (I044433)

eCATT Prerequisites

© SAP 2008 / Page 11 By: Rohit Khan (I044433)

eCATT Prerequisites

© SAP 2008 / Page 12 By: Rohit Khan (I044433)

eCATT Prerequisites

© SAP 2008 / Page 13 By: Rohit Khan (I044433)

eCATT Prerequisites

© SAP 2008 / Page 14 By: Rohit Khan (I044433)

eCATT Prerequisites

eCATT Procedures for a Business Transaction

© SAP 2008 / Page 16 By: Rohit Khan (I044433)

Helpful eCATT definitions

© SAP 2008 / Page 17 By: Rohit Khan (I044433)

Let us understand System Data Container

© SAP 2008 / Page 18 By: Rohit Khan (I044433)

Let us understand Test Script

© SAP 2008 / Page 19 By: Rohit Khan (I044433)

Let us understand Test Data Container

© SAP 2008 / Page 20 By: Rohit Khan (I044433)

1. Creating System Data Container

ECATT_QPT_002_E

© SAP 2008 / Page 21 By: Rohit Khan (I044433)

Creating System Data Container

Start the T-Code – SECATT

On the initial screen, select the

System Data Container radio

button

Choose the Create object icon

from application tool bar. Here

the name of the System Data

Container is ‘ZSDC_RK’

© SAP 2008 / Page 22 By: Rohit Khan (I044433)

Creating System Data Container

© SAP 2008 / Page 23 By: Rohit Khan (I044433)

Creating System Data Container - Result

© SAP 2008 / Page 24 By: Rohit Khan (I044433)

2. Creating Test Script

© SAP 2008 / Page 25 By: Rohit Khan (I044433)

Creating Test Script

© SAP 2008 / Page 26 By: Rohit Khan (I044433)

Creating Test Script

© SAP 2008 / Page 27 By: Rohit Khan (I044433)

Creating Test Script

© SAP 2008 / Page 28 By: Rohit Khan (I044433)

Creating Test Script - Result

© SAP 2008 / Page 29 By: Rohit Khan (I044433)

3. Recording the Transaction

© SAP 2008 / Page 30 By: Rohit Khan (I044433)

Concepts – Before recording the transaction

© SAP 2008 / Page 31 By: Rohit Khan (I044433)

Flow Chart to Show the Decision Process

Does the application

run under

SAP GUI for Windows

Or JAVA?

If no driver

exists use

External tools

Use TCD

Use SAP GUI

Use FUN

Is the application a

Function Module or BAPI?

Does the application

Use controls?

Are the controls essential

Within the Transaction?

FUN, SAP

GUI, TCD

etc are all

Command

s or

Drivers

© SAP 2008 / Page 32 By: Rohit Khan (I044433)

Recording the Transaction

© SAP 2008 / Page 33 By: Rohit Khan (I044433)

Recording the Transaction

© SAP 2008 / Page 34 By: Rohit Khan (I044433)

Recording the Transaction

© SAP 2008 / Page 35 By: Rohit Khan (I044433)

Recording the Transaction

© SAP 2008 / Page 36 By: Rohit Khan (I044433)

Recording the Transaction

© SAP 2008 / Page 37 By: Rohit Khan (I044433)

Recording the Transaction

© SAP 2008 / Page 38 By: Rohit Khan (I044433)

Recording the Transaction - Result

© SAP 2008 / Page 39 By: Rohit Khan (I044433)

4. Execute the Test Script

© SAP 2008 / Page 40 By: Rohit Khan (I044433)

Execute the Test Script

© SAP 2008 / Page 41 By: Rohit Khan (I044433)

Execute the Test Script - Result

© SAP 2008 / Page 42 By: Rohit Khan (I044433)

A brief recap of what we did till now

© SAP 2008 / Page 43 By: Rohit Khan (I044433)

5. Test Data Container – Organizing Test Data

© SAP 2008 / Page 44 By: Rohit Khan (I044433)

Test Data Container – Making Script ready for

Data Input

© SAP 2008 / Page 45 By: Rohit Khan (I044433)

Test Data Container

© SAP 2008 / Page 46 By: Rohit Khan (I044433)

Test Data Container

© SAP 2008 / Page 47 By: Rohit Khan (I044433)

Test Data Container

© SAP 2008 / Page 48 By: Rohit Khan (I044433)

Test Data Container

© SAP 2008 / Page 49 By: Rohit Khan (I044433)

Test Data Container

© SAP 2008 / Page 50 By: Rohit Khan (I044433)

Test Data Container

© SAP 2008 / Page 51 By: Rohit Khan (I044433)

Test Data Container

© SAP 2008 / Page 52 By: Rohit Khan (I044433)

Test Data Container

© SAP 2008 / Page 53 By: Rohit Khan (I044433)

Test Data Container

© SAP 2008 / Page 54 By: Rohit Khan (I044433)

Test Data Container

© SAP 2008 / Page 55 By: Rohit Khan (I044433)

Test Data Container

© SAP 2008 / Page 56 By: Rohit Khan (I044433)

Test Data Container - Result

© SAP 2008 / Page 57 By: Rohit Khan (I044433)

6. Test Configuration

© SAP 2008 / Page 58 By: Rohit Khan (I044433)

Test Configuration

© SAP 2008 / Page 59 By: Rohit Khan (I044433)

Test Configuration

© SAP 2008 / Page 60 By: Rohit Khan (I044433)

Test Configuration

© SAP 2008 / Page 61 By: Rohit Khan (I044433)

Test Configuration

© SAP 2008 / Page 62 By: Rohit Khan (I044433)

Test Configuration

© SAP 2008 / Page 63 By: Rohit Khan (I044433)

Test Configuration

© SAP 2008 / Page 64 By: Rohit Khan (I044433)

Test Configuration

© SAP 2008 / Page 65 By: Rohit Khan (I044433)

Test Configuration

© SAP 2008 / Page 66 By: Rohit Khan (I044433)

Test Configuration - Result

Debugging in eCATT

© SAP 2008 / Page 68 By: Rohit Khan (I044433)

Debugging in eCATT

© SAP 2008 / Page 69 By: Rohit Khan (I044433)

Debugging in eCATT

© SAP 2008 / Page 70 By: Rohit Khan (I044433)

Debugging in eCATT

© SAP 2008 / Page 71 By: Rohit Khan (I044433)

Debugging in eCATT

© SAP 2008 / Page 72 By: Rohit Khan (I044433)

Debugging in eCATT

KG

© SAP 2008 / Page 73 By: Rohit Khan (I044433)

Debugging in eCATT

Useful links to learn more about eCATT

© SAP 2008 / Page 75 By: Rohit Khan (I044433)

Some good links to know about other eCATT

functionalities

Check the following blog, for learning how to prepare Test Scenario using TCD command

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3418

Check the following blog to learn more about eCATT logs and its use

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3489

A very good SDN presentation, for learning how to use eCATT for testing Web Dynpro ABAP

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/e3b19f11-0a01-0010-409d-b3951f754963

Check the following links to learn, how to migrate CATT to ECATT

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5763

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5791

© SAP 2008 / Page 76 By: Rohit Khan (I044433)

Thank you!

Recommended