How can I do UI Test automation for the UWP project of my Xamarin application - xamarin.uwp

As the question says, I have a Xamarin forms application that targets Android, iOS and UWP. I am able to use Xamarin.UITests for UI testing on the Android and iOS project, but I need a frame work to help with UI testing on UWP. I found this and while it looks helpful, its quite hard to understand, it seems old, so not sure if all of it is still up to date, and the third step in the process is missing (page is 404).
I've also heard of WebDriver, but cannot find any straight forward documentation for how to use it for Xamarin.UWP.
Any ideas on how I can test for UWP?

after i research, I found this method that you can try
this link : https://learn.microsoft.com/en-us/visualstudio/test/walkthrough-creating-and-running-unit-tests-for-windows-store-apps?view=vs-2022

Related

Need help Android and iOS-App developed on Xamarin

Need some help on xamarin Platform. I understand it can be used to develop Android-base and iOS-base App on Xamarin. I have the following questions:
For Android and iOS-based app develop on Xamarin, can the app run on Android-tablet ad iOS-tablet respectively? what I need to do for both tablets respectively?
If there are new controls for android and iOS, how Xamarin will update this for development?
1) Yes they can run on Android Tablet and iPad. Your code logic would remain the same but you would need to provide for the UI since the resolutions are different.
For iOS, Xamarin makes it simple by providing for a Universal template which allows you to provide different layouts for iPhone & iPad.
For Android, there is no template as such but the process remains the same just as you would for phones with different resolutions.
2) Assuming you are talking about the default controls, they will made available in the Xamarin framework via their regular update channels. First they are in Alpha, then in Beta and once the bugs have been ironed out, they are made available to Stable channel which can then be used in the production apps safely.
I would recommend you go through their docs which are quite good and explains this whole thing in quite detail. Xamarin Docs

AsyncBridge.portable for Xamarin.ios

I created application with mvvmcross and I want to target WPF, andoid and ios.
I used task and async/await in my core PCL library.
It works with WPF and Android because I use Microsoft.Bcl.Async and AsyncBridge.Portable from Daniel Plaisted.
My problem is with ios version because Daniel not implemented AsyncBridge.Portable for ios.
I would like to know if someone maked it or if someone know where I can find source code of AsyncBridge.Portable of Daniel ?
If Daniel, you sees this post, can you explained me how can I make ios version ? :)
Thank you
You can find the source code here. From that, you may be able to just adapt the Android code to work on iOS.
However, official Xamarin PCL support is coming soon (-ish), and that may change how you need to do this (or make it so you don't need to do it at all).

is there any java SDK available to implement google-dfp ads for J2ME?

Is there any way to implement google-dfp ads for J2ME platform? I have tried few things using following link and I am not getting anything. Can anyone help me out in this?
http://support.google.com/dfp_premium/bin/answer.py?hl=en&answer=1638620
seems till now its only for android ,ios and windows mobile. you can have a look here

how to migrate visual studio C# app to monotouch

I have an existing application developed using Microsoft Visual Studio 2010 C#. I just purchased Xamarin's Monotouch product which allows me to use their IDE MonoDev to create iPhone/iPad applications from scratch by coding C#. Right now I don't want to code a new application. I want take my existing C# application import the source into monodev/monotouch and have the result run on the iPhone/iPad. My existing C# application is designed for deployment on Android phones/tablets using Xamarin's Android product. It works great! I have begun wading into the Xamarin documentation, samples, tutorials etc. But I need to port the existing application to iPhone/iPad right now, right away. I really don't have the luxery to spend time learning from scratch. I've got to belive someone has already gone down this migration path. If you have can we talk, email, or do you know if there is a guide describing the specific steps to take to accomplish this?
TIA
Xamarin MonoTouch does not allow you to run any C# application and run it immediately on an iPhone. The UI layer is native, so the C# code that constructs the UI must use the Xamarin bindings onto the Apple UI APIs.
The 'standard' migration process is to create an empty MonoDevelop project then start adding your existing C# business logic files, resolving any compilation issues as they arise.

Javascript framework support in phonegap for cross-platform?

Anyone have the idea of which Javascript framework is much supported by the cross platform
for PhoneGap App development.
I search on the web and find the JQuery Mobile framework but it is not much compatible with the android it shows problem with UI while it is much supported by the iPhone.
There is any JSframwork supported by the all max platform?
Please Help..
I personally use DataZombie's fork of jQTouch - https://github.com/DataZombies/jQTouch
The transitions and scrolling all work fine on Android unlike some of the others.
Android doesn't have a built-in theme for Android the way it does for iOS, but I was able to put one together for my app fairly easily (it's just CSS and a few images). When it is more complete I will probably release it, but you should be able to do your own or use the jet one (that looks fairly Android-ish).
None of the frameworks really looks like a proper native Android app out of the box as far as I have been able to tell. Nearly all of them seem to have a very iOS-centric navigation system (back buttons in nab bars, etc) that just don't exist in native Android apps. One of the first things I did in my theme was to get rid of any back buttons thus relying on the hardware back button for backward navigation (more like what Android users expect).

Resources