Smart Tasks Test
The Smart Tasks test validates performance in an end-user application of Smart Tasks associated with Smart Tags that are exposed by controls bound to third-party data source objects (for example, a DataGridView control) that are dragged onto a Visual Studio designer surface.
Test Procedure
Set up a Windows application project by following steps 1–10 in the Data Source Wizard Drag-and-Drop Test. For this test, however, in the wizard checks only one table that is related to a child table and then close the wizard.
Drag the table onto the designer to create a DataGridView.
Select the DataGridView and execute the Add Query command. The Search Criteria Builder dialog box appears.
Create a new Parameterized Query by adding a WHERE clause containing parameters to the default SQL statement, as illustrated in this example code:
SELECT * FROM Table WHERE Column=@Parameter
Click OK.
Verify that the correct UI was created, including correct control names and captions.
Select the DataGridView again and execute the Master Details Smart Task.
The Master Details Form appears. Verify that all child-related tables are shown in the list.
Click OK. Verify that the correct UI was created, including control names and captions.
Select Preview Data from the Data menu.
Select the first table and preview its data.
Select the second table and preview its data.
Select the Parameterized Query on the first table and preview its data.
Click OK to close the dialog box.
Press F5 to run the application and verify that the correct data loads.
Load data using the Parameterized Form UI.
Verify that the data loads for both parent and child tables.