您的位置:首页 > 其它

Windows Phone Dev Center - Simulation Dashboard for Windows Phone

2013-05-02 23:59 477 查看

Simulation Dashboard for Windows Phone

7 out of 12 rated this helpful - Rate this topic

April 09, 2013

Applies to: Windows Phone 8 | Windows Phone OS 7.1

A phone app is vulnerable to the unexpected actions of its users, to the constraints of the devices and networks on which it’s running, to the location where it’s being used, and to the many possible interruptions that can occur on a phone. These vulnerabilities can result in problems like the following:

Large downloads over slow networks make the app unresponsive.

Music and video playback stutters on networks with high latency.

The app fails or crashes because of intermittent network connectivity issues.

An app that uses location services fails to handle intermittent interruptions in the flow of data.

The game or app continues to run, instead of pausing, when a reminder or a phone call interrupts the user.

The app fails to restore its state correctly after the phone has been locked and unlocked.

Typically a developer builds and tests an app under optimal conditions, and then releases the app with the hope that it will work equally well in the real world. There the app encounters all the vulnerabilities listed above. When the app fails to handle these conditions smoothly, the user experience is disappointing. Dissatisfied users are likely to give the app negative reviews in Windows Phone Store.

The Simulation Dashboard in Visual Studio gives you the option to validate in advance how your app will behave under real-world conditions. When you use the dashboard in conjunction with app monitoring and profiling, it provides detailed and actionable insights to understand and improve the performance of the app. With this information you can tweak your app to ensure that the app performs well under various real-life conditions, and that your users are satisfied and happy with your app.

This topic contains the following sections.

Simulating real-world conditions by using the Simulation Dashboard

Simulation options

Including simulation testing in your development workflow

Related Topics

Simulating real-world conditions by using the Simulation Dashboard

To open the Simulation Dashboard, in Visual Studio, on the Tools menu, click Simulation Dashboard. After you open the dashboard, it remains open and available even when you open and close projects in Visual Studio.


Note:
When the default project type is not a type that runs as a stand-alone application — for example, a class library or a background agent — the menu option for the Simulation Dashboard is not available.

To learn more about the real-world conditions that you can simulate by using the Simulation Dashboard when you are testing your app, see the following topics:

How to simulate a low-bandwidth connection or poor signal for Windows Phone

How to simulate the lock screen for Windows Phone

How to simulate an reminder for Windows Phone

Simulation options

The following illustration shows the options that are available in the Simulation Dashboard.



Including simulation testing in your development workflow

You can easily include simulation testing as you design and code your app. This makes quality assurance part of the development cycle.

You can use simulation testing in the following scenarios:

When testing your app by using debugging (by pressing F5).

When testing your app without using debugging (by pressing Ctrl+F5).

When testing your app by using app monitoring or profiling (by pressing Alt+F1). For more information about using app monitoring and profiling, see Windows Phone Application Analysis.

Make code changes in your app based on your testing, and then repeat these steps as necessary. Finally, you are ready to publish your app with the confidence that it performs well in real-world conditions.

See Also

Other Resources

How to deploy and run a Windows Phone app
Simulation Dashboard for Windows Phone Apps
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: