Installation and Setup
Download, install, start, and register your agent locally or remotely.
Once you have created an account with TestProject you just need to follow a few simple steps to get setup and ready for testing. TestProject works on almost any platform, with the install of a single agent.
The first thing you will need to do is login to the TestProject app. Once you have done that you can navigate to the agent's tab at the top of the page and choose the desired platform. You can also use this link to directly navigate to the agent download page. If you want to know more about the TestProject agent click here.
Now you are ready to install the TestProject agent on your machine. The installation is a very simple process, on macOS and Windows simply launch the installer and follow the instructions. For Linux follow this guide.
If you are going to use iOS devices on Windows you will require Apple Device Support which is automatically installed when installing iTunes.
Once the Agent is installed you will need to start it.
The easiest way to run the agent is just to search for TestProject in the Windows search bar and click on the Agent to start it.

TestProject Agent on Windows
The agent will then start up on your computer and you will be able to see the status of it by right-clicking on the icon in the system tray.
On Mac, after you have installed the agent, you can run it by finding it in the application folder and double-clicking. This will open it in the dock and you can see the options on it by right-clicking the icon:

TestProject Agent on Mac
After downloading the installer let's install the Agent:
- 1.Navigate to downloads.
- 2.Right-click on that file-> Properties-> Permissions-> check the "Execute" option. For headless you can use the command:
chmod +x ./TestProject_Agent_3.3.0.sh
- 3.Open the folder that contains this file on terminal (right-click -> open in terminal) and type:
./TestProject_Agent_3.3.0.sh
Make sure to type the correct file name (agent version may differ)
After installing navigate to TestProject app:
cd /home/UserName/testproject/agent/bin
Don't forget to replace UserName with the actual user
Then start the agent in fork mode so you can use the current terminal:
./testproject-agent start -f
It should look like this:

TestProject Agent on Linux terminal
Once you have verified that the agent is running, you can now registered it to your account.

Registering the Agent from TestProject app
You will be prompted to give your agent an alias. Put something meaningful in here like "Joe Smith's Windows laptop" as it is possible to share agents with other team members. Once you have done that you just need to click on the register button to automatically register your agent with the TestProject application, and you are ready to start using TestProject!
This method can be used for remote and headless registration.
To register your agent to an account using a CLI on any machine you will need to generate an API key. The API key will determine to which account this agent will register.
Now to register your agent use this command:
./testproject-agent register -a agentName -t Your_API_Key
It should look like this:

Registering the Agent on Linux terminal
Simply execute this command on your shell or CMD:
testproject-agent register -a agentName -t Your_API_Key
It should look like this:

Registering the Agent on Windows CMD
If your windows does not recognize
testproject-agent
commands:Add TestProject agent to your environment variables
Head to Control Panel -> All Control Panel Items -> System -> Advanced system settings -> Advanced -> Environment Variables -> Path -> New
Variable value:
C:\Program Files\TestProject Agent
You can use the image below:

Adding TestProject to the environment variables
Last modified 1yr ago