Enable CDRouter testcases in Automatics

1. Navigate to Manage scripts page by selecting 'Manage scripts' under Test Manager drop down.

2. Under Filter drop down scroll till 'Select Test Source' tab and select 'CDRouter' from the drop down and click on filter button.

3.User can see all the CDRouter testcases that are present.

image (1).png

4. Click on the Edit Script Details Icon corresponding to the testcase to be edited and check all the mandatory fields to entered/changed. Update the corresponding fields and click on next button.

6.Cdrouter instance will be mapped already. Map the device models that are connected to CDRouter for testing. Click on next and save it.

8.After Saving the testcase ,Click on Icon to enable the testcase.

image (1).png

9.Select the Reason and save it


Trigger CDRouter Testcases from Automatics


1.Now Navigate to 'Trigger Execution Manually' from the 'Manage Test trigger' of side bar.

2.Enter the build name and Select the Execution Environment Type, quick test if needed and test source as 'CDROUTER'. 

3.Select the corresponding Automation ID and click on Next button.

Screenshot (63).png

4. Specify the mac address of device connected to CDRouter and click on 'Trigger Job' button. You can see a pop-up that execution is triggered successfully.

Screenshot (65).png

Monitor CD Router Executions from Automatics

1. Navigate to the Manage Test Trigger page, Expand RDKB dropdown and selecting the Job Manager button user can able to see the triggered Job.

image2023-12-12_12-38-32.png

2.Job manger will appear like below where user can find the execution status ,logs etc.
image2023-12-12_12-50-16.png

3. By clicking this icon we can see the child Jobs name. 

Execution Results and Analysis

1.Click on this icon to view the execution results which shows Total, passes ,failed, NT,NR,NA step  count details as below.


2.Click on that image name of the testcase ,user can see complete step details.



3.To view full execution logs click on icon and click on the mac address shown there .It will  show CDrouter test results

3.The cd router execution logs will appear like this as shown below.


Save/Update Cdrouter Package Details in Automatics.

We can use /sendPackageDetailsToAutomatics API which is present in cdrouter service to send the package details from Cdrouter application to Automatics.


Refresh Auth token


We can use /refreshAuthToken API which is present in cdrouter service to refresh the auth token once after the value is updated under 'auth' variable using 'CDROUTERS' system configuration.


  • No labels