Automated UI testing in .NET using Playwright and Specflow


wow, my 35 days account was accessed by someone in year 2015 and 2014 – I have started writing my feedback on social sites. One of the worse service provider. #Ipage is worse service provider. my account is just 35 days old and I pay the fees by my virtual card which i created for internet payment. #Ipage did not accept so I did payment by my original card. Issue one: After payment, I got hosting account. I hosted my site and got help from #Ipage support as well to fix one small issue. After three days my account got suspended and everything was deleted. when I chat support tem, he was not even ready to understand the issue. I gave him everything, who created my account. After 3 hours continuous chat, he agreed that it is #Ipage mistake. in net 12 hours my site was up. It was worse exp. Issue Two: After 10 days, again my account was suspended and #Ipage said that there is malicious activity and virus in the files. I again fight with #Ipage and it was four hours long chat. I sent my files to McAfee and Symantec and they confirmed that there is no virus. LaVerne, Ontario, Canada, quantummi.com


Check out SpecFlow: http://go.specflow.org/NickChapsas

Subscribe: http://bit.ly/ChapsasSub
Become a Patreon and get source code access: https://www.patreon.com/nickchapsas

This video was sponsored by SpecFlow

Hello everybody I’m Nick and in this video I will show you how you can start writing elegant automatic ui test in C# and .NET using Specflow as a base for them. Playwright is a framework created by Microsoft and it enables reliable end-to-end testing for modern web apps. It has some really cool features built into it that I will talk about in this video.

Specflow plugin for Rider: https://plugins.jetbrains.com/plugin/15957-specflow-for-rider

Don’t forget to comment, like and subscribe 🙂

Social Media:
Follow me on GitHub: http://bit.ly/ChapsasGitHub
Follow me on Twitter: http://bit.ly/ChapsasTwitter
Connect on LinkedIn: http://bit.ly/ChapsasLinkedIn

#dotnet #specflow #playwright

Nick Chapsas

19 Comments
  • riccardo roveri
    Posted at 11:45h, 29 June

    A video just on playwright would be great!

  • Bil Irving
    Posted at 12:05h, 29 June

    Ah, you use 1password too. I feel validated. Nice video as always.

  • Victor Borges
    Posted at 12:27h, 29 June

    Awesome content as always!

  • David Schaefer
    Posted at 16:03h, 29 June

    Can we use this framework for WPF desktop applications as well?

  • Robert Gelb
    Posted at 16:14h, 29 June

    A great Playwright video would be where you use a macro tool of some sort to record the web page workflow, then use Playwright to validate it.

  • Yevgeniy Shunevych
    Posted at 16:31h, 29 June

    Nice video, thanks. Recommend you also to take a look at Atata UI testing framework that I've been developing.

  • Diego Samano
    Posted at 18:36h, 29 June

    Amazing, this video just deserved itself the subscribed button, keep coding!

    Take a look at SqlKata (an interesting Query Builder) and pros/cons against EF, ADO, Dapper or how to work together (I like the approach SqlKata + ADO)

    Do you already have a Code Coverage video? Or how to deal with unaccessible code to be test it?

  • Ben Jamin
    Posted at 21:29h, 29 June

    Is there anything like this for WPF?

  • Eradicator 44
    Posted at 22:01h, 29 June

    I love it you know about Specflow <3 – I use Selenium & Specflow, so interested to watch this grabs coffee – this is great, you're really enjoying this and I love to see a Software Engineer use these tools Test Engineers use. Would love to see more on Playwright.

  • AcidRaZor
    Posted at 22:27h, 29 June

    Can you do a video about how to setup specflow in a ci/di environment and what it would take to make it work? (im a n00b with ci/di)

  • IdeasBySupreet
    Posted at 04:02h, 30 June

    Awesome. I have all seen people integrating spec flow with selenium.. but u came up with playwright integration.. liked it

  • Glib Kruglov
    Posted at 08:00h, 30 June

    Interesting video. Would be great to see same for desktop application instead of web.

  • Alexios Plomaritis
    Posted at 09:34h, 30 June

    Great video and thank you for the content. A question I have is, do you find that this ceremony and setup + maintenance bring adequate overhead for production environments? Do you actively use it and support it? Because a common issue is that the tools are great but on the long-run teams have to cut corners and it's always such processes that end up getting sacrificed.

  • Brian M
    Posted at 11:25h, 30 June

    I love Specflow. I'm doing a presentation at work later this month on how my team has started using it for integration tests (or whatever you call API tests where you test the full app while still mocking all external dependencies like DBs and other APIs) in conjunction with WebApplicationFactory. Works great, and makes for very readable tests for everyone!

  • Tofu 168
    Posted at 11:34h, 30 June

    Amazing video, thanks
    btw I'm a bit late about that but I love your new setup (chair facing left and green screen)

  • Chill and Hack with Joel
    Posted at 17:56h, 30 June

    Stumbled on Playwright from GitHub recommendations yesterday. This is cool stuff 👌

  • Noel Francisco
    Posted at 04:59h, 01 July

    Cool testing tool, and awesome presentation. Does it gives a summarized report of all the test cases (successful and failed scenarios)? Thanks.

  • Le Vu
    Posted at 07:45h, 01 July

    Great video!! Have Playwright support Windows authentication?

  • Christian Quirós
    Posted at 15:23h, 01 July

    Thanks for showing a feature file focusing on the behavior. (By the way, please let me know what was wrong with my previous deleted comment so I can behave and follow the rules next time. Thanks)