With the Selenium WebDriver integration, you can run web tests created with Ranorex on different browsers, operating systems, and machines without any plug-ins or add-ons.
Ranorex uses the existing Selenium WebDriver infrastructure to run web tests on:
In this chapter
⇢ Set up a Selenium WebDriver infrastructure.
⇢ Start Selenium Standalone Server.
⇢ Add a WebDriver endpoint to Ranorex Studio.
Record your web test on your local machine or use an existing one.
Review the web test following these ⇢ guidelines.
Set the WebDriver endpoint as ⇢ automation root.
Run the test suite.
This chapter only provides a basic introduction. For complete documentation of the Selenium WebDriver infrastructure, please visit the official Selenium web site.
For a basic setup, you will need:
Before adding an endpoint or running a test you need to start the server.
Open a command line console and switch to the folder containing Selenium Standalone Server. Execute the following command:
java -jar selenium-server-standalone-.jar
Replace “” with the version number of the downloaded Selenium Standalone Server file. The window has to remain open.
Selenium WebDriver differs from the web testing capabilities that Ranorex offers for desktop-based web tests. After recording a web test on your local web browser, follow these steps to make it compatible for execution with Selenium WebDriver: