You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Python script selection & Python test execution from Automatics Orchestration

In Automatics python test cases will be selected automatically based on the mapping done for each automation id as PYTHON. Once a test case id identified as python JENKINS Job for test execution will be triggered. Once the test execution starts it will fetch the necessary parameters from automatics orchestration and based on that python test case execution will be triggered. 

  1. At first all the initialisation steps will be carried out like reading automatics properties, locking of the Device etc
  2. Then once the test case is identified as python, a new test execution flow will be triggered.
  3. In that flow Automatics Python wrapper script will be called from Automatics core using Java Process Builder, along with device details, and other necessary info for test case execution.
  4. Once the python wrapper script is invoked, it will scan for the directories in the jenkins job workspace to identify the Python scripts and its function which is annotated with the corresponding Automation ID
  5. On identifying the python script as well as the function that corresponding function is invoked by the python wrapper script and it will pass the Java DUT object to it.
  6. At this point the test case and its step execution will happen and result can be updated back to the automatics.
  7. From an User perspective there will not be any change in JAVA and PYTHON execution.
  • No labels