Simulate Coded UI Test for Windows Phone application - wpf

I am going to create an WPF application that simualates the Coded UI Test for Windows Phone 8.1.
I created a Coded UI Test project for Windows Phone inside Visual Studio 2013 and I understood it code.
So I want to simulate this technology on my WPF application without running VS2013. I could run the Windows Phone emulator without running VS2013 by opening the XDE.exe but know I need to know how to connect to this WP emulator from my WPF application?
So how can I do it, please help me. Thank you so much!.

Related

Windows Phone or Windows Phone Silverlight

I have just installed Windows 8.1 and then installed Visual Studio 2013 Community Edition.
I tried to create a Windows Phone app and found out that there are two ways of creating it (in fact 3 if you count Universal Apps if I am not wrong)
Windows Phone
Windows Phone Silverlight
Can someone please tell me what exactly is the difference between these two? I read a couple of articles but still don't understand and this whole thing is very confusing.
When I tried to create a Windows Phone Silverlight project then it asked me whether I want to target 8.0 or 8.1.
When I tried to create Windows Phone project then it asked me to get a Developer license and didn't ask about version 8.0 or 8.1.
What shall I chose if my aim is to create an application for mobile devices (tablet/phones) that will run on maximum devices running Windows Phone 8 version?
Windows Phone 8 Silverlight is the older UI on Windows Phone 8. WinRT XAML is used for Windows Store Apps(these are Universal Apps). Windows Phone 8.1 Silverlight is a bit different as explained here.
Windows Phone Silverlight, although older, is better in some ways. If your aim is to develop an app that is targeted only for phones and that doesn't have any use getting ported to Win8/RT, go with Silverlight. Background Audio is a mess in WinRT. Speech Recognition with Cortana is worse.
The controls of WinRT XAML are buggy. For example, there is a clear performance degradation of MapControl in WinRT XAML, whereas, in Silverlight, this is smoother.
On the other hand, Windows Store Apps have .NET Native, which converts C# to native C++ code, resulting in performance gains.
For a beginner, I would advise starting with Windows Phone 8 Silverlight apps.
Windows Phone Silverlight is the "old" platform that WP8.0 apps are built on. It asked you to target 8.0 or 8.1 because WP8.1 has a hybrid mode that lets you build WP8.1 apps but still have access to the Sliverlight API if you had a whole lot of legacy code you didn't want to port over just yet.
Windows Phone is the (mostly) universal platform for WP8.1 that is based on Windows Runtime.

Can my WPF application run in touch screen?

I am creating a WPF application in Visual Studio 2012.
Can I deploy and use this application through a touch screen environment?
Then what windows OS should I select ?
Thanks in advance.
Absolutely yes, My collegue has done a project for press reviews that runs in touch screen on Win7 Pro machine. Refer here for documentation.
Refer also this SO question

WPF .exe application file is not working in Windows 8 surface Tablet

Am new to WPF .Previously was worked with Windows 8 /Windows phone application developer. I created a List application using ListBox in WPF. Since i wanted to test the application on a touch device i tried to run it's .exe file on my Windows 8 Surface tablet. I could not run my application.
Can't I run WPF application on Windows 8 tablet? Currently am working & running it using a Windows 8 PC , Where it runs. Please provide any information regarding this.
Or how we can create my application's package so that we could run it on Windows 8 surface tablet ?
For the Surface Pro tablets, you should still be able to run WPF. However, the standard tablets will only run Store Apps.

Application that works on pc and mobile

I have to create an application with metro design on vs2010 and windows 7.
The application should work both on pc and device without internet.
Initially i though of wpf but i do not know if it works on Mobile.
Please let me know how i can develop once such standalone application for
both device and PC also
Unfortunately, there is not a single platform that targets both PC and Phone...although, the presumption is that Windows Phone and Windows Store applications are moving toward a unified foundation.
Windows Store applications unfortunately don't run on Windows 7. Only Windows 8 and above, but the advantage is they work with the desktop version as well as the tablet version of windows.
If you want to target windows 7 and say windows phone as well, your best bet is to use portable class libraries to create a common "core" for the application. And use WPF for the desktop which has a lot in common with XAML for Windows Phone.
If you want to target windows phone 8, you have to use Visual Studio 2012 or above.
Pretty old question, but in case anyone is still blindfolded, there is UWP.
Furthermore, if you want to have XAML and C# deployed as native apps in a variety of platforms (UWP, Droid, iOS, WinPhone), be sure to check out Xamarin, which now belongs to Microsoft, and follows the awesomeness of open-source MIT just as the entire .NET does now.

Testing Silverlight WP7 Apps with Pex - Assembly version to Silverlight 5 dll not found

as the release notes of Pex show, it is possible to test Windows Phone Apps.
Now I created a very basic Windows Phone app and wanted to test a simple method in it with Pex (Run Pex). I'm using Visual Studio 10 Ultimate and Silverlight 5.
After I've pressed Run Pex, no test cases are created. But some errors are appearing.
It says that file:///c:\Program Files\Microsoft Silverlight\5.1.10411.0\System.Windows.dll or a dependency to that is not found. But the file exists. Anyone has an idea how I can help myself?

Resources