Tech demo: Let's explore Selenium Testing

19 September 2017

Godfrey2

Blog written by Godfrey Huang, Developer at Interpret

As a developer, I am always on the hunt for technology that can add value to what we do and ensure quality outcomes for our clients.

Selenium testing (automated testing) is a technology that enables developers to test web applications automatically. It allows different types of developers to write tests in popular programming languages, including C#, Java, Python, PHP, Ruby and so on. The tests can then run for most modern web browsers.

There are a variety of benefits to using selenium testing:

  1. Automated testing makes it possible for developers to write test code first, such as TDD (Test-Driven Development). The tester can write code based on requirements, which enables developers to understand requirements easily and always be implemented correctly.

  2. Automated testing can increase the depth and scope of tests to help improve software quality. Indeed, automated testing can look inside applications and see databases, file contents, and internal program states to determine if the product is performing as expected.

  3. Automated testing improves accuracy. Even the most conscientious tester can make mistakes during monotonous manual testing. Automated tests perform the same steps precisely each time they are executed and never forget to record detailed results.

  4. Automated test can be reused and upgraded, if any products are added or upgraded with new features.

I usually implement Selenium testing with NUnit framework. The combination enables testers to sort order of running tests, generate reports easily, run tests in random input value, skip tests and so on. It is very convenient to control testing and improve the quality of products. 

If you have any questions or are keen to find out more about Selenium testing, contact me: godfrey.huang@interpret.co.nz