RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
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.
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.
9.Select the Reason and save it
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.
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.
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.
2.Job manger will appear like below where user can find the execution status ,logs etc.
3. By clicking this icon we can see the child Jobs name.
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.
In CDRouter service, there is a provision to configure the cron job for sending the CDrouter package details to Automatics. This job will be triggered automatically, once the CDRouter service is deployed. By default it is configured in such a way that from Monday to Friday at 10:30AM, package details from CDRouter Instance will be sent to Automatics via CDRouter service. This configuration is present in application.properties file of CDRouter service. The configuration name of this cron job is cron.package.details.jobs.
CDRouter service exposes a REST API which enables users to initiate package sync with Automatics instantly without waiting till next automated sync.
REST API Url: {protocol}//{host:port}/api/cdrouter/service/sendPackageDetailsToAutomatics
Request Type: POST
Request Body: Empty
This helps in saving new packages and updating the existing package details in Automatics database.
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.