or
Manager.LaunchNewBrowser();
So it would seem that the Manager is null.
Can you please tell me what could be causing this?
Nick
[Timeout(900000), TestMethod] public void CheckRadGridViewRowsCountTest() { //Manager.LaunchNewBrowser(); Manager.LaunchNewBrowser(BrowserType.InternetExplorer, true); ActiveBrowser.AutoWaitUntilReady = true; ActiveBrowser.Window.SetActive(); ActiveBrowser.Window.SetFocus(); ActiveBrowser.Window.Maximize(); ActiveBrowser.NavigateTo(@"http://demos.telerik.com/silverlight/#GridView/Sorting"); // Get an instance of the running Silverlight Application. app = ActiveBrowser.SilverlightApps()[0]; ActiveBrowser.RefreshDomTree(); // Get an instance of the running Silverlight Application. app = ActiveBrowser.SilverlightApps()[0]; app.VisualTree.Find.Strategy = FindStrategy.AlwaysWaitForElementsVisible; app.VisualTree.Find.WaitOnElementsTimeout = timeout; RadGridView radGridView1 = app.VisualTree.Find.ByAutomationId<RadGridView>("RadGridView1"); var rowsCount = radGridView1.Rows.Count; }