Sample Visual Test: Using Decision Logic to Verify a Control Selection

This sample visual test verifies that a ComboBox control in a Windows sample test application has been selected. If the tested ComboBox had not had a selection since the time it was rendered, no text appears in the ComboBox. The tester uses decision logic to determine if the text of the ComboBox is null, and performs different actions based on the result.