web

Automated UI testing with Selenium [Part 2]

Automated UI testing with Selenium [Part 2]

In Part 1 we set up Selenium and created our first test showing a browser being opened and then immediately closing.  While that was interesting, I don’t know many people that would be super exciting by that alone.  Since the whole point of these tutorials is UI testing, why don’t we actually test a UI?  In this article we’re going to walk through creating a few more tests to actually log in to a website and verify that only a user with the right credentials can log in, we don’t want just anyone logging in now do we?

Continue reading →

Posted by DCCoder in Programming, Tutorials, 0 comments
Automated UI testing with Selenium

Automated UI testing with Selenium

It seems everyone is making the move towards automated testing these days, and why shouldn’t they? How many times have you been working on a web project and had to constantly retest the same thing over and over simply to verify that it works? Or maybe you’re an analyst on the surface but a code monkey at heart and would like to blend the two together? Enter Selenium.

What is Selenium? Selenium is a browser automation framework. I was exposed to it a few years ago when I was still heaving into web scraping. Selenium is perfect for UI testing as it can easily mimic an actual browser with human input. You can even change the type of browser you want! Ok, so hopefully by this point you’re interested (or maybe not) and want to get started.

Continue reading →

Posted by DCCoder in Programming, Tutorials, 0 comments