Automation.UI.Tests.TestQuery.TestAllResults C# (CSharp) Method

TestAllResults() private method

private TestAllResults ( ) : void
return void
        public void TestAllResults()
        {
            // Fire the query.
            var windows = Query().Where()
                .Name().StartsWith("UIAutomation")
                .And()
                .Name().Contains("Visual Studio")
                .Select().AllResults();
            // Validate the result.
            Assert.IsNotNull(windows);
            Assert.IsTrue(windows.Count > 0);
        }