Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

How to Test Your Windows 8 App Before Submitting to the Store

DZone's Guide to

How to Test Your Windows 8 App Before Submitting to the Store

· Mobile Zone ·
Free Resource

It’s always a good idea to test your application before submitting it to the store. The Windows Application Certification Kit (WACK) tool can save you from failing the early automated tests.

The first thing you’ll want to do is uninstall any existing build of your application. This is important because the WACK tool may fail if a previous debug build is still installed on the system. To uninstall your app, find it on the Start experience, right-click and choose ‘Uninstall’.

image

Next, make sure to change the project build to ‘Release’ instead of ‘Debug’. This can be done from the Visual Studio toolbar.

image

Now, under the Debug menu, clean and then rebuild the solution.

image

After the build completes, right-click on the project in the Solution Explorer window and choose Store –> Create app packages…

image

When prompted if you want to build the app for the store, say no.

image

When the app packages are finished building you’ll be presented with the option to run the certification kit.

image

If this option isn’t available, double-check that your project was actually built as ‘Release’ and not ‘Debug’.

Before you launch the App Certification Kit, close down other programs and set aside about 5 minutes for it to run. As the screen reminds you, when you see your app appear on the screen do not interact with it.

When the tests are done, if all is well you’ll see a successful report like the one below.

image

Topics:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}