This question is locked. New answers and comments are not allowed.
After deciding to split the larger test mentioned in a previous thread into a number of smaller tests I've built a small test consisting of 88 steps - At step 10, while executing a SelectDropDownActionDescriptor 'ByText' with a text string that exists as a choice in the DropDown I get the following:
ArtOfTest.WebAii.Design.Exceptions.ExecutionException: Unhandled exception thrown during automation step execution ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
ved System.Text.RegularExpressions.GroupCollection.GetGroupImpl(Int32 groupnum)
ved System.Text.RegularExpressions.GroupCollection.GetGroup(Int32 groupnum)
ved System.Text.RegularExpressions.GroupCollection.get_Item(String groupname)
ved ArtOfTest.WebAii.Core.Parser.GetNextTag(Int32 startPosition, Int32& tagLength, String& tagContent, String& tagName, String& tagRemainder)
ved ArtOfTest.WebAii.Core.Parser.Parse()
ved ArtOfTest.WebAii.Core.Parser.Parse(String text)
ved ArtOfTest.WebAii.Core.TreeBuilder.BuildDomTree(String text, Boolean trimWhiteSpace)
ved ArtOfTest.WebAii.Core.Browser.UpdateDomTree(String domString)
ved ArtOfTest.WebAii.Core.Browser.RefreshDomTree()
ved ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
ved ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
ved ArtOfTest.WebAii.Core.Actions.DoSelectDropDown(Element targetElement, String data)
ved ArtOfTest.WebAii.Core.Actions.SelectDropDown(Element targetElement, String text, Boolean useValue)
ved ArtOfTest.WebAii.Core.Actions.SelectDropDown(Element targetElement, String itemText)
ved ArtOfTest.WebAii.Controls.HtmlControls.HtmlSelect.SelectByText(String text, Boolean invokeOnChangeEvent)
ved ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.SelectDropDownActionDescriptor.Execute(Browser browser)
ved ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
--- End of inner exception stack trace ---
ved ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
Regards
Espen Harlinn
ArtOfTest.WebAii.Design.Exceptions.ExecutionException: Unhandled exception thrown during automation step execution ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
ved System.Text.RegularExpressions.GroupCollection.GetGroupImpl(Int32 groupnum)
ved System.Text.RegularExpressions.GroupCollection.GetGroup(Int32 groupnum)
ved System.Text.RegularExpressions.GroupCollection.get_Item(String groupname)
ved ArtOfTest.WebAii.Core.Parser.GetNextTag(Int32 startPosition, Int32& tagLength, String& tagContent, String& tagName, String& tagRemainder)
ved ArtOfTest.WebAii.Core.Parser.Parse()
ved ArtOfTest.WebAii.Core.Parser.Parse(String text)
ved ArtOfTest.WebAii.Core.TreeBuilder.BuildDomTree(String text, Boolean trimWhiteSpace)
ved ArtOfTest.WebAii.Core.Browser.UpdateDomTree(String domString)
ved ArtOfTest.WebAii.Core.Browser.RefreshDomTree()
ved ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
ved ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
ved ArtOfTest.WebAii.Core.Actions.DoSelectDropDown(Element targetElement, String data)
ved ArtOfTest.WebAii.Core.Actions.SelectDropDown(Element targetElement, String text, Boolean useValue)
ved ArtOfTest.WebAii.Core.Actions.SelectDropDown(Element targetElement, String itemText)
ved ArtOfTest.WebAii.Controls.HtmlControls.HtmlSelect.SelectByText(String text, Boolean invokeOnChangeEvent)
ved ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.SelectDropDownActionDescriptor.Execute(Browser browser)
ved ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
--- End of inner exception stack trace ---
ved ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
Regards
Espen Harlinn