Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Selenium Testing Tools - Third Edition
  • Table Of Contents Toc
  • Feedback & Rating feedback
Learning Selenium Testing Tools - Third Edition

Learning Selenium Testing Tools - Third Edition - Third Edition

By : Raghavendra Prasad MG
4.4 (11)
close
close
Learning Selenium Testing Tools - Third Edition

Learning Selenium Testing Tools - Third Edition

4.4 (11)
By: Raghavendra Prasad MG

Overview of this book

If you are a software developer with a basic knowledge of testing and are interested in automated testing using Selenium, this is the book for you. No prior knowledge of Selenium is required.
Table of Contents (17 chapters)
close
close
16
Index

Chapter 5. Design Patterns

A design pattern is a general reusable solution to a commonly occurring problem within a given context in software design. In this chapter, we will take a look at good design patterns to create maintainable and reusable bits of code that we can use with our Selenium tests. This means that, if there are any changes needed to our web application, or any changes in the way we need to find elements, we can change them once and have things fixed very quickly.

In this chapter, we will learn the following topics:

  • Using Page Object design
  • Using the PageFactory Selenium library in Page objects
  • Using the LoadableComponents Selenium library

In this chapter, it is assumed that all files will have the following import statements:

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;

So let's get on with it.

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning Selenium Testing Tools - Third Edition
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon