Skip to main content

Page Builder

Select 'Page Builder' from the left hand navigation panel.

The Flare Page Object Builder

Instructions

The page object builder allows you to manually inspect your application, whilst creating page classes for your automation project and selecting elements to be added to those page classes.

In collection mode, as you hover on page components, you will be offered a series of element attributes of which you can decide which you would like to use, in order to have your automated tests locate and interact with that element.

For example, you may see data-test, id, name, value, xpath amongst others. Once you have selected your locator strategy for that element, you can give it a name and assign it to a page within your project.

As you write tests that incorporate that specific page class, you can then instruct the browser to interact with the element via use of the name and the locator strategy that you decided.