Start with Pages & Objects
To keep your test cases maintainable, store Page Objects and create Page Actions from the Pages & Objects editor. If you would look at any web page, you’ll discover it has two things; object, like buttons, text fields, links, images and so on. These things are called Page Objects.
It also has things you can do on that page, e.g.; log into the application, sign up for a newsletter, search for a specific product, validate some success or error message. All these things are called Page Actions. Once created and stored in JOSF, they can be reused in your test steps. Using the Pages & Objects will greatly reduce maintenance, but also requires