Testing Siebel Business Applications > Design and Develop Tests > Test Case Authoring >

Functional Test Cases


Functional test cases test a common business operation or scenario. Table 1 shows some examples of functional test cases.

Table 1. Common Functional Test Cases
Test Phase
Example

Unit test

  • Test common control-level navigation through a view. Test any field validation or default logic.
  • Invoke methods on an applet.

Module test

  • Test common module-level user scenarios (for example, create an account and add an activity).
  • Verify correct interaction between two related Siebel components (for example, Workflow Process and Business Service).

Process test

  • Test proper support for a business process.

User interface

  • Verify that a view has all specified applets, and each applet has specified controls with correct type and layout.

Data entity

  • Verify that a data object or control has the specified data fields with correct data types.

A functional test case may verify common control navigation paths through a view. Functional test cases typically have two components, test paths and test data.

Test Case

A test case describes the actions and objects that you want to test. A case is presented as a list of steps and the expected behavior at the completion of a step. Figure 11 shows an example of a test case. Notice that in the Detailed Step column, there are no data values in the step. Instead you see a parameter name in brackets as a place holder. This parameterization approach is a common technique used with automation tools, and is helpful for creating reusable test cases.

Figure 11. Sample Test Case

Test Data

Frequently, you can use a single path to test many scenarios by simply changing the data that is used. For example, you can test the processing of both high-value and low-value opportunities by changing the opportunity data entered, or you can test the same path on two different language versions of the application. For this reason, it can be helpful to define the test path separately from the test data.

Testing Siebel Business Applications Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices.