Website · Report Bug · Request Feature
For more information and updates on releases, see https://ruby-raider.com
You can download the latest release of the app here.
Warning
Raider Desktop is currently available for macOS only. Windows and Linux versions are planned for future releases.
Raider Desktop is the UI desktop companion for Ruby Raider, designed to simplify and accelerate your automation workflow. It provides recording, editing, and the ability to manage your ruby raider projects, in order to make test automation easier and more efficient.
This section provides information for users of the Raider Desktop application.
For the application to work correctly, you must have rbenv installed with a Ruby version higher than 3.0.0. If you do not meet these requirements, you will see a modal on the app, and not all functionality will be available.
- From the landing page, click on "Create New Project".
- On the "New Project" screen, provide a Project Name.
- Select your desired Automation Framework (e.g., Selenium, Appium) and Test Framework (e.g., Rspec, Cucumber).
- If you select Appium, you will also need to specify the Mobile Platform (Android or iOS).
- Click "Create Project" and select a directory where the project will be saved.
- The application will generate a complete Ruby Raider project structure for you.
- From the landing page, click on "Open Existing Project".
- Use the file dialog to navigate to and select the root folder of your existing Ruby Raider project.
- The project will be loaded into the application, and you can view its file structure on the Overview page.
The Recorder is the heart of Raider Desktop, allowing you to record user interactions and automatically generate test scripts.
- Test Suites Panel: On the left, you can create, delete, and manage your test suites. Each suite can contain multiple tests.
- Recording Controls: At the top of the screen, you can set the initial URL for your test, start/stop the recording, and run tests.
- Recorded Steps: The central panel displays the steps of your test as they are recorded. You can toggle between a human-readable "Friendly View" and the actual "Code View".
- Running Tests: You can run a single test or an entire suite. The output of the test run will be displayed in the "Test Output" panel.
- Import/Export: You can import and export individual tests, entire suites, or the whole project for easy sharing and backup.
The Dashboard provides a high-level overview of your project.
- Project Dashboard: This tab displays key statistics about your project, such as the number of test suites and tests.
- Recording Dashboard: This tab shows information related to your recording sessions and test runs.
The Settings page allows you to configure various aspects of the application and your projects.
- General Settings: Configure application-wide settings, such as the display language.
- Project Settings:
- For web projects, you can set the default browser and the base URL for your tests.
- For mobile projects (Appium), you can configure mobile capabilities such as platform version, device name, and app path.
- Recording Settings:
- Waits: Adjust implicit and explicit wait times to control how the recorder waits for elements to appear on the page.
- Selector Priorities: Define the order of attributes the recorder should prioritize when generating selectors for elements (e.g.,
id,name,data-testid,css). You can add, remove, and reorder the priorities.
This error indicates that rbenv is not installed or not properly configured in your shell. rbenv is a tool that helps you manage multiple Ruby versions.
Installation:
-
macOS (using Homebrew):
brew install rbenv
-
Other platforms: Please refer to the official rbenv installation guide.
After installation, make sure to initialize rbenv in your shell by running:
rbenv initFollow the instructions provided by the command to set up rbenv in your shell configuration file (e.g., .zshrc, .bash_profile).
If you encounter a "Permission Denied" error when running tests or saving files, it means the application does not have the necessary write permissions for the project folder.
You can grant the required permissions by running the following command in your terminal:
sudo chown -R $(whoami) /path/to/your/project/folderReplace /path/to/your/project/folder with the actual path to your project directory. This command changes the owner of the folder to the current user, ensuring you have full read, write, and execute permissions.
When you first open RaiderUI on macOS, you might see a warning that the application cannot be opened because it is from an unidentified developer. This is a standard security feature in macOS for applications downloaded from outside the App Store.
To resolve this, you need to grant an exception for the app:
- Open System Settings.
- Go to Privacy & Security.
- Scroll down to the "Security" section.
- You will see a message about "RaiderUI" being blocked. Click the "Open Anyway" button next to it.
- A confirmation dialog will appear. Click "Open" to launch the application.
You will only need to do this once. After that, you can open the app normally.
This section is for developers who want to contribute to the Raider Desktop project.
Follow these instructions to get the project up and running on your local machine for development and testing purposes.
Before you begin, ensure you have the following installed:
Additionally, for the application to function correctly, you must have the ruby_raider gem installed:
gem install ruby_raider-
Clone the repository to your local machine:
git clone https://github.com/your-username/raider_desktop.git
-
Navigate into the project directory:
cd raider_desktop -
Install the project dependencies using npm:
npm install
To start the application in development mode, run the following command. This will launch the Electron app.
npm run devTo build the application for your specific operating system, use one of the following commands:
# For Windows
npm run build:win
# For macOS
npm run build:mac
# For Linux
npm run build:linux