Adding Test Steps to Test Scripts

The following procedure describes how to add test steps to test scripts. Make sure that the Siebel application is up and running before starting this task.

This task is a step in Process of Implementing Siebel Open UI Keyword Automation Testing.

To add test steps to test scripts

  1. Navigate to Sitemap, Release screen, then the Test Scripts view.

  2. Drill down on the name of the test script to which you want to add test steps.

  3. Click the plus (+) icon to create a new test step.

  4. In the form that appears, complete the fields with the values shown in the following table.

    Note the following:

    • The first test step (or test sequence number 1) must be the Launch keyword.

    • After you select a Keyword, the fields are rendered dynamically as required for the keyword.

      Field Name Value Description

      Test Step Sequence

      1

      Sequence number for the test step.

      Description

      Login

      Description of the Keyword

      Keyword

      Launch

      Enter this keyword to log into the application.

      Paste Attributes

      Not Applicable

      Not Applicable.

      Component Alias

      Can be any name

      ID associated with the test script.

      User Name

      CCHECNG

      Name of the user.

      Clear Browser

      Y

      Enter this value to clear the browser cache.

      Screenshot Required

      Not Applicable

      Select this option to capture the corresponding step performed in the test step.

  5. Save the record.

Note: The Keyword Reference lists all the keywords and provides you with information on how to use keywords with examples.
Note: IPH1;IPH2;IPH3 are read-only place holder notations for the Input field.
Note: All the references to user names, user ids or passwords in this Testing guide are meant for Testing and test automation purposes only. It is responsibility of the users to ensure that production or real user ids and passwords are not stored in Test Automation records or artifacts, such as files, database, etc.

Test Setps View

The Test Steps View is an applet similar to the Test Steps applet under Test Scripts.

This view exposes the Test steps at the first level. The records are in read-only mode and you cannot create any records here. You can only query and view the records.

The Test Steps View exposes the inputs and RNs given in the keyword as separate columns. Import/Export is supported for this applet.

In case the input for a keyword is changed, users can export records for that particular keyword, modify the input value and import it. Using the Test Sets view, you can also see how frequently each keyword is used – for example, by querying on the keyword, you get the number of records for that keyword.

To edit a Test Step, navigate to Sitemap, Release screen, then the Test Steps view.