GUI testing tool for windows mobile application - windows

Can somebody suggest me an open source GUI testing tool for windows 7/6.5 mobile applications?? N any idea on usage of Microsoft's UI Automation framework for windows mobile application.
Thanks in advance.

Try NUnit, Its the Best one to End your Search
http://nunitwindowsphone7.codeplex.com/
Regards
Ravindran Antonysamy

The Silverlight Unit Test framework is probably what you're after for Phone 7 (there is no "Windows Mobile 7"). For 6.x I'm not aware of anything (that I'd recommend anyway).

Related

How to develop SIP (VOIP) application

I developed sip application in Android. and now I am developing it in Windows Phone 8. I am new in Windows phone and don't know anything that Which library should be use here? Do Microsoft provide free library for SIP?
Please any suggest me Which way will be best for developing or any source code or library or demo application?
I think you can start from this example.
There is a full sample app there.
Take a look at boghe, it's the SIP video client for Windows Phone 8 and Surface Pro. You'll learn a lot from there.
It also cover VoIP apps for Windows Phone 8, which teaches you to integrate VoIP into WP8 experience

Do Windows Mobile 6.5 applications work on Windows Phone 7?

And if not then what do I have to do to make them?
(Our apps are in latest C# .NET.)
No. You would need to port your apps to the WP7 platform. You may be able to reuse some code, but the UI model is completely different.
Much of the C# sharp code is most likely the same but some things like saving and loading are different as well as you having a choice between XNA and Silverlight. The link below should contain a lot of the information you need.
http://create.msdn.com/en-US/education/catalog/

Windows Phone 7 mocking framework?

Are there any mocking frameworks for Windows Phone 7 or do I need to create fakes manually?
I've not found any on google, and although I found Moq listed on WP7 resources page, I couldn't get it working.
There are no Mocking frameworks that support WP7 and I suspect there will never be any until WP7 supports Reflection.Emit.
On the .net framework there are many options that exist for the creation of a mocking framework (Profiler API, CodeDem, Refleciton.Emit, et al). The majority of these techniques won't work on Silverlight itself as it's missing quite a lot of the BCL/CLR. All existing Silverlight mocking frameworks use Reflection.Emit. WP7 does not support Reflection.Emit and thus no Silverlight mocking framework will work on WP7.
Because of that reason, I personally test WP7 assemblies on the Silverlight runtime. It's far from optimal (it sucks), but it's the best that can be done under the circumstances.
One could theoretically build a Mocking framework that uses Post-Build MSIL weaving that should work on WP7, but it's yet to be done.
If you'd like WP7 to support Reflection.Emit consider voting on this uservoice issue: WP7 should support Reflection.Emit for Mocking frameworks
EDIT 2/12/2011: Refleciton.Emit is supported on Mango. Hooray! Reflection.Emit based Mocking frameworks should just work.
I'm not aware of any currently available.
This article by David Gadd shows an example of testing on the phone using manually created fake objects and may be a useful resource.
I just got TypeMock Isolator, and it works with Windows Phone 7 (sortof).
You need to create a default Visual Studio Test project, and you will get an error saying that your Windows Phone 7 project can not be referenced, but for some reason the Mocks and Tests work perfectly.
Anyway, I'm really happy with the mocks it is able to create.
Any mocking framework that supports Silverlight 3 should work with Windows Phone 7. You may need to use a previous version of the framework to "dumb it down" to Silverlight 3, though.
Just wanted to notice some information that I found on MSDN:
http://msdn.microsoft.com/en-us/library/hh821022.aspx#sec2
The mock classes were manually developed as it is not possible to use a mocking framework on the Windows Phone platform. Mocking frameworks require the ability to emit Microsoft intermediate language (MSIL) code, which is not currently possible on the Windows Phone platform

How do I Emulate/Debug Windows CE 5.0 applications in C#?

Here's my problem. I'm currently trying to develop a .Net Compact Framework 2.0 application (in C#) to a Windows CE 5.0 device.
Firstly: How do I debug/emulate the application in Visual Studio 2008 ? I doesn't mean debugging an application already deployed on the device, but debugging the version on my desktop. I have limited or no access to the prototype device.
Secondly: How do I integrate it with the OS image made by Platform Builder for Windows CE 5.0 ? Do I need to ?
Thank you for your time
You have a few options. One would be to install the Emulator BSP, roll your own emulator image, build a custom SDK and install it, then debug targeting that emulator. It's fairly simple to do.
That said, I still wouldn't do it. A far better option is to just go buy a cheap WinCE device like an eBox 4300 jump start kit. It's way easier, faster and and more reliable to target real iron.
As for integrating the app, it's like any other. Make sure you have the CF component included in your OS design from the Catalog, then add your app to your PROJECT.BIB (and REG and/or DAT files if needed) and run makeimg again.
Okay, so thanks everyone for the quick and nice answers. Although I've found my own solution yours may be as valid as mine.
Basically what I didn't tell you (because I didn't really know it either) is that I didn't actually need to emulate the OS, I only needed to work with the framework. I found the best way to "emulate" such situation here.
Also, I found that the easiest way to deploy the application to the device is to use ActiveSync and I found just the right (MSDN) article for it.
Ctacke: It's probably due to my only learning this type of development, I somehow made an error while creating/installing "my own SDK" so the Visual Studio stopped functioning properly. But of course some digging made that go away. Thanks anyway. I liked the idea of developing with a testing device, unfortunately the company I work for already picked a device but they couldn't issue me a prototype for development purposes yet.
Frans, I haven't found your CE simulator, but I'm pretty sure that I didn't look for it enough so thanks.
You should use the emulator which comes with the CE SDK. You can use that directly from vs.net, and it has all win CE features. DEbugging then works on that emulator, so you can step through your code as if it's running on a device.

High performance Ruby listbox

I need to make a small application in Ruby that will display log lines received over TCP in different colors.
What is a recommended GUI framework to use for this type of app?
I should work on Windows and Linux.
Shoes is a great lightweight GUI framework with mac, linux, and windows support.
RuGUI is a framework which aims to help building desktop applications: http://rugui.org/ and https://github.com/rugui/rugui

Resources