Skip to content

Finchett.com

A brain dump

  • Home
  • Blog
  • About
  • Kubernetes
  • SQL Server
  • Contact
  • Newsletter
  • Finchett.com Privacy Policy

Tag testing

  • Home
  • Faker.Net: Data Generation for Developers
29 May 2024

Faker.Net: Data Generation for Developers

By Stephen in Development Tag fake, testing

Introduction Data plays a pivotal role in the applications we build. From testing applications to populating databases, the need for realistic, randomised data is incessant. Enter Faker.Net, a powerful library…

Read More

13 January 2024

Exploring Playwright’s Trace Viewer

By Stephen in Development Tag playwright, testing

Introduction One of Playwright's most useful features is its Trace Viewer. This blog post explores what Playwright’s Trace Viewer is, how it can be used, and how it can help…

Read More

8 January 2024

API Mocking with Mockoon

By Stephen in Development Tag apis, mock, mockoon, testing

Introduction API mocking is an essential part of modern web development, allowing developers to simulate server responses and streamline the testing process. Mockoon is one of the simplest and most…

Read More

5 January 2024

Using NUnit to test Exceptions

By Stephen in Development Tag c#, exceptions, nunit, testing, unit-testing

Introduction Testing exceptions in C# using NUnit is an important aspect of ensuring your application handles error conditions correctly. NUnit provides a concise and expressive syntax for asserting that exceptions…

Read More

4 January 2024

Jest: The Comprehensive JavaScript Testing Framework

By Stephen in Development Tag jest, testing, unit-testing

Introduction Jest is a JavaScript Testing Framework known for its simplicity and ease of use. It is particularly favoured in projects utilising React, Angular, Vue, Node.js, Babel, and TypeScript. This…

Read More

27 November 2023

Testing Popup Windows with TypeScript and Playwright

By Stephen in Development Tag playwright, testing, typescript

Popup windows are a common feature in modern web applications, and testing them requires a nuanced approach. In this blog post, I'll use TypeScript and Playwright to test popup windows…

Read More

27 November 2023

Use PlayWright to test www.google.com

By Stephen in Development Tag playwright, testing

Introduction Automated testing is a cornerstone of modern web development, ensuring that applications behave as expected. In this blog post, we’ll use TypeScript and Playwright to write a test for…

Read More

22 November 2023

Understanding Playwright’s Screen Capture

By Stephen in Development Tag playwright, testing

Introduction Ensuring web applications' visual consistency and functionality in web development is critical. This is where Playwright, a powerful node library for browser automation, stands out with its screen-capture capabilities.…

Read More

22 November 2023

Learn how to create Playwright Tests

By Stephen in Development Tag playwright, testing

Introduction In the fast-paced world of web development, ensuring the reliability and functionality of web applications is paramount. Playwright, a modern automation library, provides an efficient solution for testing web…

Read More

Search

Table Of Contents
  1. Introduction
    • What is Playwright?
  2. Setting Up Playwright
    • Installation
      • Prerequisites:
      • Steps:
  3. Writing Your First Test
    • Basic Test Structure
      • Example Test: Checking a Website's Title
  4. Running the Test
  5. Advanced Testing Scenarios
    • Working with Selectors
      • Example: Clicking a Button
    • Handling Inputs
      • Example: Filling a Form
    • Capturing Screenshots
      • Example: Taking a Screenshot
    • Testing on Different Browsers
      • Example: Running Test on Firefox
  6. Best Practices
  7. Conclusion

Recent Posts

  • Running Proxmox on a Raspberry Pi
  • Honouring .gitignore settings
  • Faker.Net: Data Generation for Developers
  • Exploring MiniExcel: A Lightweight .NET Library for Excel Operations
  • File Path Size Does Matter

apis (4) async (8) c# (103) devops (4) dotnet (5) esp32 (11) git (11) hardware (6) joins (6) kubectl (4) kubernetes (13) logging (4) nanoframework (6) network (8) NFS shares (5) nunit (8) patterns (34) performance (7) pi (8) playwright (7) plugins (8) proxmox (13) serilog (4) setup (16) sql (46) testing (9) tools (6) tslint (4) typescript (23) unit-testing (9) webapi (4)

Archives

Get the Newsletter

Categories

  • Development
  • Infrastructure
  • Other
  • Plugins
  • Raspberry Pi
  • wordpress

Recent Posts

  • Running Proxmox on a Raspberry Pi
  • Honouring .gitignore settings
  • Faker.Net: Data Generation for Developers
  • Exploring MiniExcel: A Lightweight .NET Library for Excel Operations
  • File Path Size Does Matter

Proudly powered by WordPress| Theme: SpicePress Dark by SpiceThemes

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .

Finchett.com
Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookies

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.