Selenium with C#
eBook - PDF

Selenium with C#

Learn how to write effective test scripts for web applications using Selenium with C# (English Edition)

  1. English
  2. PDF
  3. Available on iOS & Android
eBook - PDF

Selenium with C#

Learn how to write effective test scripts for web applications using Selenium with C# (English Edition)

About this book

A beginner's guide to using Selenium with C# for automated web testing

Key Features
? Explore different ways to handle web elements using Selenium and C#.
? Learn how to manage data using popular file types such as Excel and CSV.
? Learn how to integrate NUnit with Selenium to create a powerful testing framework.

Description
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.

What you will learn
? Perform Cross-browser testing using Selenium WebDriver.
? Implement Synchronization using Implicit and Explicit wait.
? Learn how to handle the Action class in Selenium.
? Learn how to implement the Page Object Model using PageFactory.
? Setup and use Selenium Grid to execute tests in parallel.

Who this book is for
This book is for Test automation engineers, software testers, and software developers who are interested in learning about test automation using Selenium and C#.

Table of Contents
1. Introduction to the Selenium Project
2. Web Applications Used in the Book
3. Browser Automation and More Using WebDriver
4. Handling Web Elements
5. Locate HTML Elements Using the By Class
6. Synchronization with Selenium
7. Working with HTML Elements - Part 1
8. Working with HTML Elements - Part 2
9. Working with HTML Elements - Part 3
10. Actions, Options, and Capturing Screenshots
11. Unit Testing with NUnit
12. Learn How to Manage Objects Using a Page Object Model
13. Handling Test Data
14. Selenium Grid

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Selenium with C# by Pallavi Sharma in PDF and/or ePUB format, as well as other popular books in Computer Science & Quality Assurance & Testing. We have over one million books available in our catalogue for you to explore.

Table of contents

  1. Book title
  2. Inner Title
  3. Copyright
  4. Dedicated
  5. About the Author
  6. About the Reviewer
  7. Acknowledgement
  8. Preface
  9. Code Bundle and Coloured Images
  10. Piracy
  11. Table of Contents
  12. Chapter 1: Introduction to the Selenium Project
  13. Chapter 2: Web Applications Used in the Book
  14. Chapter 3: Browser Automation and More Using WebDriver
  15. Chapter 4: Handling Web Elements
  16. Chapter 5: Locate HTML Elements Using the By Class
  17. Chapter 6: Synchronization with Selenium
  18. Chapter 7: Working with HTML Elements- Part 1
  19. Chapter 8: Work with HTML Elements- Part 2
  20. Chapter 9: Working with HTML Elements- Part 3
  21. Chapter 10: Actions, Options, and Capturing Screenshots
  22. Chapter 11: Unit Testing with NUnit
  23. Chapter 12: Learn How to Manage Objects Using a Page Object Model
  24. Chapter 13: Handling Test Data
  25. Chapter 14: Selenium Grid
  26. Index
  27. Back title