Category: Selenium
-
Selenium C# Component Class Creator GPT
I played with OpenAI’s custom GPT models and created the Mug Master GPT, which is something simple and entertaining to play with. Now, however, let’s look at creating something useful. How about a GPT that can create C# classes for Selenium automation based on an HTML element from a webpage? This is exactly what my… Read more
-
Generic Wrapped Table Class
From my experience, most web applications incorporate a table on one or more of their pages in order to organize and display data. Sometimes these tables only display data, but often there’s a button or link in each table row. When you’re testing a web application, you will need to interact with a table in… Read more
-
Adding SQLite to Selenium Tests
Adding SQLite database functionality to your Selenium tests is easy to set up. The TestManager class I wrote has various methods to write data to a SQLite database. I have been using the System.Data.SQLite NuGet package. You can use whichever one fits for your needs. I am not an expert on different packages for SQLite.… Read more
-
Selenium Automation–Starting a New Project in Visual Studio
I’ve been adding some bits and pieces of automation to the first few posts, but now I’m going to take a step back and go through the steps to set up a new project for Selenium Automation. It’s not that hard to get a Visual Studio project up and running to start automating web pages… Read more
-
Why You Shouldn’t Use Sleeps in Your Automation Tests and How to Get Rid of Them
In the world of automation testing, time is of the essence. While it may be tempting to use Thread.Sleep() to pause the execution of your test for a specific amount of time, this approach is generally considered a bad practice. In this blog post, I’ll explore why using sleeps in your automation tests is problematic… Read more
-
Automation Frameworks
Automation frameworks are designed to reduce code duplication, improve code readability, and enhance maintainability, making the testing process more efficient. Read more