How to do automation of a coded user interface in a UWP application that has only WebView

I created a UWP application that contains only WebView . When the application is launched, WebView receives the URL on the Azure Remote App login page, where I can log in using my AD AD AD credentials and use the application (e.g. Excel) after logging in. Now the problem is, how can I automate all this with an encoded interface? I have the following two projects in Visual Studio that I used.

enter image description here

Now the problems are:

1) Recording and playback options are not supported for UWP in both projects.

2) If I use the Coded UI Test (Universal Windows) project, It cannot detect WebView or controls inside WebView (so this is useless to me).

3) If I use the Coded UI Test Project (Universal Windows Phone) project, it is able to detect the web view and the elements inside it, such as the email and password fields, and the login button, but in the code I have nothing like XamlWebView which I can use, and then use SearchProperty to find the email field and use it (so I'm halfway there).

The only two links that I found relevant are:

Windows 10 Coded User Interface (UWP)

Coded User Interface - Windows - Generic Applications

But they do not offer much help.

I also went through WinAppDriver (I saw a video on Channel9 from // build 2016, where Gopinat and Yusuf explained about WinAppDriver), but could not figure out whether it can be used in my Script and how.

I hope I have clearly stated my question. Thank you for your help.

+7
webview win-universal-app coded-ui-tests
source share

No one has answered this question yet.

See similar questions:

6
Coded User Interface - Windows - Generic Applications
5
Windows 10 Coded User Interface (UWP)

or similar:

7
Testing Windows 10 Universal App on XBOX One
4
When starting the UWP application
one
chromedriver.switchTo (). frame (webview) crash when testing chrome application
one
UWP WebView does not display correctly if not in the visual tree
0
What is the AutomationId of my universal Windows application?
0
How to get a Windows Uwp Windows 10 app to load a URL after pausing / resuming and automatically restarting while timing
0
Get dom element by ID in WebView UWP
0
How to combine the UWP test application with the Azure Mobile App?
0
How to click the button that is in the content dialog for a UWP application using an encoded interface?
0
Is there any difference between coded interface projects and testing module?

All Articles