Rapi Runner is a command-line tool designed to play test cases recorded with Rapi.
Prerequisite:
java -jar selenium-server-{version}.jar standalone --selenium-manager true
rapi-runner --config {CONFIG_FILE_PATH}
. For example, when running with the following config file, all of the test cases in the test suite will be run with Chrome through WebDriver under command line mode. See Rapi Runner Config Format for the config file format.
{
"input": {
"testSuites": ["YOUR_TESTSUITE_FILE_PATH"]
},
"webdriver": {
"configs": [
{
"serverUrl": "http://localhost:4444",
"type": "selenium",
"browsers":[
{
"active": true,
"capability": {
"browserName": "chrome"
}
}
]
}
]
}
}