单项选择题
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. -
单项选择题
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You plan to implement a test strategy for the application. You need to ensure that the test strategy meets the following requirements: Test data can be added to the test project without recompiling. Multiple variations of a test can be executed at run time. What should you do? ()
A. Use IntelliTrace.
B. Use data-driven tests.
C. Create a single test class.
D. Create a test method for each data variation.
