Windows 10 (UWP) Coded UI
Asked Answered
I

3

5

There is no Coded UI project in Visual Studio 2015 for UWP and I can't find any documentation anywhere saying there is a plan to bring support.

Does anyone know if there is planned support it or have some alternative UI testing framework to work with Windows Universal?

Italicize answered 26/1, 2016 at 22:17 Comment(2)
Have you checked #25872522 ?Ensor
That question doesn't answer this, but does match my premise and the information I have found so far. I am focusing on unit tests but am hoping for codedUI since UWP is supposed to be the MS next big thingItalicize
R
1

I guess you can use this Coded UI Test Project (Universal Windows) which is under

File->New->Project->Templates->Windows->Universal-->Coded UI Test Project (Universal Windows)

for Coded UI project in Visual Studio 2015 for UWP.

Reis answered 22/9, 2016 at 19:21 Comment(0)
C
0

Maybe an important information for other to come is. That it’s not possible to create such projects in the community version of visual studio. You need at least the enterprise version as mentioned here.

Conrado answered 21/11, 2016 at 13:5 Comment(1)
This was with enterprise Visual Studio. Coded UI projects were available for old architectures, but not UWP.Italicize
L
0

An update for anyone arriving at this question is that Microsoft are deprecating support for Coded UI testing after the Visual Studio 2019 release...

https://learn.microsoft.com/en-us/visualstudio/test/use-ui-automation-to-test-your-code?view=vs-2017

Coded UI Test for automated UI-driven functional testing is deprecated. Visual Studio 2019 is the last version where Coded UI Test will be available. We recommend using Selenium for testing web apps and Appium with WinAppDriver for testing desktop and UWP apps.

So, the suggested answer by Microsoft for automating UWP UI testing is to adopt Appium with WinAppDriver.

Lightness answered 31/1, 2019 at 14:44 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.