GitHub Action for Total Test
Perform the following steps to setup the self-hosted runner:
- Select the Settings tab from your repository.
- Navigate to Actions > Runners in the menu bar. The Runners configuration screen is displayed.
- Click New self-hosted runner to create a new runner.
- In the Runners / Create self-hosted runner screen, complete the setup by performing the required steps to download and setup locally.
Setup Workbench CLI locally
You must ensure the following, prior to setting up Workbench for Eclipse CLI locally:
Obtain a copy of the Workbench for Eclipse CLI, which is available in the Workbench for Eclipse installation package. If you do not have the installation package, visit BMC Support.
- Follow the instructions and install Workbench for Eclipse CLI.
- Record the installation location path. This path is required when executing test scenarios.
Plugins in marketplace
Login to GitHub and navigate to Extend GitHub.
- Search for BMC and press Enter.
- Click BMC AMI DevX Total Test to view more information.
- Download and install the plugin to execute Total Test Scenarios.
Configure and execute workflows
To configure and execute workflows, perform the following steps:
- Click Actions > New Workflow. Select the Topaz for Total Test for input values option, and create a workflow.
- Click Run workflow and scroll to view all the workflow entries.
- Enter the HCI Connection and Port information.
Enter the Test Location Path of the Total Test Scenarios to be executed.
- Enter the Customized Workspace location of your Workbench for Eclipse CLI installation, including the workspace/configuration portion.
For example: C:\CLIBUILDS\20.13.1\workspace\configuration - Enter the Repository Server URL.
For example: http://vw-dtw-xat-01.adprod.bmc.com:48231/totaltestapi/ - Enter the HCI User ID and Password.
- Click Run workflow. Ensure that your Runner is active to execute the workflow.
- From the menu, click build to view the following details:
Expand the Calling the CLI function section to view the CLI log of the Test Scenario execution.
In this example, the Scenario results were saved in C:/Users/gflemmin/Compuware/Workbench/workspaceV20.13/CLITESTS/Tests/Output.
The location of the Output folder can be found in the CLI log.