Book Image

Learning Selenium Testing Tools - Third Edition

Book Image

Learning Selenium Testing Tools - Third Edition

Overview of this book

Table of Contents (22 chapters)
Learning Selenium Testing Tools Third Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 5


  1. Answer: The Page Object design pattern gives us a way to abstract our tests away so that we can make these tests more maintainable. We can make tests that only require updating if new steps have been added; otherwise, it just requires the page object to be updated.

  2. Answer: @FindBy(how=How.ID, using='myId').

  3. Answer: @CacheLookup.

  4. Answer: PageFactory.initElements();.