Test cases - AWS Mainframe Modernization

Test cases

A test case is an atomic unit that represents a certain action in your workflow. For additional information on various concepts, see AWS Mainframe Modernization Application Testing concepts.

Important

You need to create at least one test environment configurations first before running test cases. To create your first environment configuration, see Test environment configurations.

Create a Batch test case

Batch test cases allow you to submit a batch to read, process, and modify or produce new business data (database and/or data set records).

To create a Batch test case
  1. Open the AWS Mainframe Modernization Application Testing console at https://console.aws.amazon.com/apptest/.

  2. In the AWS Region selector, choose the Region where Application Testing is available.

    Note

    Application Testing is currently available in US East (N. Virginia), Asia Pacific (Sydney), Europe (Frankfurt), and South America (São Paulo) regions only.

  3. In the left navigation pane, select Test cases.

  4. In Define test case, enter your test case name and optional description. Choose Batch under Test case type.

  5. Choose Next.

  6. (Optional) On Specify batch JCL parameters page, add the JCL (job control language) name and your job parameters (names and values).

  7. Choose Next.

  8. On Data source to capture page, you can choose either Relational database changes, Data sets, or both.

    • Choose Relational database changes when you want the test case to modify database records.

    • Choose Data sets when you want the test case to modify data sets. Under Output data sets, add the name of your output data set.

      Note

      You can add multiple data sets.

  9. Choose Next.

  10. On Review and create page, review all information and choose Create test case.

Create an Online 3270 screen test case

Online 3270 screen test cases allow you to run interactive screen dialogs (3270) to read, modify, or produce new business data (database and/or data set records).

To create an Online 3270 screen test case
  1. Open the AWS Mainframe Modernization Application Testing console at https://console.aws.amazon.com/apptest/.

  2. In the AWS Region selector, choose the Region where Application Testing is available.

    Note

    Application Testing is currently available in US East (N. Virginia), Asia Pacific (Sydney), Europe (Frankfurt), and South America (São Paulo) regions only.

  3. In the left navigation pane, select Test cases.

  4. In Define test case, enter your test case name and optional description. Choose Online 3270 screens under Test case type.

  5. Choose Next.

    Note

    Online 3270 screen does not need you to Specify JCL parameters.

  6. Choose Next.

  7. On Data source to capture page, the default selection is Online 3270 screens. Additionally, you can choose Relational database changes and Data sets.

    • Choose Relational database changes when you want the test case to modify database records.

    • Choose Data sets when you want the test case to modify data sets. Under Output data sets, add the name of your output data set.

      Note

      You can add multiple data sets.

  8. Choose Next.

  9. On Review and create page, review all information and choose Create test case.