Use IntelliTrace.
Use UISpy.exe to extract the user interface (UI) information. Then, use MSTest.exe.
Use classes in the System.Windows.Automation and System.Windows.Automation.Text namespaces.
Use the Action Recording methodology to record the user interface (UI) actions. Then, use MSTest.exe.
第1题:
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? ()
第2题:
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You need to ensure that the application meets the following requirements: Displays a menu that is specific to the control selected by the user. Displays the menu next to the control. Which control should you use? ()
第3题:
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Framework (WPF) application. You have a company logo that must appear on multiple forms in the application. The logo design changes frequently. You need to ensure that when the logo image is changed, you only need to update a single location. What should you do?()
第4题:
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?()
第5题:
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You use the ClickOnce deployment methodology to distribute the application. You need to store application-specific data along with read/write permissions without requiring elevated permissions for the application. Where should you store the application data?()
第6题:
Use a custom action.
Set the MinVersion property to .NET Framework 4.
Set the Version property of Windows Installer to .NET Framework 4.
Set the Version property of the Launch Condition to .NET Framework 4.
第7题:
Use the Local Window.
Use the WPF Visualizer.
Generate a trace log by using IntelliTrace.
Set a breakpoint at the control. Run the application.
第8题:
Use IntelliTrace.
Use UISpy.exe to extract the user interface (UI) information. Then, use MSTest.exe.
Use classes in the System.Windows.Automation and System.Windows.Automation.Text namespaces.
Use the Action Recording methodology to record the user interface (UI) actions. Then, use MSTest.exe.
第9题:
Menu
PopUp
ListBox
ContextMenu
第10题:
Enable WPF tracing in the registry.Restart the application.
Enable tracing by modifying local Group Policy.Restart the application.
Open the XML configuration file for your application on the user's computer.Set tracing to a verbose level.Restart the application.
Open the XML configuration file for your application on the user's computer.Add a trace listener.Restart the application.
第11题:
FlowDocument
FlowDocumentReader
FlowDocumentPageViewer
FlowDocumentScrollViewer
第12题:
Frame
Slider
Viewbox
ScrollViewer
第13题:
You create a Microsoft Windows Installer file for a Windows Presentation Foundation (WPF) application that requires Microsoft .NET Framework 4. You need to ensure that the installation starts only if .NET Framework 4 is already installed on the computer. What should you do?()
第14题:
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application uses the drag-and-drop functionality. You need to ensure that the drag-and-drop operation is stopped when a user moves the cursor outside the boundaries of the application form. Which enumeration member should you use?()
第15题:
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?()
第16题:
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?()
第17题:
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?()
第18题:
Define the image as a page resource.
Define the image as an application resource.
Save the image on a network drive.
Include the image as an embedded resource.
第19题:
In isolated storage.
On the database server.
In the ClickOnce data directory.
In the App.config file of the application.
第20题:
Use IntelliTrace.
Use data-driven tests.
Create a single test class.
Create a test method for each data variation.
第21题:
Use IntelliTrace.
Use PresentationTraceSource.
Run the application in debug mode with Visual Studio 2010. Use the Auto window while you step through the application code.
Run the application in debug mode with Visual Studio 2010. Use the WPF Visualizer while you step through the application code.
第22题:
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.
Start the application in debug mode.Place a breakpoint at the main entry point of the application.Use the WPF Tree Visualizer tool.
Enable IntelliTrace and configure Visual Studio to generate a trace log.Start the application in debug mode.
Enable IntelliTrace and configure Visual Studio to generate a trace log.Start the application by double-clicking the executable file (.exe).
第23题:
DragAction.Cancel
DragAction.Drop
DragDropEffects.None
DragDropEffects.All
第24题:
Use the File Types Editor tool.
Rename the icon file to MyApp.exe .ico.
Set the AddRemoveProgramsIcon property to Application.ico.
Use the File System Editor tool to set the Icon property to Application.ico.