In this video, Meaghan Lewis installs the Selenium standalone server and uses the server to set up a hub running on her local machine. Meaghan also shows you how to use the grid console to view details about the hub.
- [Instructor] In order to use the grid…and run tests against remote Selenium web driver instances,…the use of the Selenium standalone server is required.…Luckily Selenium Grid support…comes build into the Selenium standalone server.…To use the server,…I first need to go to download the latest version…at the seleniumhq.org downloads page.…Once there,…I click the download link for the Selenium standalone server…and the download of the jar file begins.…
Once the server jar file is downloaded,…I can immediately start using it.…For the example in this course,…I will use the standalone server…to start the hub on my local machine.…To do that,…I open up my terminal…and navigate to where I have the server file downloaded…in my Downloads directory.…I'm going to cd to the Downloads directory.…Once there,…I type java -jar selenium-server-standalone-3.7.1.jar…- role hub to start the hub.…
This starts up the standalone server as a hub.…After executing this command,…a bunch of terminal output is spit out.…The terminal shows that the Selenium Grid hub is launching.…
Find out how to set up the test-writing framework, WebDriver, and Selenium Grid, which allows you to distribute the testing load and run tests against a remote server. Learn best practices to write effective tests using variables and functions, and to organize tests into suites that can scale over time. Instructor Meaghan Lewis—a QA engineer at GitHub—also explains the test pyramid paradigm, which details an ideal way to balance unit, integration, and UI testing.
- Setting up Selenium WebDriver
- Using the Selenium grid to distribute the testing load
- Setting up a hub and nodes
- Writing clean test code
- Organizing a test suite