Browsed by
Tag: @FindBy

Implementing Page Blocks

Implementing Page Blocks

I’ve been looking forward to getting around to this for some time. A chance to have a  go at extending WebDriver’s default PageFactory implementation. So what do I mean by a PageBlock? On many websites there are reusable panels that appear on many pages. Many are repeatable blocks within a page and are used in lists such as the article summaries on the homepage. Others occur on many pages throughout a site but are unique within the page such as…

Read More Read More

Starting with the Page Object Model / Page Factory

Starting with the Page Object Model / Page Factory

Breaking news. Today is my 47th Birthday and it seems that the JUnit team have given me a birthday present with the announcement of JUnit 5.0 General Availability Release today. As of now, it is not in Maven central so I’m still with the release candidate, but I look forward to checking it out soon.   I have started off this blog looking at some of the basics of setting up and running basic tests using JUnit and Selenium WebDriver….

Read More Read More