Comments (18)
Appium already has support for UWP, but unfortunately AppCenter doesn't support the C# Appium client. (as per - #102)
An alternative would be to add UWP support to Xamarin.UITest.
Either way, currently there is no possibility to write C# UI automated tests that can run on all three platforms: iOS, Android and UWP.
from appcenter.
Any movement on this? As a company we need to decide if we will go 'all-in' on Xamarin.UITest, but we will need test coverage in iOS, Android and UWP.
from appcenter.
Well, right now we do in fact write C# UI automated tests for all three platforms using Appium and the .NET Appium Client.
However, we run the iOS and Android ones on emulators created on Azure Devops hosted macOS Agents and the UWP on a OnPremise Windows 10 Agent.
However, it would be great if we could run the iOS and Android tests on real devices on AppCenter.
Writing two UI tests codebases, one for iOS / Android and one for UWP is not an option for us - too much maintenance overhead.
from appcenter.
Yes would be fantastic to use Xamarin UI Test for a Xamarin Forms project for all 3: iOS, Android, and UWP - seems logical. Will this be taken on any time soon?
from appcenter.
Thanks for request @JanabiSoft. As I'm not familiar with the UWP UI Testing scene, is there a specific testing framework you would prefer?
from appcenter.
hi @Oddj0b i'm not sure about the cloud but locally can be done with windows application driver and appium
https://medium.com/@yostane/automated-ui-testing-of-a-uwp-app-using-appium-dc10d8df6631
from appcenter.
@JanabiSoft Thanks for the input, having UWP devices available is only half the work the other half is supporting a testing framework. Getting input from customers is an important step in making the right choice.
from appcenter.
Can you consider the WinAppDriver ?
from appcenter.
I'm not sure I understand the question. WinAppDriver is basically Appium, since it is used by Appium under the hood on UWP.
from appcenter.
@cosminstirbu You mentioned earlier that it is not possible to write C# UI automated tests that can run on all three platforms, what about writing 2 test systems one for mobiles and one for windows, is it possible?
from appcenter.
Xamarin.UI test can work with UWP.
The Xamarin.Forms team implemented Xamarin.UI test for UWP:
https://github.com/xamarin/Xamarin.Forms/blob/master/Xamarin.Forms.Core.Windows.UITests/WinDriverApp.cs
It just hasnt been merged into the official Xamarin.UITest.
The way I see it working is using Xamarin.UITest as the testing framework and WinAppDriver, exactyl how the forms team currently do it:
https://github.com/xamarin/Xamarin.Forms/tree/master/Xamarin.Forms.Core.Windows.UITests
If you want to run on physical deviced attached you can run via an ethenet cable:
https://tomsoderling.github.io/Wired-Debugging-on-Surface/
Be nice if the appcenter team could play around with the idea of supporting UWP automated testing. I think a couple of teams need to communicate with each other at Microsoft to bring it all together though
from appcenter.
Any update on this?
Is this expected to be in soon or are there any alternatives?
from appcenter.
Hi @AvaJV no updates yet but it's something we're considering. in the meantime, we recommend trying out WinAppDriver: https://github.com/microsoft/WinAppDriver. Happy to connect you to that team if you'd like to learn more.
Thanks!
from appcenter.
@winnieli1 I've got UWP UI tests (using the WinAppDriver and the Xamarin.Forms implementation of the UWP wrapper https://github.com/xamarin/Xamarin.Forms/blob/master/Xamarin.Forms.Core.Windows.UITests/WinDriverApp.cs)
but I haven't found a way to automate them using Visual Studio Online.
Even following this: https://github.com/microsoft/WinAppDriver/wiki/WinAppDriver-in-CI-with-Azure-Pipelines
Still can't get them to automate
from appcenter.
Hi @JKennedy24,
What kind of errors are you running into? Are you using a public "MS-hosted" agent or a private one?
Feel free to create a new ticket on the WinAppDriver board and tag me.
from appcenter.
The Xamarin.Forms team implemented Xamarin.UI test for UWP:
https://github.com/xamarin/Xamarin.Forms/blob/master/Xamarin.Forms.Core.Windows.UITests/WinDriverApp.csIt just hasnt been merged into the official Xamarin.UITest.
@JKennedy24 Is there an issue or pull request that I can follow so I can be alerted when the merge completes?
from appcenter.
This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.
from appcenter.
This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion.
from appcenter.
Related Issues (20)
- iOS 17 SDK Support HOT 8
- Add button to download all errors/crashes of an app
- Harsh HOT 1
- Full MAUI support HOT 1
- Appcenter CLI not working HOT 2
- Can't build Xamarin.ios with Xcode 15.1 and SDK 17 HOT 21
- Keep App Center alive HOT 11
- Open Source for Self-hosting AppCenter. HOT 7
- App Center Retirement: How to handle UWP / MAUI Apps? HOT 4
- AppCenter Retirement: How to handle .NET MAUI Apps? HOT 8
- App Center Retirement: How to handle WPF Apps? HOT 2
- App Center Retirement: open-source/license distribution platform? HOT 2
- App Center Retirement: Redirect appcast url
- App Center Retirement: Application Insights integration HOT 4
- Appcenter login is not working through Github actions HOT 2
- Connection is not private appcenter website HOT 5
- I am directed to the login page for public groups. HOT 9
- Add XCode 15.3 in iOS build agent HOT 1
- Continue support for Xamarin.UITest and add .NET 8 support HOT 3
- Update Xamarin.UITest to support iOS 17 permission request dialogs HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appcenter.