Rapi facilitates cross-browser testing by supporting the execution of recorded test cases across various modern browsers using WebDriver, Selenium Standalone Server, and Appium.
Install Java SE
Create a folder, for example, selenium_server
Download Selenium Server (Recommended version: 4.8.1)
Put selenium-server-{version}.jar
in selenium_server
Put the drivers that you'd like to test in selenium_server
Here are the browsers currently supported by Rapi
selenium_server
selenium_server
selenium_server
. Note that, for the Selenium Server 3.x, the file name of the driver should be renamed to MicrosoftWebDriver.exe
.safaridriver --enable
and enter your user password.Open Rapi and press the setting button in the upper right corner
Toggle Playback through WebDriver
Fill in Selenium Server URL with localhost
and Port with 4444
(You can change localhost
to the IP where your selenium server runs)
Fill in browerName with chrome
, firefox
, MicrosoftEdge
or safari
, and leave the other fields blank
Open terminal and change the path to the selenium_server
folder. Run java -jar selenium-server-{version}.jar standalone
If you are using MAC OS, grant permission to your drivers by going into System Preferences -> Security & Privacy, and allow the driver to run. Another way to grant permission is by running the following commands in the terminal under the same path as the previous step:
spctl --add --label 'Approved' chromedriver
spctl --add --label 'Approved' geckodriver
spctl --add --label 'Approved' MicrosoftWebDriver
Play the test case. A Chrome, Firefox, Edge or Safari window will be automatically triggered by the selenium server
Here are the mobile Platforms currently supported by Rapi
The first 7 steps are for setting up Appium and an Android emulator. If you already have the Appium and Android environment set up, you can skip to step 8.
USB debugging
`feature is turned on.Edit Configurations
. In the ANDROID_HOME
field, enter the SDK Location of Android Studio, and in the JAVA_HOME
field, enter /path/to/JAVA/jrex.x.x_x
. Click Save and Restart
.Advanced
settings in Appium, scroll down to Android
, and enter the Chrome Driver file path in the Chromedriver Binary Path
field. Click Start Server
.WebDriver Settings
-> Add New Service
-> Appium
. Enter localhost in the Server URL
field, and 4723 in the Port
field. Click Add New Browser
, and in the browserName, platformName, deviceName, and automationName fields, enter chrome
, android
, <YOUR_PHONE_NAME>
, and UiAutomator2
, respectively.Playback through WebDriver
in the Basic Setting
.Advanced
settings in Appium, scroll down to iOS
, and enter 8100
in the WebDriverAgent Port
field. Click Start Server
.WebDriver Settings
-> Add New Service
-> Appium
. Enter localhost in the Server URL
field, and 4723 in the Port
field. Click Add New Browser
, and in the browserName, platformName, deviceName, and automationName fields, enter Safari
, iOS
, <YOUR_PHONE_NAME>
, and XCUITest
, respectively.Playback through WebDriver
in the Basic Setting
.