Selenium with C#
eBook - PDF

Selenium with C#

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

Pallavi Sharma

Share book
  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)

Pallavi Sharma

Book details
Table of contents
Citations

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

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
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.
Do you support text-to-speech?
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.
Is Selenium with C# an online PDF/ePUB?
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.

Information

Table of contents