cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

test cases

Former Member
0 Likes
1,716

Hi Gurus,

i have been assigned on BI(CRM module) project and the devoleper have sent me the spreadsheet which contains master data,transation data,process chains and reports objects and they have asked me to prepare test cases.Can any one advise what is testcase and how to prepare test cases and have u got any templates for testcases..?quick response will be much appriciated..

View Entire Topic
Former Member
0 Likes

Dear Kranthi,

The construction and execution of test cases verify and validate the captured in-scope requirements or the request for new system changes. Test cases contain test conditions, test data, and expected results to verify the design, functionality, and development of SAP advanced business application programming (ABAP) objects, security settings, segregation of duties, work flow, data archiving, business warehouse (BW) reports, and service-level agreements (SLAs) for system performance. A combination of test cases forms a test scenario, whereas a test script is the sequence of actions that executes a test case.

Test cases can be designed in spreadsheets, text editors, or within test management tools. Project deliverables such as business process procedures (BPPs), flow process diagrams, and functional and technical specifications are excellent sources of information for designing test cases. The most effective test cases are those that can be executed by nonfunctional SAP experts independently without the assistance of business analysts or SAP consultants. Templates and guidelines are hereby provided to build robust test cases.

Well-written test cases exhibit the following characteristics and attributes:

Can be reused for user acceptance testing (UAT) with minimal or no modifications.

Trace back to testable requirements or other existing documentation (BPPs, flow process diagrams, technical or functional specifications).

Include preconditions.

Have been peer reviewed and signed off.

Include SAP role(s) to be used for verifying the test conditions.

Include a narrative or description of the test conditions to be verified.

Contain valid test data (i.e., master data).

Have been rehearsed prior to approval.

Test cases that meet the aforementioned characteristics fulfill two major expectations in an SAP implementation: (1) reuse or repeatability for future testing cycles, and (2) provide comprehensive details for test case automation with automated test tools. Test cases to be reused for a future testing cycle will need evaluation and maintenance for possible modification. Projects that have version control and test management tools can maintain audit trails and history logs for the actions and modifications performed on test cases. A test case written for a single SAP transaction code can be combined with test cases for other transaction codes to form test cases for end-to-end test scenarios. Test scenarios vary in complexity since they may involve the staging and preparation of data, user exits, and execution through legacy systems.

Building a Test Case

In order to build a test case it is necessary to know what requirement or test conditions are fulfilled with the execution of the test case. The execution of a test case will need to trace to at least one requirement; otherwise, it calls into question the validity or merits of the test case. In turn, a requirement for which a test case cannot be constructed calls into question the validity of the requirement. After the underlying requirement(s) that trace to the execution of the test case are identified, it is necessary to construct and design the test case template. A test case template can be used for different testing efforts such as functional, development, performance, security, and regression testing.

SAP implementation methodologies such as IBM's Ascendant or SAP's ASAP Roadmap methodology offer test case templates that can be recycled "as-is" or modified for testing SAP. In the absence of a SAP methodology that offers test case template, it will be necessary for the test team to create test case templates in-house. At a minimum, the construction of a test case should include a data dictionary that clearly defines each field to be populated, the team or individual responsible for populating the fields on the test case template, and the attributes of the fields for the test case template.

Let me know if you have got any specific queries.

Regards,

Rakesh