Versions Compared

Key

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

Table of Contents

Enable CDRouter testcases in Automatics

...

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

Image Added

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 Update the corresponding fields and click on next button.

Image RemovedImage Added

6.Configure device model for the testcase selected and Click Next button and Save 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 User need ,Click on Image AddedIcon to enable the testcase by clicking this icon corresponding to testcase which user need to triggerImage Removed.

image (1).png

9.Select the Reason and save it

...

2.Enter the build name and Select the Execution Environment Type, quick test if needed and test source as 'CDROUTER'. Click on next button if all the mandatory fields are added. 

Image Addedimage2024-1-10_11-22-53.pngImage Removed

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

Screenshot (63).png

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

...

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

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

Image Added

3.To view full execution logs click on icon and click on the mac address shown there .It will show Console logs and html logs of execution.
Image Removedwill  show CDrouter test results
Image Added

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


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.