Using the Windows Phone Marketplace Test Kit

Introduction

Windows Phone Marketplace has stringent guidelines that an application needs to adhere to if it is to be accepted. Since the Windows Phone marketplace has been established, quite a few applications had to be resubmitted as a result of missing the criteria.

To help developers succeed the application submission process the first time, Microsoft has provided "Windows Phone Marketplace Test Kit". This kit contains a set of automated and manual tests, which can be executed to verify if the application meets the Marketplace standards.

How to Get the Windows Phone Marketplace Test Kit

The Windows Phone Marketplace Test Kit is available as part of the Windows Phone SDK. Once you have the SDK, it is accessible from any Windows Phone project opened under Visual Studio.

What Does the Windows Phone Marketplace Test Kit Check?

The Windows Phone Marketplace Test Kit checks a Windows Phone application for:

  • Certification requirements for images and screenshots.
  • Certification requirements for application icon and background image.
  • Application capabilities
  • Error handling
  • Back button usage
  • Prohibited API use
  • Memory usage requirements
  • Unhandled exceptions
  • Application size limits
  • Validity of application manifest

Accessing the Windows Phone Marketplace Test Kit

The Windows Phone Marketplace Test Kit can be accessed from Visual Studio. When a Windows Phone project is opened from Visual Studio, you can open the kit by right-clicking the project file and selecting "Open Marketplace Test Kit".

Open Marketplace Test Kit
Figure 1: Open Marketplace Test Kit

Hands-On

Open any Windows Phone project from Visual Studio. Right click the project file and select "Open Marketplace Test Kit".

The Marketplace Test Kit opens.

Marketplace Test Kit
Figure 2: Marketplace Test Kit

If it has been a long time since you have gotten the Windows Phone SDK, you might be prompted to download updated test cases. Choose Update if prompted.

Once the tests are updated, you will get a confirmation dialog as shown below.

Confirmation dialog for Marketplace Test Kit
Figure 3: Confirmation dialog for Marketplace Test Kit

Close and restart the Testkit to get the latest version of tests.

Choose all of the inputs for the tests as shown on the Windowsphone Test Kit home page.

Next, select the Automated Tests tab and click "Run Tests".

You will be prompted for a retail version of the XAP file if there is not one already created. Recompile the application.

In my dummy run, I had not provided some of the information, so the automated test run failed.

The automated test run failed
Figure 4: The automated test run failed

Once the failing criteria are satisfied, the test run should succeed and the application will be ready to be submitted to the Windows Phone Marketplace.

The Monitored Tests would need to be run on a real device to get the readings. The manual tests are also self-explanatory

Summary

In this article, we learned how we can use the Windows Phone Marketplace Test Kit to check the certification requirements confirmation of an application. I hope you have found this information useful.



About the Author

Vipul Vipul Patel

Vipul Patel is a Software Engineer currently working at Microsoft Corporation, working in the Office Communications Group and has worked in the .NET team earlier in the Base Class libraries and the Debugging and Profiling team. He can be reached at vipul_d_patel@hotmail.com

Related Articles

Comments

  • [ERROR]: Failed to process xap file

    Posted by Cristiane Freire on 07/20/2012 02:03pm

    Hi, i'm trying to run this test, but i get the following error: [ERROR]: Failed to process xap file. I have no idea what's wrong.

    Reply
  • Response to John Wiley's question

    Posted by vipul_vips on 02/15/2012 05:18pm

    Hi John, You cannot use MSVCPP 2008 to build mobile applications. The VS Express for Windows Phone is free and easily downloadable. Visit msdn.com and click on phone link to get the tools.

    Reply
  • news

    Posted by john wiley on 02/15/2012 05:12pm

    i have just got msvcpp2008. can i use it without do any change to build _mobile_ apps and use microsoft _marketplace_ for any dev there are out? rules also applies for the win7, symbian, & all.?

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Packaged application development teams frequently operate with limited testing environments due to time and labor constraints. By virtualizing the entire application stack, packaged application development teams can deliver business results faster, at higher quality, and with lower risk.

  • With 81% of employees using their phones at work, companies have stopped asking: "Is corporate data leaking from personal devices?" and started asking: "How do we effectively prevent corporate data from leaking from personal devices?" The answer has not been simple. ZixOne raises the bar on BYOD security by not allowing email data to reside on the device. In addition, Zix allows employees to maintain complete control of their personal device, therefore satisfying privacy demands of valued employees and the …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds