单项选择题
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
The application uses data-bound controls.
You discover that when the application is executed by users, one of the controls is not displayed properly.
You need to view the property values assigned to the controls.
What should you do?()
A. Use IntelliTrace.
B. Use PresentationTraceSource.
C. Run the application in debug mode with Visual Studio 2010. Use the Auto window while you step through the application code.
D. Run the application in debug mode with Visual Studio 2010. Use the WPF Visualizer while you step through the application code.
相关考题
-
单项选择题
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application contains a custom control that is used to display customer information. You discover that the custom control is not rendering correctly. You need to identify the WPF element that is causing the issue. You want to achieve this goal by using the minimum amount of administrative effort. What should you do?()
A. Start the application in debug mode.Place a breakpoint at the main entry point of the application.Use the debugger to step through the application code.
B. Start the application in debug mode.Place a breakpoint at the main entry point of the application.Use the WPF Tree Visualizer tool.
C. Enable IntelliTrace and configure Visual Studio to generate a trace log.Start the application in debug mode.
D. "Enable IntelliTrace and configure Visual Studio to generate a trace log.Start the application by double-clicking the executable file (.exe). -
单项选择题
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You discover that when the application runs, a user control is not rendered correctly. You need to find out the user interface (UI) element of the window that is causing the rendering problem. What should you do?()
A. Use the Local Window.
B. Use the WPF Visualizer.
C. Generate a trace log by using IntelliTrace.
D. Set a breakpoint at the control. Run the application. -
单项选择题
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application includes a function that is triggered by filling out a form and by clicking a button. Currently, the application is tested manually. You need to create an automated and iterative process to test the application. What should you do?()
A. Use IntelliTrace.
B. Use UISpy.exe to extract the user interface (UI) information. Then, use MSTest.exe.
C. Use classes in the System.Windows.Automation and System.Windows.Automation.Text namespaces.
D. Use the Action Recording methodology to record the user interface (UI) actions. Then, use MSTest.exe.
