or
System.InvalidOperationException:
Sequence contains no elements
at System.Linq.Enumerable.Last[TSource](IEnumerable`1 source)
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType
browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle
windowStyle, String arguments)
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType
browserToLaunch, Boolean waitForBrowserToConnect)
at
ActaNova.TWebTest.Core.Utilities.ApplicationUtility.GetManager(String url,
HtmlFindExpression waitForElementExistsFindEx) in
c:\Development\AN\webaii\WebTest\TWebTest.Core\Utilities\ApplicationUtility.cs:line
632
var fieldDiv = label.Parent.Parent.Parent.As<HtmlDiv>();
_testHelperBase.CurrentFrame.OwnerBrowser.Desktop.KeyBoard.KeyDown(Keys.Control);
fieldDiv.Click();
_testHelperBase.CurrentFrame.OwnerBrowser.Desktop.KeyBoard.KeyUp(Keys.Control);int count1 = manager.Browsers.Count;browser.Close();int count2 = manager.Browsers.Count;//Shut-down the manager and do all clean-upmanager.Dispose();