Cover....1
Title....2
Copyright....3
About the Author....5
About the Reviewer....6
Acknowledgement....7
Preface....8
Code Bundle and Coloured Images....11
Table of Contents....13
1. Introduction to the Selenium Project....20
2. Web Applications Used in the Book....34
3. Browser Automation and More Using Web Driver....46
4. Handling Web Elements....62
5. Locate HTML Elements Using the By Class....76
6. Synchronization with Selenium....98
7. Working with HTML Elements - Part 1....116
8. Working with HTML Elements - Part 2....142
9. Working with HTML Elements - Part 3....164
10. Actions, Options, and Capturing Screenshots....200
11. Unit Testing with NUnit....228
12. Learn How to Manage Objects Using a Page Object Model....248
13. Handling Test Data....262
14. Selenium Grid....284
Index....306
Back Cover....310
Selenium, a web browser automation tool that has been around for a long time, is extensively utilized by developers and testers to generate automated tests for verifying the proper functioning of web applications. When combined with C#, Selenium can produce automated tests that are both robust and efficient.This book is a comprehensive guide to learning Selenium, one of the most popular web automation tools in the industry. It starts with an introduction to Selenium and its three projects - Selenium IDE, Selenium WebDriver, and Selenium Grid. It then provides a comprehensive overview of the various entities in the Selenium C# client libraries, such as the WebDriver, WebElement, and By classes. The subsequent sections of the book elucidate how to handle different HTML elements, including forms, tables, dropdowns, windows, alerts, and frames. The book also explores the Option class, which is utilized for managing web browsers. In addition, the book emphasizes the significance of unit testing in test automation and explains how to implement the NUnit framework. To manage object information, the book delves into the Page Object model design pattern. Lastly, the book will help you set up and execute tests in parallel across various environments using Selenium Grid.By the end, you will be able to create automated tests for web applications with ease.
This book is for Test automation engineers, software testers, and software developers who are interested in learning about test automation using Selenium and C#.