Before you can run or contribute to the project, ensure you have the following installed:
- Python (version 3.6+)
- pip (Python package installer)
- Robot Framework
- PyQt6 (for GUI)
- pabot (optional, for parallel test execution)
-
Clone the repository:
git clone https://github.com/your-username/robot-runner.git cd robot-runner -
Create a virtual environment (optional but recommended):
python -m venv venv
-
Activate the virtual environment:
- Windows:
venv\Scripts\activate
- macOS/Linux:
source venv/bin/activate
- Windows:
-
Install the required dependencies:
pip install -r requirements.txt
-
(Optional) Install Robot Framework and Pabot globally if you don't have them:
pip install robotframework pip install pabot
If you'd like to modify and build the application from source, follow these steps.
-
Install the required dependencies:
Run the following command to ensure all dependencies are installed:
pip install -r requirements.txt
-
Run the application:
You can run the app directly with:
python main.py
If you need to distribute the application to users without requiring them to install Python, you can build a standalone .exe file (for Windows) using PyInstaller.
In order to generate the executable exe file you just need to run the script :
- For Linux:
sudo apt get bash bash ./build.sh
- For windows:
./build.sh
-
Install PyInstaller:
pip install pyinstaller
-
Create the executable:
Run the following command in the project root directory to build the .exe file:
pyinstaller --onefile --windowed main.py
--onefile: Bundles everything into a single executable file.--windowed: Prevents a command prompt window from appearing when you run the app (for GUI apps).
After building, you can find the
.exefile in thedistfolder. -
(Optional) If you want to package the .exe with additional resources (e.g., icons, images), you can modify the PyInstaller command to include them:
pyinstaller --onefile --windowed --add-data "./style/style.qss;style" --add-data "images/*;images" main.py
Make sure to adjust paths as needed for your project structure.
We welcome contributions! Here’s how you can get involved:
-
Fork the Repository
Visit the repository and click the Fork button at the top-right of the page to create your own copy of the repository. -
Clone Your Fork
git clone https://github.com/ROBOT-RUNNER-COMMUNITY/ROBOT-RUNNER cd robot-runner -
Create a Branch
It’s best to create a new branch for the feature or bug fix you want to work on:git checkout -b feature/your-feature
-
Make Your Changes
Modify the code or add features. Be sure to write tests to validate your changes (if applicable). -
Commit Your Changes
Commit your changes with a descriptive message:git add . git commit -m "Add new feature or fix bug"
-
Push to Your Fork
Push your changes back to your fork on GitHub:git push origin feature/your-feature
-
Open a Pull Request
Once your changes are pushed, go to the GitHub page for your fork and create a pull request. Provide a clear description of what your changes do and why. -
Review and Merge
After the pull request is reviewed, we will merge it into the main branch.
