Versions Compared

Key

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

Generic Core Test Execution


Table of Contents

Execution with Basic Test Setup 

This will help to validate Automatics system setup, verifying interaction with Automatics components.

 Basic Components:

   Following components are required to be setup or deployed in Automatics system.

  • Automatics Orchestration and Automatics Properties to be setup and completed with all configurations.
  • Jenkins Job for Test Execution
  • Automatics Core deployed in self-hosted artifact repository
  • Open sourced Device Manager with devices configured or Partner based implementation of DeviceManagement REST APIs that interact with Partner Device Inventory.

Steps

  1. Setup and configure the tools.

...

    • In Automatics Properties, configure the device model in device_config.json and update ‘accessbilityCheck’ param to false.
    • To edit device properties, user has to manually update the file device_config.json deployed in tomcat server at path apache-tomcat/webapps/automatics/. Currently, UI support is not available to edit values of device_config.json.                                                     

3. In Automatics Orchestration, configure the device group created in Device Manager or configured in Partner Inventory following Automatics Orchestration Setup#DeviceGroup

4. In Automatics Orchestration, configure the device model if it is not already configured following Automatics Orchestration Setup#DeviceModels

5. In Automatics Orchestration, configure the test ‘TC-QUICK-DUMMY-ALL-MODELS’ under test type  ‘QUICK’ via Manage Script page. This is a dummy quick test that always returns success. This test case is part of generic-core-tests and will help us to validate automatics setup. Test script can be added following          Automatics Orchestration User Manual#AddScript

After all the above configurations are done, we can execute test case ‘TC-QUICK-DUMMY-ALL-MODELS’ from Orchestration.

To execute test from Orchestration please follow the steps in , Automatics Orchestration User Manual#TriggerTestExecution

To view the test execution results, please follow, Automatics Orchestration User Manual#ExecutionResults