Versions Compared

Key

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

...

For Build test case the Test case Id should be unique and different, and Test Description should be correct way based on the Testcase ID. In Environment Type Field Select appropriate environment (for Eg. select RDKV for Video devices, RDKB for broadband devices and RDKC for Cameras and EXTENDER for Extender devices). Test type and Test Priority should be in the Unique waycan be FUNCTIONAL OR QUICK. Select the appropriate test priority. Run on models needs to be mentioned like what are all the devices that are applicable for the Test case ID. For each test case idID, we need to mention the models that needs to executeis applicable for the test case. User can verify once whether all the details are valid and then click on the Next button.

...

we need to add three steps ;

  • Add Pre-Step
  • Step
  • Add Post-Step

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

...

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

  • Step

Step option will create a plain step as shown below.

The fields are explained below,

1. Step No.: 

Step number will be

...

a non-editable

...

text box.

2. Description

...

:

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

...

3. Command Type:

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.

4. Avail. Method:

User should select the available method. The drop down contains all the methods which the selected command type will be applicable.

5. Input:

By clicking the settings icon in the Input filed, User will be navigated

...

to Input Configuration page as shown below.

For command user needs to add the command inside

* Command: Command that should be executed must be added in the command field.

* Validation Type: User can select how the output of the command executed should be validated.

...

All the available validation types are explained above (in Test Step Generator) 

* Applicable Models: User can select all the device models to which the command will be applicable.

...

* Expected Output: The expected output of the command should be given in this field.

* Execute On Connected Client: If the selected execution mode of the test case is Connected Client, then user can select Device-Config and Clients. 

After entering all the details of the input command,

...

need to

...

click on the Add buttonUser can verify once whether all the details are valid and then click on the 

...

Submit button. Now the command

...

/test step detail is added

...

. If user wants to edit, user can click on Image Modified

...

edit button. If user want to change the declaration part, click on Image Modified delete button. Once all the details are added click on the submit button.

6. Step Output:

The step output of the step should be given in this field.

7. Action:

* Additional Values: 

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

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

Force Update Parent Status: By setting this value to 'Yes' user can update the status of the current step to the parent step without considering the previous step's status.

Disable Step: will be used for test case developer to disable the step. So, that specific step will not get executed during the execution.

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

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.

* Child Steps: By clicking the plus icon, User can create child steps.

* Delete Step: By clicking the delete icon, User can delete the particular test step

  • Iterational

Iterational option will create a iteration step as shown below.

The fields are explained below,

1. Step No.: 

Step number will be non

...

editable text box.

2. Description:

User should enter the detailed description about the test step.

...

3. Test Type

...

:

User should select the test type. The drop down contains LOOP and EXIT-LOOP.

...

4. Input:

By clicking the settings icon in the Action filed,

...

User will be

...

navigated to

...

 Add Iteration or Duration page as shown below.

We need to provide either Iteration Count or Duration in Seconds and click -> Save button. Now the Command / Test step added successfully.

  • Conditional

Conditional option will create a condition step as shown below.

same as Iterational . In Test Type it contains

The fields are explained below,

1. Step No.: 

Step number will be non editable text box.

2. Description:

User should enter the detailed description about the test step.

3. Test Type:

User should select the test type. The drop down contains IF, ELSE-IF and ELSE.

4. Input:

By clicking the settings icon in the Action filed,

...

User will be navigated to Add Condition page as shown below.

* Operator: User should select the Operator type. The drop

...

down

...

contains AND and OR

...

 options.

...

* Invert Result

...

: User should select the NOT check box to invert condition.

...

* Actual Value: Actual Value of the condition should be given in this field.

* Validation Type: User can select how the output of the command executed should be validated. 

* Expected Value: Expected value of the condition should be given in this filed.

After entering all the details of the input condition,

...

need to click on the plus icon.

...

 User can verify once whether all the details are valid and

...

then click on the Save button.

...

 Now the command/test step

...

detail is added

...

.  

...

  • Import Steps

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

Image Added

  By providing

...

the Step Number(case-sensitive) in the given textbox

...

and click Import, given step will be cloned/imported.

...

Image Removed

EDIT,CLONE& DELETE Test case

...