更新时间:2021-07-23 20:39:02
coverpage
Learning Selenium Testing Tools Third Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Getting Started with Selenium IDE
Understanding Selenium IDE
Rules in creating tests with Selenium IDE
Recording your first test with Selenium IDE
Validating a test with assert and verify
Creating comments in your tests
Multiplying windows
Selenium tests against AJAX applications
Storing information from the page in the test
Debugging tests
Creating test suites
Parameterization
Saving tests
What you cannot record
Summary
Self-test questions
Chapter 2. Locators
Locating elements by ID
Moving elements on the page
Using direct XPath in your test
Leveraging the XPath axis with elements
CSS selectors
Working with elements and their attributes
Chapter 3. Overview of the Selenium WebDriver
History of Selenium
Understanding the WebDriver architecture
Merging of two projects
Setting up Eclipse IDE with Java project for Selenium WebDriver and TestNG
Chapter 4. Finding Elements
Finding elements
Using findElement Helper methods
Finding elements using a more generic method
Tips and tricks
Waiting for elements to appear on the page
Chapter 5. Design Patterns
Page objects
Using Page Factory with Page Object
Changing our Page Object to use LoadableComponent
Using LoadableComponent
Chapter 6. Working with WebDriver
Working with FirefoxDriver
Working with ChromeDriver
Working with OperaDriver
Working with InternetExplorerDriver
Other important points
Chapter 7. Automation Framework Development and Building Utilities
Automation without framework
Automation with Framework
Test Automation Frameworks Evolution
Form an automated test case using keywords
Building your own utilities for the Selenium automation framework
Chapter 8. Mobile Devices
Working with Android
Running with OperaDriver on a mobile device
Using OperaDriver on Opera Mobile
Working with iOS
Chapter 9. Getting Started with the Selenium Grid
Understanding Selenium Grid
The Selenium Grid hub
Adding instances to the hub
Adding Selenium Remote Control for different machines
Adding Selenium Server to do specific browser tasks on specific operating systems
Running tests against the grid
Running tests in parallel
Chapter 10. Advanced User Interactions
What is Advanced User Interactions API?
The Actions class
Chapter 11. Working with HTML5