单选题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?()AUse IntelliTrace.BUse UISpy.exe to extract the user interface (UI) information. Then, use MSTest.exe.CUse classes in the System.Windows.Automation and System.Windows.Automation.Text namespaces.DUse 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. 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 .NET Framework 4 to create a Windows Presentation Foundation (WPF) application named MyApp.exe. You use Microsoft Windows Installer to package the application. You create an icon file named Application.ico. You need to associate Application.ico with MyApp.exe when it is deployed. What should you do?()A、Use the File Types Editor tool.B、Rename the icon file to MyApp.exe .ico.C、Set the AddRemoveProgramsIcon property to Application.ico.D、Use the File System Editor tool to set the Icon property to Application.ico.

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You need to ensure that users can view content in a book-reading format that displays two pages at a time. Which control should you use?()A、FlowDocumentB、FlowDocumentReaderC、FlowDocumentPageViewerD、FlowDocumentScrollViewer

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application that displays an image. You need to ensure that users can stretch and scale the image. Which control should you use?()A、FrameB、SliderC、ViewboxD、ScrollViewer

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You plan to use a PresentationTraceSources object when the application is executed by users. When the application is executed in a test environment, all debug information is successfully captured. You need to be able to capture debug information when the application is deployed. What should you do?()A、Enable WPF tracing in the registry.Restart the application.B、Enable tracing by modifying local Group Policy.Restart the application.C、Open the XML configuration file for your application on the user's computer.Set tracing to a verbose level.Restart the application.D、Open the XML configuration file for your application on the user's computer.Add a trace listener.Restart the application.

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.

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?()A、Use a custom action.B、Set the MinVersion property to .NET Framework 4.C、Set the Version property of Windows Installer to .NET Framework 4.D、Set the Version property of the Launch Condition to .NET Framework 4.

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? ()A、MenuB、PopUpC、ListBoxD、ContextMenu

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?()A、DragAction.CancelB、DragAction.DropC、DragDropEffects.NoneD、DragDropEffects.All

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?()A、Define the image as a page resource.B、Define the image as an application resource.C、Save the image on a network drive.D、Include the image as an embedded resource.

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 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 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 .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?()A、In isolated storage.B、On the database server.C、In the ClickOnce data directory.D、In the App.config file of the application.

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 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?()AUse a custom action.BSet the MinVersion property to .NET Framework 4.CSet the Version property of Windows Installer to .NET Framework 4.DSet the Version property of the Launch Condition to .NET Framework 4.

单选题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?()ADefine the image as a page resource.BDefine the image as an application resource.CSave the image on a network drive.DInclude the image as an embedded resource.

单选题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?()AUse the Local Window.BUse the WPF Visualizer.CGenerate a trace log by using IntelliTrace.DSet a breakpoint at the control. Run the application.

单选题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?()AIn isolated storage.BOn the database server.CIn the ClickOnce data directory.DIn the App.config file of 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?()AUse IntelliTrace.BUse UISpy.exe to extract the user interface (UI) information. Then, use MSTest.exe.CUse classes in the System.Windows.Automation and System.Windows.Automation.Text namespaces.DUse 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? ()AUse IntelliTrace.BUse data-driven tests.CCreate a single test class.DCreate a test method for each data variation.

单选题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? ()AMenuBPopUpCListBoxDContextMenu

单选题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?()AUse IntelliTrace.BUse PresentationTraceSource.CRun the application in debug mode with Visual Studio 2010. Use the Auto window while you step through the application code.DRun 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. You plan to use a PresentationTraceSources object when the application is executed by users. When the application is executed in a test environment, all debug information is successfully captured. You need to be able to capture debug information when the application is deployed. What should you do?()AEnable WPF tracing in the registry.Restart the application.BEnable tracing by modifying local Group Policy.Restart the application.COpen the XML configuration file for your application on the user's computer.Set tracing to a verbose level.Restart the application.DOpen the XML configuration file for your application on the user's computer.Add a trace listener.Restart the application.

单选题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?()AStart 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.BStart the application in debug mode.Place a breakpoint at the main entry point of the application.Use the WPF Tree Visualizer tool.CEnable IntelliTrace and configure Visual Studio to generate a trace log.Start the application in debug mode.DEnable IntelliTrace and configure Visual Studio to generate a trace log.Start the application by double-clicking the executable file (.exe).

单选题You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You need to ensure that users can view content in a book-reading format that displays two pages at a time. Which control should you use?()AFlowDocumentBFlowDocumentReaderCFlowDocumentPageViewerDFlowDocumentScrollViewer

单选题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?()ADragAction.CancelBDragAction.DropCDragDropEffects.NoneDDragDropEffects.All

单选题You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application that displays an image. You need to ensure that users can stretch and scale the image. Which control should you use?()AFrameBSliderCViewboxDScrollViewer

单选题You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application named MyApp.exe. You use Microsoft Windows Installer to package the application. You create an icon file named Application.ico. You need to associate Application.ico with MyApp.exe when it is deployed. What should you do?()AUse the File Types Editor tool.BRename the icon file to MyApp.exe .ico.CSet the AddRemoveProgramsIcon property to Application.ico.DUse the File System Editor tool to set the Icon property to Application.ico.