Selenium is a useful tool but not well utilized when used as a mere record-and-playback tool. The problem is that recorded test cases are not easily readable and hard to maintain, and output options are limited. A colleague of mine, Arjan van der Smeede, has tackled these issues by creating a Selenium .NET test suite. Though the Excel interface is written in Dutch and the executable in English, the suite can be used by anyone* because it is pretty straightforward.
- The first step is to create logical test cases in the Excel sheet.
- Then record the test cases as you usually would and import them into the excel sheet, first in the GUI Map.
- Rename the elements, it makes the script readable/maintainable.
- Then import the test cases in the FT Selenium. You can edit the actions, elements in that part to your liking.
- When you are done with that, start the executable and configure which browsers you want to use.
- Import the Excel sheet.
- Run your test cases!
There are numerous options such as step-by-step execution, regular expressions, screenshots, and so forth. I have used this suite for regression testing and it saved me hours of boring work. I recommend Selenium .NET test suite.
* Microsoft Access, Excel required.
- TMap NEXT in Scrum
- Cloud testing part 1