Hi all,
I'm currently using the framework to create performance tests for a WPF application. I need to record the time between when I click on a combo box and when the combo box is actually present.
I can't see an event that I can attach too that would tell me the combobox was down, you can see if it is down but no event.
Here's what I mean:
IList<ComboBox> allByType = wpfWindow.Find.AllByType<ComboBox>(); IEnumerable<ComboBox> comboBoxs = allByType.Where(x => x.Text.Contains("Test")); ComboBox comboBox = comboBoxs.First(); _stopWatch = Stopwatch.StartNew(); comboBox.OpenDropDown(true); //Check to see if drop down is present or fire event Console.WriteLine("Total dropdown loading time (ms): " + _stopWatch.Elapsed.TotalMilliseconds);
Thanks,
Sara
When I use the following statement to clear up the cache and cookies
ActiveBrowser.ClearCache(ArtOfTest.WebAii.Core.BrowserCacheType.History);
I get the following exception
"Clearing the browser cache is not yet supported for Safari"
How do i prevent Safari from saving cookies and not to get this error.
<telerik:RadSplitter ID="RadSplitterActivityPage" runat="server" Width="100%" Height="100%" Orientation="Vertical"> <telerik:RadPane ID="RadPaneFilter" runat="server" Width="20px"> <telerik:RadSlidingZone ID="RadSlidingZoneFilter" runat="server"> <telerik:RadSlidingPane ID="RadSlidingPageFilter" runat="server" Width="200px" Title="Filter" Scrolling="Y"> <telerik:RadAjaxPanel ID="RadAjaxPanelFilter" runat="server" Height="99%"> <div style="margin:5px;"> <label class="riLabel">Start Date:</label> <br /> <telerik:RadDateTimePicker ID="RadDateTimePickerStartDate" runat="server" Width="100%"> </telerik:RadDateTimePicker> <br /> <label class="riLabel">End Date:</label> <br /> <telerik:RadDateTimePicker ID="RadDateTimePickerEndDate" runat="server" Width="100%"> </telerik:RadDateTimePicker>
Etc, etc, etc......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