Regression testing software can help you make the manual regression testing process automated. It can save a lot of time and effort. But what is regression testing software? What should you look for when you are deciding on the regression testing tool of your choice?...
Add a WebDriver endpoint
In this chapter, you’ll learn how to add and configure WebDriver endpoints.
In this chapter
Set up a WebDriver infrastructure, start the server, and note its address.
Ranorex Studio supports Selenium and Appium through WebDriver endpoints.
- Setting up a Selenium infrastructure is covered in ⇢ Selenium WebDriver integration.
Add an endpoint for WebDriver
Open the endpoint list.
An empty endpoint list.
Endpoint list with Localhost (the computer) and two additional endpoints.
In an empty endpoint list, click Add endpoint. Or, in list that is not empty, click +.
Enter a name for this endpoint.
Enter the server address.
In a default Selenium environment you must add /wd/hub to the URL or IP address of your Selenium server. Only change or omit this path if you have set up your Selenium infrastructure differently.
Click Add endpoint and Complete setup.
Add an endpoint configuration to a WebDriver endpoint
Endpoint configurations allow you to tell a Selenium WebDriver endpoint how to behave during test execution. Selenium calls these characteristics of an endpoint capabilities. Most commonly, they define what OS, browser, and browser version the WebDriver endpoint simulates. In Ranorex, the sum of all capabilities defined for an endpoint is called an endpoint configuration.
Endpoint configurations make it possible to easily execute tests in a Selenium grid on multiple different system configurations without actually needing to have any of these systems present.
To add a configuration to an endpoint:
Click the symbol to the right of a Selenium WebDriver endpoint.
Click View details.
Endpoint information showing name, connection status, and server address.
List of currently running browsers with browser name and URL.
Specify the endpoint configuration
Enter a name.
Enter a description (optional).
Enter the configuration, i.e. the capabilities definition, as JSON.
Make sure it conforms to the requirements of your Selenium Grid provider. Selenium provides a list of capabilities. In the screenshot, the capabilities JSON conforms to the requirements for Sauce Labs.
If you are unfamiliar with JSON, use the Ranorex Studio ⇢ capabilities configurator. Simply select your capabilities and provider and let the configurator put together the JSON. Then, just paste the JSON into the Capabilities JSON box of the endpoint.