Tag: Framework

Our first JavaScript framework

Framework – Your First Framework – Part 4

In part three, we added some core functionality to our framework in the form of window handling and dispose methods to clear up after ourselves. We also looked at adding some basic Javascript functionality to invoke scripts on our pages. So far we have the very basics of a framework, and we could if we…
Read more

Our first JavaScript framework

Framework – Your First Framework – Part 3

In part two, we created the foundation of our framework, by setting up the classes that allow us to setup and dispose of our driver instances. But we’re not going to be doing much in the way of testing by just opening an empty window and closing it. Next, we’re going to create some wrapper…
Read more

Our first JavaScript framework

Framework – Your First Framework Part 2

In part one, we built our Driver factory class that will allow us to create an instance of a browser driver, depending on the parameter we passed in. This was an important first step, as without this we would have to manually create our browser instance in our tests themselves. By doing it this way,…
Read more

Our first JavaScript framework

Framework – Your First Framework Part 1

In the last article, we discussed the definition of a framework and expanded on it. And we tried to understand that the idea of writing your own framework isn’t quite as scary as you might think.  So today, we’re going to take the first step in to creating your first framework for testing web applications…
Read more

Our first JavaScript framework

Framework – Understanding The Basics

This series of articles will cover the basics of what we can define a framework as being, and go on to designing our own basic framework step by step. By the end of it, you’ll have a fully functioning framework that will allow you to write and execute testing of any web site or web…
Read more