Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

              Build utility can be created in the same way as build test case.
              User can create utility by clicking Build Utility tab under Test Manager icon as shown below,
              Test Manager --> Build Utility

Image RemovedImage Added

Steps to include Build Utility in Test cases.

             First First user should create the repeated test steps as utility as shown above.

             Then Then user can add that utility as a step while creating the test case as shown below,

Image Removed

 If user want to include the utility in test case below steps should be followed,

    • Select command type as USER_DEFINED_UTILITY and then automatically all the build utilities created will be loaded.
    • Then user can select the utility that must be included in the testcase as shown above

Image Added

In the test step creation page, click on the User Utility step option.

Select the utility from the drop down.

Build Test Case

Link to Build Test case: <<Build Test Case (rdkcentral.com)>>

...

By clicking Add Step button, the User will get a drop-down as shown below.

Image RemovedImage Added

All the options that are present in the drop-down are explained below,

...

Step option will create a plain step as shown below.

Image RemovedImage Added

The fields are explained below,

...

The user should enter a detailed description of the test step.

3. Command TypeExpected Result:

Users should select the command type according to the way in which the command should be executed. The drop-down contains all the commands including SSH, WEBPA, SNMP, and all the PRE-DEFINED commands.enter the expected result or the outcome of the test step

4. Avail. Method:

User should select the available method. The drop down contains all the methods which the selected command type will be applicablemethod that has to be used in the test step. User can either select the method from the drop down or can search the method by clicking the search icon.

5. Input:

By clicking the settings icon in the Input filed, User will be navigated to Input Configuration page as shown below.

...

By clicking external-link icon, User will get Additional Values window as shown below.

Image RemovedImage Added

is Primary Step?  if selected as false, the step will not be considered as primary and step status will not be updated.

...

Add Polling: if option yes selected then we have two options for polling 1. duration, 2. Iteration

Custom Error MessageActions:  By using this option, user can add a custom failure message for a step failure which the details about what will happen in the particular step. The same will be displayed in result page after test execution.manage scripts page under steps details option.

Impact:  By using this option, user can add the details about what will be the end result for this particular step. The same will be displayed in manage scripts page under steps details option.

Custom Error Message: By using this option, user can add a custom failure message for a step failure which will be displayed in result page after test execution.

After entering all the additional values, need to click on Save button.

...

Conditional check point-
1. If user want to add a condition. For Eg (if, else if, else). They can select test type  and create steps.Image Removed

Image Added

2. Iterational check point
If user want to add looping. For (e.g., loop, exit loop). User can select either loop or exit loop.Image Removed

Image Added

3. import check point 

Import steps from check point as updated in import steps.

...

User should be able to add Test Script with Checkpoint 

Image RemovedImage Added

The fields are explained below,

...

  User should enter expected result of the step.

4. Impact:   User should enter the impact of the step. 5. Action:

    This field is explained above under Step.

...

Import steps is used to import steps from existing testcase or user can import test steps from other testcase. User can able to import steps from other testcase by entering the testcase and clone the testcase steps. User can will be able to edit the those imported test steps as well.

Image Added

Steps to import test stepsProvide steps to validate-

1.Launch url Build Test Case (xcal.tv)
2.Navigate to build testcase page
3. Provide Valid test case id, select test type 'Functional', select device model...etc. and click on Next button, it will navigate to next page-build testcase page
4. select Select Add step and select import steps option.
5. Select needs to select the check box to import testcase from this testcase/other testcase'selecting theselecting the' or 'This Testcase'.

User can import a test step from the same testcase by clicking selecting the Import Steps Button in Action.

Image Removed

This Testcase option.

Image Added

Click on Load Steps button and select the test steps which has to be imported.

Once after selecting the test steps, they will be cloned/imported into the test case  By providing the Step Number(case-sensitive) in the given textbox and click Import, given step will be cloned/imported.

Import test steps from other testcase-

User can import a test step from the other testcase by clicking selecting the Import Steps Button in Action Other Testcases option.

Click on Load Steps button and select the test steps which has to be imported.

Once after selecting the test steps, they By providing the Testcase ID in the given textbox and click Import, given testcase steps will be cloned/imported into the test case.

EDIT, CLONE& DELETE Test case.

...

By clicking the delete icon in Action column in Available test cases table, user can delete the test case. 

For Delete Steps :

The user can click the check box that is positioned above to the delete multiple steps at once in a test case. If the user wants to delete the all the steps inside Pre step, Step and Post step in order to delete the steps. Additionally, the user , then the user needs to click the check box that is positioned at the top of Pre step, Step and Post step. Additionally, the user can delete the individual step by selecting the respective test step by clicking its check box and clicking the Delete Steps button
1. Now The user can select the check box to delete multiple the steps at once.
Image Added
2. After selecting the steps by clicking the check box user needs to click the Delete Steps button to delete the steps
Image Added

User will be able to delete multiple steps in build utility page as well using the same feature.

Baseline Device Models
When user wants to add a new device model in an existing test case then the user Baseline Device Models
When user wants to add a new device model in an existing test case then the user can make use of Baseline Device Models feature. The user need to select two devices, one is the new device model that is not present in the existing test case and another one is the reference device model. The reference device model will act as an indicator in which the new device model will be added to the test steps where the reference model is present. This allows user to add the new device model to each step in the testcase.  

Below are the steps to add a new device model to an existing script, where "ABC" is the new device model and "XYZ" is the existing device model:

...


4. Select "Baseline" option. " --Device Model Name-- baselined successfully" message is shown.

Image Removed
5. Now user cancheck the "Run On Models" and "Applicable For" fields in the testcase. New device model should be added.baselined successfully" message is shown.
Image Added
5. Now user cancheck the "Run On Models" and "Applicable For" fields in the testcase. New device model should be added.


Download Steps

In the build test case page, the user can download the test steps from a particular test case. All the steps from the test case will be downloaded in an excel format.


Image Added

Upload Test Plan

 By uploading the Test plan(.xlsx) file, user can create the Check point/Plain steps in Step builder page. This feature is available for build utility page as well.
 Note: User should follow the specific template to create the test plan. For the reference, user can download the test plan template from the step builder page.

Image Added

Test Constants

Link For Test Constants :<<Test Constants Configuration (rdkcentral.com)>>

...

In build test case page, select the check boxes across the test cases that has to be exported. Once the necessary check boxes are selected, click on the Export button. A JSON file will be download downloaded which contains the test case JSON data. Similarly, we can export the utility in build utility page using the same steps.

...