Writing automated test code to test against Dave Haeffner's mock site, The-Internet: Login Page.
This post is second in a series of six. Need to go back to the beginning?
We have covered a lot of ground in this series of blog posts.
The sixth and final part, writing the automated test, is kind of anti-climactic after all that effort.
Stories for Software QA Engineers shifting from manual to automated testing.
July 29, 2015
July 28, 2015
The-Internet: Page Object Model examples
Writing automated test code to test against Dave Haeffner's mock site, The-Internet: Login Page.
-
This post is fifth in a series of six. Need to go back to the beginning?
Part Five: What is the Page Object Model?
According to the original Selenium Wiki
The Page Object Model appeared as early as March of 2013, on the wiki for Selenium WebDriver. https://code.google.com/p/selenium/wiki/PageObjects
July 12, 2015
Online course: John Purcell's Java courses
To help me up-to-speed with Java programming after a ten year absence of writing any type of code, I have been working since January through many helpful courses I have found online. A few that I have liked:
Another favorite of mine is John Purcell's "Cave of Programming". John started out on Udemy.com, but has branched out to his own site. Every time he comes up with the next level of a course, he marks the earlier levels down until over time they become free.
- Alan Richardson's Selenium 2 WebDriver Basics with Java
- MIT's Introduction to Computer Science and Programming Using Python
Another favorite of mine is John Purcell's "Cave of Programming". John started out on Udemy.com, but has branched out to his own site. Every time he comes up with the next level of a course, he marks the earlier levels down until over time they become free.
July 8, 2015
The-Internet: Storing locators for web elements
Writing automated test code to test against Dave Haeffner's mock site, The-Internet: Login Page.
This post is fourth in a series of six. Need to go back to the beginning?
There are two main they locate web elements at work:
With the Firefox browser and the Firebug plugin, to find the selectors of a web element, an automated tester can go to the Login Page of Dave Haeffner's test site, The-Internet, and right-click on each element listed:
This post is fourth in a series of six. Need to go back to the beginning?
Part Four: Storing locators in Enums
How to locate a web element?
There are two main they locate web elements at work:
- By ID
- By CSS Selector
With the Firefox browser and the Firebug plugin, to find the selectors of a web element, an automated tester can go to the Login Page of Dave Haeffner's test site, The-Internet, and right-click on each element listed:
July 6, 2015
The-Internet: Storing constants: static final vs enums
Testing The-Internet:
Rewriting the automated test code we use at work to test against Dave Haeffner's mock site, The-Internet: Login Page.This post is third in a series of six. Need to go back to the beginning?
Part Three: Storing Constants
Setting Constants Using Static Final
When using values such as the username and password of a Login screen hardcoding values within your automated test is a bad idea.
If there was an automated test that was to go to https://the-internet.herokuapp.com/login and enter the username and password for Tom Smith (tomsmith / SuperSecretPassword!).
June 26, 2015
Selenium is now on GitHub
Back on March of this year, Google's Open Source Blog posted the following notice:
"Beginning today, we have disabled new project creation on Google Code. We will be shutting down the service about 10 months from now on January 25th, 2016. Below, we provide links to migration tools designed to help you move your projects off of Google Code. We will also make ourselves available over the next three months to those projects that need help migrating from Google Code to other hosts.
June 24, 2015
test.AllTheThings!
I've loved Sauce Labs every since I first heard about it. Instead of testing the same exact web application five or ten times in various browsers and platforms, I can write a test once? And I don't have to manually configure the browsers and platforms by hand? Sign me up!
We use it at work. Sure, it's a pain setting up Internet Explorer 8, but you kinda expect IE8 to be a pain when using a modern web app with it.
June 19, 2015
The-Internet: Common Utilities: methods, exceptions and logging
This post is second in a series of six. Need to go back to the beginning?
Rewriting the automated test code we use at work to test against Dave Haeffner's mock site, The-Internet: Login Page.
Please note: I have been an automated tester only since March 2015. This is only my best guess on how to translate what we use at work. I am writing this blog to deepen my own understanding of automated testing. If there are any glaring errors about Java, OO, WebDriver, or anything else please let me know in the Comments section!
Rewriting the automated test code we use at work to test against Dave Haeffner's mock site, The-Internet: Login Page.
Please note: I have been an automated tester only since March 2015. This is only my best guess on how to translate what we use at work. I am writing this blog to deepen my own understanding of automated testing. If there are any glaring errors about Java, OO, WebDriver, or anything else please let me know in the Comments section!
June 18, 2015
NYSE gets FIT!
Wall Street just got FIT. pic.twitter.com/HU0BzCLdRl
— Fitbit (@fitbit) June 18, 2015
Back in January, when I started this blog? I thought it was going to be the end of my software testing career if I didn't do something drastic and buckle down to re-learn Java programming and Selenium WebDriver.
June 16, 2015
Live Blog: Free Ice Cream from Fitbit Boston
Fitbit Boston has rented an ice cream truck and will be giving away free ice cream in Kendall Square! I will be live blogging the event from 12:00 noon to 1:00 pm. Watch this space or check in on #FitbitBoston on Twitter for details.
Subscribe to:
Posts (Atom)