Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

test cases

Former Member
0 Kudos

how to write the test cases and in which transaction we need to write?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi..

Testing : During a SAP project, the core team members along with endusers test whether the postings done in SAP is resulting as per the requirements of the organisation. They will test whether the output documents such as purchase order, invoice document are printed in the required format and showing the correct data.

SAP has given atool named CATT for testing purposes.Type CATT test cases are used to test R/3 transactions automatically. The transactions usually run without user interaction. Tests are logged.

Type CATT test cases have two maintenance modes:

CATT Create test cases.

Extended CATT: Create test cases with complex check logic: all CATT functions are available.

Procedure

Create test cases. Use the recording functionality. You can create transaction chains that correspond with your business processes.

Define test rules in the test cases.

Create test case variants.

Manage the test cases in the Test Organizer.

Run the test cases and analyze the logs. You may have to retest test cases in which errors occurred.

============================================================

Below mentioned is the example of test case for procuremnt scenario.

INput values

ME21N Create PO Vendor (code) material (code) price - generates PO

ME29N Release PO (Po Number, rel code) - PO is released

MIGO GR against PO (Mvt 101, PO number, qty, delivery note )

MIRO IR against PO ( PO number, value )

Here actually against T-Code we specify what result we are expecting by inputing certain values in respective fields & record the output according to our business requirement

E.G.

You can definitely do manual testing & it is not important to do it through CATT. Doing testing through CATT may save your time, but doing manual testing will again be beneficial, as you will identify the problem area easily & you can look forward to mend the same accordingly.

As far as test script is concerned, it can be designed by individual as per requirement. Eg of most probable columns are as under:

Customer

Sales area

Sales Order Type

Sales order no

Sales Order Date

Material

Quantity

Sales Order Amount

Sales Order Currency

Pricing Procedure

Plant

Shipping Point

Delivery Type

Delivery No

Delivery date

PGI no

PGI Accounting Document No

Billing Type

Billing No

Billing Amount

Currency

& so on........

Functional test case is a set of conditions or variables under which a tester will determine if a certain business process works.

This test case is used for testing the system for certain business process. for example, if tester wants to test purchase order functionality so he will use functional test case which explains how to carry out the functional test.

hope this helps..

1 REPLY 1

Former Member
0 Kudos

hi..

Testing : During a SAP project, the core team members along with endusers test whether the postings done in SAP is resulting as per the requirements of the organisation. They will test whether the output documents such as purchase order, invoice document are printed in the required format and showing the correct data.

SAP has given atool named CATT for testing purposes.Type CATT test cases are used to test R/3 transactions automatically. The transactions usually run without user interaction. Tests are logged.

Type CATT test cases have two maintenance modes:

CATT Create test cases.

Extended CATT: Create test cases with complex check logic: all CATT functions are available.

Procedure

Create test cases. Use the recording functionality. You can create transaction chains that correspond with your business processes.

Define test rules in the test cases.

Create test case variants.

Manage the test cases in the Test Organizer.

Run the test cases and analyze the logs. You may have to retest test cases in which errors occurred.

============================================================

Below mentioned is the example of test case for procuremnt scenario.

INput values

ME21N Create PO Vendor (code) material (code) price - generates PO

ME29N Release PO (Po Number, rel code) - PO is released

MIGO GR against PO (Mvt 101, PO number, qty, delivery note )

MIRO IR against PO ( PO number, value )

Here actually against T-Code we specify what result we are expecting by inputing certain values in respective fields & record the output according to our business requirement

E.G.

You can definitely do manual testing & it is not important to do it through CATT. Doing testing through CATT may save your time, but doing manual testing will again be beneficial, as you will identify the problem area easily & you can look forward to mend the same accordingly.

As far as test script is concerned, it can be designed by individual as per requirement. Eg of most probable columns are as under:

Customer

Sales area

Sales Order Type

Sales order no

Sales Order Date

Material

Quantity

Sales Order Amount

Sales Order Currency

Pricing Procedure

Plant

Shipping Point

Delivery Type

Delivery No

Delivery date

PGI no

PGI Accounting Document No

Billing Type

Billing No

Billing Amount

Currency

& so on........

Functional test case is a set of conditions or variables under which a tester will determine if a certain business process works.

This test case is used for testing the system for certain business process. for example, if tester wants to test purchase order functionality so he will use functional test case which explains how to carry out the functional test.

hope this helps..