CA611 Testing with ecatt. COURSE OUTLINE Course Version: 19 Course Duration:
SAP Copyrights and Trademarks 2018 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 or an SAP affiliate company. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other countries. Please see http:// global12.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices. 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 or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP SE or its affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or SAP affiliate company 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. In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation, and SAP SE s or its affiliated companies strategy and possible future developments, products, and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forwardlooking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.
Typographic Conventions American English is the standard used in this handbook. The following typographic conventions are also used. This information is displayed in the instructor s presentation Demonstration Procedure Warning or Caution Hint Related or Additional Information Facilitated Discussion User interface control Example text Window title Example text Copyright. All rights reserved. iii
iv Copyright. All rights reserved.
Contents vii Course Overview 1 Unit 1: General Information 1 Lesson: General Information 3 Unit 2: System Preparations 3 Lesson: Preparing the Systems 5 Unit 3: ecatt Scripts and the Script Editor 5 Lesson: Describing ecatt Scripts and the Script Editor 7 Unit 4: Testing Non-UI Applications 7 Lesson: Testing Non-UI Applications 9 Unit 5: Test Data Containers and Test Configurations 9 Lesson: Desribing Test Data Containers and Test Configuration 11 Unit 6: Testing UI Applications with TCD 11 Lesson: Testing UI Applications with TCD 13 Unit 7: Testing UI Applications with SAP GUI 13 Lesson: Testing UI Applications with SAP GUI 15 Unit 8: System Data Containers 15 Lesson: Modeling the System Landscape 17 Unit 9: Testing Web Dynpro Apps 17 Lesson: Testing Web Dynpro Apps 19 Unit 10: Testing with External Tools 19 Lesson: Testing with External Tools 21 Unit 11: Test Management with the Test Workbench 21 Lesson: Test Management with the Test Workbench 23 Unit 12: Other ecatt Objects 23 Lesson: Other ecatt Objects Copyright. All rights reserved. v
25 Unit 13: Tools and Functions in ecatt 25 Lesson: Tools and Functions in ecatt 27 Unit 14: Testing OData Services 27 Lesson: Testing OData Services vi Copyright. All rights reserved.
Course Overview TARGET AUDIENCE This course is intended for the following audiences: Copyright. All rights reserved. vii
viii Copyright. All rights reserved.
UNIT 1 General Information Lesson 1: General Information Lesson Objectives After completing this lesson, you will be able to: Decide what you need to test in an SAP environment Explain the advantages and disadvantages of manual and automatic tests List test cases that can be covered with ecatt Choose one of the available test tools List the different objects that can be used in ecatt Explain how a test case is structured in ecatt Set up a system for using ecatt Copyright. All rights reserved. 1
Unit 1: General Information 2 Copyright. All rights reserved.
UNIT 2 System Preparations Lesson 1: Preparing the Systems Lesson Objectives After completing this lesson, you will be able to: Prepare the system Copyright. All rights reserved. 3
Unit 2: System Preparations 4 Copyright. All rights reserved.
UNIT 3 ecatt Scripts and the Script Editor Lesson 1: Describing ecatt Scripts and the Script Editor Lesson Objectives After completing this lesson, you will be able to: Describe the structure of an ecatt script Use the key functions of the ecatt script editor Explain the basic features of the ecatt script language Work with parameters Explain why it is useful to modularize a test case Describe how to modularize a test case at test script level Copyright. All rights reserved. 5
Unit 3: ecatt Scripts and the Script Editor 6 Copyright. All rights reserved.
UNIT 4 Testing Non-UI Applications Lesson 1: Testing Non-UI Applications Lesson Objectives After completing this lesson, you will be able to: Test non-ui applications Copyright. All rights reserved. 7
Unit 4: Testing Non-UI Applications 8 Copyright. All rights reserved.
UNIT 5 Test Data Containers and Test Configurations Lesson 1: Desribing Test Data Containers and Test Configuration Lesson Objectives After completing this lesson, you will be able to: Describe a test configuration and explain how it differs from a test script Create a test configuration for a test script Use test data from local variants or from a file in your test configuration Create reusable test data containers and include them in a test configuration Start a test configuration Copyright. All rights reserved. 9
Unit 5: Test Data Containers and Test Configurations 10 Copyright. All rights reserved.
UNIT 6 Testing UI Applications with TCD Lesson 1: Testing UI Applications with TCD Lesson Objectives After completing this lesson, you will be able to: Describe how to capture transactions with the TCD command Explain the options for setting input fields, reading output fields, and performing field checks Explain how to export messages from applications and use them further Link the success or failure of a script to the message behavior Check the contents of database tables Check Customizing settings Copyright. All rights reserved. 11
Unit 6: Testing UI Applications with TCD 12 Copyright. All rights reserved.
UNIT 7 Testing UI Applications with SAP GUI Lesson 1: Testing UI Applications with SAP GUI Lesson Objectives After completing this lesson, you will be able to: Name the transaction types for which the TCD command is not suitable Describe how GUI scripting works Use the SAPGUI command to record a transaction Explain the options for setting input fields, reading output fields, and performing field checks Check the contents of database tables Copyright. All rights reserved. 13
Unit 7: Testing UI Applications with SAP GUI 14 Copyright. All rights reserved.
UNIT 8 System Data Containers Lesson 1: Modeling the System Landscape Lesson Objectives After completing this lesson, you will be able to: Model the system landscape Copyright. All rights reserved. 15
Unit 8: System Data Containers 16 Copyright. All rights reserved.
UNIT 9 Testing Web Dynpro Apps Lesson 1: Testing Web Dynpro Apps Lesson Objectives After completing this lesson, you will be able to: Describe how to communicate with a Web Dynpro application Record a Web Dynpro application Parameterize the fields of a Web Dynpro application Describe how to receive and check fields from a Web Dynpro application Copyright. All rights reserved. 17
Unit 9: Testing Web Dynpro Apps 18 Copyright. All rights reserved.
UNIT 10 Testing with External Tools Lesson 1: Testing with External Tools Lesson Objectives After completing this lesson, you will be able to: Explain when you need an external tool Give reasons why SAP decided to work with external tools List the advantages of integrating external tools Copyright. All rights reserved. 19
Unit 10: Testing with External Tools 20 Copyright. All rights reserved.
UNIT 11 Test Management with the Test Workbench Lesson 1: Test Management with the Test Workbench Lesson Objectives After completing this lesson, you will be able to: Test Management with the Test Workbench Copyright. All rights reserved. 21
Unit 11: Test Management with the Test Workbench 22 Copyright. All rights reserved.
UNIT 12 Other ecatt Objects Lesson 1: Other ecatt Objects Lesson Objectives After completing this lesson, you will be able to: Explore other ecatt objects Copyright. All rights reserved. 23
Unit 12: Other ecatt Objects 24 Copyright. All rights reserved.
UNIT 13 Tools and Functions in ecatt Lesson 1: Tools and Functions in ecatt Lesson Objectives After completing this lesson, you will be able to: Change ecatt object attributes Copyright. All rights reserved. 25
Unit 13: Tools and Functions in ecatt 26 Copyright. All rights reserved.
UNIT 14 Testing OData Services Lesson 1: Testing OData Services Lesson Objectives After completing this lesson, you will be able to: Test OData services Copyright. All rights reserved. 27