Selenium Testing Tools Cookbook
- Learn to leverage the power of Selenium WebDriver with simple examples that illustrate real world problems and their workarounds
- Each sample demonstrates key concepts allowing you to advance your knowledge of Selenium WebDriver in a practical and incremental way
- Explains testing of mobile web applications with Selenium Drivers for platforms such as iOS and Android
Selenium Testing Tools Cookbook
Web technologies are becoming increasingly complex and there is a need to test your web applications against a vast number of browsers and platforms, so you need to build highly reliable and maintainable test automation. This book will help you test your web applications effectively and efficiently with Selenium WebDriver.
Selenium Testing Tools Cookbook is an incremental guide that will help you learn and use advanced features of Selenium WebDriver API in various situations for building reliable test automation. You will learn how to effectively use features of Selenium using simple and detailed examples. This book will also teach you best practices, design patterns, and how to extend Selenium.
Selenium Testing Tools Cookbook shows developers and testers who already use Selenium, how to go to the next step and build a highly maintainable and reliable test framework using advanced features of the tool.
The book starts with tips on advanced location strategy and effective use of Selenium WebDriver API. Then it demonstrates the use of design patterns such as Data Driven Tests and PageFactory for building maintainable test automation.
It also explains extending Selenium WebDriver API along with implementing custom tasks and setting up your own distributed environment to run tests in parallel.
It concludes with tips on integrating Selenium WebDriver with other popular tools, testing mobile web applications, and capturing videos of test runs. This books provides examples in Java, C#, Ruby, and Python.
Selenium Testing Tools Cookbook will help you in building a highly robust and maintainable test automation framework from start to finish.
What you will learn from this book
- Understand Locators and use various locator methods to build reliable tests
- Build reliable and maintainable tests with Selenium WebDriver API
- Use PageFactory Pattern to build a robust and easy- to-maintain test framework
- Build data driven tests and extend Selenium API to implement custom steps and checks
- Learn to integrate and use ATDD/BDD tools such as JBehave, SpecFlow, and FitNesses with Selenium WebDriver
- Set up iPhone/iPad & Android simulators and devices for testing your mobile web application
- Set up Selenium Grid for faster and parallel run of tests, increasing test coverage and reducing test execution time
- Capture screenshots and videos of test runs
This is a cookbook packed with code examples and step-by-step instructions to ease your learning curve.
Who this book is for
This book is intended for software quality assurance/testing professionals, software project managers, or software developers with prior experience in using Selenium and Java for testing web-based applications. This book also provides examples for C#, Python, and Ruby users.