You can execute test cases on remote environment using Selenium supported Browser Capabilities.
...
- Download the Selenium-server-standalone jar file on Hub machine.
- Launch the command prompt and navigate to the location where Selenium-server-standalone jar file is saved.
- Execute command "java -jar selenium-server-standalone-2.xx.x.jar -role node–hub http://hubIP:4445/grid/register".
...
Configuration Settings
Before executing test cases in remote execution in Selenium grid, you need to configure settings accordingly.
...
- Selenium server jar version used in Qualitia offline package and downloaded at remote machines including Hub and Nodes should be same all over.
- Java needs to be installed and configured in computer's environment path.
- Port number used for hub is changeable and default port number is 4444.
- As hub selects node for execution at its own at run time, you cannot provide details for specific OS / Platform.
- To know more about how to setup Selenium grid hub and node it is recommend using the selenium grid links given below
To configure settings for remote execution in selenium grid:
- Open the qualitia.properties file from the config folder of offline package.
- Set the ExecutionEnvironment value as remote to inform qualitia-offline.jar that offline package has to be executed on a remote machine.
- Set the RemoteURL value to a valid remote URL that is IP and port of remote machine. For example: RemoteURL=http://192.168.25.123:4445
...
- Set the GridPlatform value to valid platform where you want to execute test cases.
For example: Set the GridPlatform=Win10
Offline Remote Execution and Reports
...