Selenium Testing

Setting up testing with Selenium

This is not a MDriven specific instruction, it's a page with short instructions and links to other pages to make it easy to know one way to follow to set up testing towards your system.

Selenium does testing of web sites, so it's targeting a TurnKey application. These instruction and testing has all been done on Windows 11.

Selenium is a very widely used framework for running scripted web tests. You can use it both for application testing and for load testing. Load testing though will be for a small number of clients, because it takes a lot of CPU and memory on the test server to run parallel web browsers.

The easiest way we recommend is using the Selenium IDE plug-in for your browser, for example Chrome. With the IDE you can create, edit and run a script without any setup on your local development machine.

When you have a script that does what you want it to do, as simple and complex as that need to be, you install a Selenium Grid execution environment.

Installing a Selenium Grid is surprisingly simple, and we recommend this configuration (there are any number of different ways)



Most of what you run you run from the Selenium command line runner, read here

Useful links

Main Selenium site: https://www.selenium.dev/

This page was edited 21 days ago on 04/08/2024. What links here