Before installing ZBot, ensure you must have JDK 8 for ZBot to run.
ZBot needs a couple of environment variable set once you have the JDK installed. You can set the variables this way to allow it to persist through reboot.
A typical path is:
Setting up JAVA_HOME in Windows (steps might vary with Windows version):
A typical path is:
Important: make sure you have specified the correct path!
You may download the ZBot directly from Zephyr:
Contents of ZIP file
Zip Package - Once unzipped, the following is present in the unzipped folder:
You can start ZBot right after downloading, there is no need to configure it in any way. It is preconfigured to use your Zephyr URL, username and password, however, you can change these values in the conf\zbot.properties file, if needed.
Windows:
To start ZBot as a service when your computer starts, just run the zbot_install_service_64.bat file.
Zbot must be run as administrator. |
You can start ZBot right after downloading, there is no need to configure it in any way. It is preconfigured to use your Zephyr URL, username and password, however, you can change these values in the conf\zbot.properties file, if needed.
Zbot must be run as root. Run the sudo commands for root permission. |
Open a terminal window and navigate to $ZBOT_EXTRACTION_FOLDER/zbot and use the following to administer:
./bin/zbot.sh start - To Start the zbot in background
./bin/zbot.sh status - To Check the status of ZBot
./bin/zbot.sh stop - To Stop the zbot
./bin/zbot.sh console - To run zbot in interactive mode
Log files are in $ZBOT_EXTRACTION_FOLDER/zbot/logs
A job is a task with a number of parameters. You use it to automate your test cases. You can create three types of jobs: Script Automation, Suite Automation and Folder Watcher.
A Script Automation job triggers a automation script that retrieves data from the specified test automation tool through ZBot and passes it to Zephyr.
To learn how to create and execute a Vortex job, see the corresponding topic:
For more information on Vortex, see Zephyr Vortex.
Before running a job, you need to start ZBot. You can execute your jobs only when ZBot is running. |
Downloading ZBot also creates a Zephyr API token (a token is generated automatically based on the ZBot name) and adds it to the ZBot properties file. You can then use this token to control your ZBot via API. To view the API tokens you have created or to create a new one, click your username in the top-right corner and select API Token from the menu: