Before starting the setup for Hybrid Execution, please make sure the following prerequisites are satisfied.

Prerequisites

  • JRE is installed - 

    Java Runtime Environment(JRE) is required for running Testsigma Agent on a machine. You can download JRE from official Oracle website here: JRE 8 Download Page

    After installing JRE, you need to set Environment Variables to easily execute Java Applications on your machine.


    For a detailed guide on installation, please refer to the official documentation given below:

    Windows | Linux | Mac


  • Environment variables for Java such as JAVA_HOME, JRE_HOME are set.

    Please check the below article for a detailed guide on setting the Environment variables:
    How to set Environment variables on your machine?


Setting up your Local machine

Setting up your Windows, Mac or Linux Machine for Hybrid Execution consists of four steps. They are:

1. Extract the Testsigma Agent-Driver bundle archive

2. Start Testsigma Server

3. Register the Agent and start Tests


1. Extracting the Testsigma Agent archive


Download the Testsigma Agent archive corresponding to your Operating System below:

Windows - Testsigma Agent-Driver Bundle Windows 32bit | Testsigma Agent-Driver Bundle Windows 64bit
Mac - Testsigma Agent-Driver Bundle Mac 32bit | Testsigma Agent-Driver Bundle Mac 64bit
Linux - Testsigma Agent-Driver Bundle Linux 32bit
Testsigma Agent-Driver Bundle Linux 64bit


Extract the archive somewhere in your home directory:


For Windows, you may use "C:\Users\<username>\Documents"

For Mac/Linux, you may use "/home/<username>/Documents"


Note: Replace the <username> part with your Account username. The home directory is recommended so as to avoid hassles of setting file permissions and ownership


2. Starting Testsigma Agent server


For Windows

1. Open your Command Prompt and navigate to the Testsigma Agent directory using cd command as follows:

cd "C:\Users\<username>\Documents\Testsigma-Agent-Win64\apache-tomcat-8.5.30\bin"


2. Type startup.bat and press Enter. A new window will open up and tomcat server will start running. Wait for the "Server startup in X ms" message to come up.

Your Testsigma Agent server is up and running now.



For Mac/Linux

1. Open Terminal and navigate to Testsigma Agent directory using cd command as follows:

cd "/home/<username>/Documents/Testsigma-Agent-Linux32/apache-tomcat-8.5.30/bin"


2. Type startup.sh and press Enter. A new window will open up and tomcat server will start running. Wait for the "Server startup in X ms" message to come up.

Your Testsigma Agent server is up and running now.


3. Registering the agent


1. Once your Testsigma agent is up, go to the web address http://localhost:8080/agent on your Web Browser(Google chrome is preferred). Click on the Dashboard link in the left navigation pane. The following page would open up:


2. Click on Register Agent link on the left navigation pane and enter your Testsigma Account details and click on Register


3. Click on the Executions link and check your Execution status there. You would see the Execution name and the 'Running' status when your Tests are executing.


4. Goto Testsigma website on a new tab if not open already and Start the Execution by clicking on Run Now button in the Executions page.


5. Switch back to the Testsigma Agent tab and go to Executions link to view the status of Execution.




Your Execution will start shortly on the prescribed machine.


Happy Automation Testing!!