November 5, 2021

The Cheezy Internet: Creating a Ruby + Watir + Cucumber automation framework with Jeff Morgan's Page-Object gem

Greenfield projects have been rare in my automation development career. The programming language, the toolsets that help craft the automation frameworks, the methods that interact with the pages of the web  application under test, all have been selected long before I joined the software development team. 

My job as an automation developer is to get up to speed on the automation framework as fast as possible. To climb the steep learning curves quickly, I have been creating little toy projects, ever since my first automation development job at Fitbit-Boston back in 2015. Doing this, I get explore the tools and technologies used for automated testing, using similar source material testing against a simple test site.

Our source material for this current exercise will be Jeff "Cheezy" Morgan's LeanPub book, "Cucumbers and Cheese: A Tester's Workshop". Even though "Cucumbers and Cheese" was written in 2012 and last updated in 2017, it contains a treasure trove of information for beginning automation developers, walking the reader through building an automation framework in Ruby + Cucumber + Watir + Jeff's page-object Ruby gem. Jeff's application under test is a mock site, the Puppy Adoption Agency at http://puppies.herokuapp.com/

Our application under test for this project will be an old favorite of mine: The-Internet at https://the-internet.herokuapp.com/, created by Dave Haeffner. Dave Haeffner is the author of the SeleniumGuidebook.com -- which comes in C#, Java, JavaScript, Python, and Ruby editions -- and the very helpful blog ElementalSelenium.com.

Next week, we will start using the information in "Cucumbers and Cheese" to start building an automation framework, starting with setting up a test environment. 


Happy Testing!

-T.J. Maher
Sr. QA Engineer, Software Engineer in Test
Meetup Organizer, Ministry of Testing - Boston

Twitter | YouTubeLinkedIn | Articles

15 comments:

Cho co said...

Easy Submission simplifies the complex task of website submission to search engines, article submission, directory submission, and social bookmarking for optimizing websites. wpshout com

Carl James said...

Their is some many important information on this post thank you for sharing this post i hope you keep posting like this thanks. Best Halloween Outfits for 2022

Me Time tracksuit said...

Really enjoyed reading your blog

WNBA Orange Hoodie said...

Hope more people will read this article keep up the good work

John Hardy said...

Such an wonderful blog. The most interesting this in framework with Morgan page. I really like it. Thanks for sharing this blog. Now it's time to avail HALFCASTE CREAM SET for more information.

justin said...

Thanks for writing this quality informational content. It's a very helpful and useful article. The cheezy internet creates a ruby watir cucumber automation framework is unique knowledge in this article. Now it's time to get Long distance taxi for more information.

lewis said...

A very details explanation was provided on this topic. This article is very unique information about the cheezy internet and is most interesting in this framework with Morgan page. Now it's time to get inbound call center for more information.

Steven Smith said...

Thank you for sharing the information with us. besides if you need any services related with digital marketing, then a digital marketing consultant form Go Big LA can help you. They have a team of experts who can help businesses achieve their marketing goals and increase their online visibility.

Jasper said...

Good post keep share more like that and we provide such a great law support for many people if you want it kindly visit our page . Abogado De Trafico En Virginia

landscape said...

Thank you for sharing awesome content, it is worth reading. keep on posting. I have also shared a home decorating product that is Fairly Light Shadow Box From SMEW India. Please have a look Once.

Will Steven said...

Trusted Personal Injury Lawyer Virginia will give you a legal advice, and represent in court for you

limorentalservicenewyork said...

Al Weam Transport
Home
Blogs
Locations
Services
Vehicle Fleets
Vehicle Types
Payment
About
Contact
Book Now
Dubai's Top Leading Bus Rental Company: Minibuses to Luxury Coaches
Are you looking for a rental service near Dubai? Al Weam is the right transportation company to lead the way to luxury buses, minibuses, coasters, vans and sedans rentals in Dubai. We specialize in providing the cheapest bus rental rates for high-quality rental services. Our persistent and reliable services are the key factor for success.https://alweamtransport.com/

Anonymous said...

Creating a Ruby program involves understanding the basics of Ruby syntax and programming concepts. By mastering this skill, you can develop various applications, including those related to Fute Skincare, enhancing your technical expertise and contributing to innovative solutions in skincare technology.

henryconner said...

Crafting a British luxury brand like Ruby requires weaving a rich tapestry. Focus on impeccable quality, perhaps using heritage British materials like cashmere or tweed. Maintain a sense of exclusivity, offering limited edition pieces steeped in the elegance and history that defines British luxury.

casinositezone said...

On parasta osallistua kilpailuun luultavasti suurimmista blogeista verkossa. Suosittelen tätä verkkosivustoa!