Learning Selenium Testing Tools(Third Edition)
Raghavendra Prasad MG更新时间:2021-07-23 20:39:02
最新章节:Indexcoverpage
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
Summary
Self-test questions
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
Summary
Self-test questions
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
Summary
Self-test questions
Chapter 5. Design Patterns
Page objects
Using Page Factory with Page Object
Changing our Page Object to use LoadableComponent
Using LoadableComponent
Summary
Self-test questions
Chapter 6. Working with WebDriver
Working with FirefoxDriver
Working with ChromeDriver
Working with OperaDriver
Working with InternetExplorerDriver
Other important points
Summary
Self-test questions
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
Summary
Self-test questions
Chapter 8. Mobile Devices
Working with Android
Running with OperaDriver on a mobile device
Using OperaDriver on Opera Mobile
Working with iOS
Summary
Self-test questions
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
Summary
Self-test questions
Chapter 10. Advanced User Interactions
What is Advanced User Interactions API?
The Actions class
Summary
Self-test questions
Chapter 11. Working with HTML5
Working with application cache
Interacting with browser connections
Working with WebStorage
Summary
Self-test questions
Chapter 12. Advanced Topics
Capturing screenshots
Using XVFB with Selenium
Working with BrowserMob Proxy
Summary
Self-test questions
Chapter 13. Migrating from Remote Control to WebDriver
WebDriverBackedSelenium
Summary
Self-test question
Appendix A. Automation Prerequisites for Selenium Automation
About Java programming
Inheritance
Polymorphism
Encapsulation
Constructors
Interface
Data types and variables in Java
Java operators
Decision and control statements
Loops
String class functions
Collections
Exception handling
Java coding standards
Summary
Self-test Questions
Appendix B. Answers for Self-test Questions
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Chapter 7
Chapter 8
Chapter 9
Chapter 10
Chapter 11
Chapter 12
Chapter 13
Appendix A
Index
更新时间:2021-07-23 20:39:02