Share via

Automation testing for WebView2-based UI

Anonymous
2023-09-20T09:44:42+00:00

Hello,

I need an advice regarding WebView2 automation testing.

We have recently started a project which is a VSTO add-in with WebView2-based UI along with O365 add-in. Hence, we now have to consider automation testing for both apps on Desktop. Of-course, we can test both apps using native approach, but is there a way to use Selenium Web-Driver for this purpose?

I have tried this guide Automate and test WebView2 apps with Microsoft Edge WebDriver - Microsoft Edge Development | Microsoft Learn to connect to my WebView2 in Outlook add-in, but it doesn't seem to be working.

Please let me know if there are any suggestions.

Best regards

Microsoft Edge | Other | Windows 10

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. DaveM121 891.1K Reputation points Independent Advisor
    2023-09-21T08:21:33+00:00

    Glad to help!

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2023-09-21T08:21:03+00:00

    Got it, thank you!

    Was this answer helpful?

    0 comments No comments
  3. DaveM121 891.1K Reputation points Independent Advisor
    2023-09-20T10:17:56+00:00

    Hi, I am Dave, I will help you with this.

    I apologize, Community is just a consumer forum, due to the scope of your question can you please post this question to our sister forum on Microsoft Q&A (The Developers Forum)

    Over there you will have access to a host of developers and programming experts and will get a knowledgeable and quick answer to this question.

    https://docs.microsoft.com/en-us/answers/index....

    Was this answer helpful?

    0 comments No comments