UI test framework used by MS Teams and VSCode for Electron

Glofladru 1 Reputation point
2022-03-01T22:03:53.127+00:00

I'm stugging to find a good (free) front end testing tool for an Electron app (executable) and, since Microft have two major applications which use Electron, thought Microsoft must have some great tools for this. TestCafe provides some support but not enough for our application. There is PlayWright, which I suspect Microsoft might use since it's developing it, but cannot find any confirmation of this.

Does anyone know what Microsoft uses? Or have any insight into good Electron front end testing tools?

Thanks m

Developer technologies | Visual Studio | Testing
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,436 Reputation points Microsoft External Staff
    2022-03-02T08:05:16.827+00:00

    Hi @Glofladru ,

    Welcome to Microsoft Q&A forum.

    Please check this blog: WinAppDriver and Desktop UI Test Automation. Perhaps you can try to use Appium with WinAppDriver.

    Best Regards,
    Tianyu

    • If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    0 comments No comments

  2. Glofladru 1 Reputation point
    2022-03-02T21:41:50.743+00:00

    Thanks @Anonymous ! The only option would be Selenium but usually I see recommendations to use Selenium and Spectron. However Spectron has been depracated by Microsoft so it is most likely not an option. However, from searches related to your post I found this.

    https://stackoverflow.com/a/60863318/4612820

    Possibly an option!

    Still, I wonder what the MS Teams and VSCode developers use to test the front end of their products.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.