Quantcast
Channel: page objects – WatirMelon
Browsing latest articles
Browse All 8 View Live

Image may be NSFW.
Clik here to view.

Introducing the Watir Page Helper gem

I’ve very recently released a watir-page-helper gem that provides some useful helper methods when creating page models when using Watir-WebDriver (I chose not to support Watir as it doesn’t work on...

View Article


Image may be NSFW.
Clik here to view.

Removing local page references from Cucumber steps

I’ve been giving some thought about the maintainability of having local page object model references in Cucumber steps. To explain what I mean, here’s some code of mine from an Etsy page model step:...

View Article


Image may be NSFW.
Clik here to view.

Watir-page-helper has been end-of-lifed

Intro I am happy to announce that the watir-page-helper gem has been end-of-lifed: meaning no further development will happen on it and it will remain as it stands. I am thoroughly supportive of...

View Article

Image may be NSFW.
Clik here to view.

Roll your own page objects

There seems to be a lot of focus being put into page object ruby gems at the moment. Cheezy has done a fantastic job of the aptly named page-object that supports Watir-Webdriver and Selenium-Webdriver,...

View Article

Image may be NSFW.
Clik here to view.

WebDriverJS & Mocha Part 3: Page Objects

I recently shared how to get started with WebDriverJS and Mocha, and how to use hooks. This post continues on from there: I will share how to set up our own page objects to model our application for...

View Article


Image may be NSFW.
Clik here to view.

AMA: Page Object Best Practices

Anonymous asks.. What do you think is best practice for storing element locations? I’ve heard about having an “Element map”, a single place where all element IDs or methods for location are stored. Is...

View Article

Image may be NSFW.
Clik here to view.

AMA: R.Y.O. Page Objects 2.0

Michael Karlovich asks… Do you have any updated thoughts on rolling your own page objects with Watir? The original post is almost 4 years old but is still the basis (loosely) of every page object...

View Article

Image may be NSFW.
Clik here to view.

AMA: more details about our JS e2e tests

Satyajit Malugu asks… Saw your recent post on JS vs Ruby. As a recent migrant from Ruby to JS for mobile test automation – couple of questions 1) how are you doing page objects (ES6 works too) 2) Are...

View Article

Browsing latest articles
Browse All 8 View Live