Hi all,
I am new to the product, using demo Version 3.0.3 running on win xp Sp3 .NET runtime version 2.0.50727.3615.
I am testing on a .net based application and if I Run a simple recording (click on an interface) I get the following:
Collection was modified; enumeration operation may not execute.
Stacktrace:
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) at System.Collections.Generic.List`1.Enumerator.MoveNextRare() at System.Collections.Generic.List`1.Enumerator.MoveNext() at Ranorex.Core.ElementEngine.ApplyGlueRules(Element element, GlueRuleExecutionState state) at Ranorex.Core.ElementEngine.ApplyGlueRules(Element element) at Ranorex.Core.Element.GetChildren(CacheSession session) at Ranorex.Core.Element.get_Children() at Ranorex.Core.RxPath.collectAxis(LocationStep step, Axis optimizedAxis, Element self, IList`1 elements, Boolean quitOnFirstGoodNode) at Ranorex.Core.RxPath.ApplyInternal(RxPath path, Element startElement, Duration timeout, Boolean findSingle) at Ranorex.Core.Element.TryFindInternal(RxPath path, Duration timeout, Boolean findSingle, IList`1& foundElements) at Ranorex.Core.Element.TryFindSingleInternal(RxPath path, Duration timeout, Element& foundElement) at Ranorex.Core.Repository.RepoGenBaseFolder.TryGetFolderElement(Boolean& isCached, Element& folderElement) at Ranorex.Core.Repository.RepoItemInfo.Find[T](Boolean findSingle, Boolean throwException) at Ranorex.Core.Repository.RepoItemInfo.CreateAdapter[T](Boolean throwException) at Prova.ProvaRepositoryFolders.FormBlank_Page_____iET_EnterAppFolder.get_TextInserimento_Richiesta() in c:\Documents and Settings\sapform05\Documenti\Ranorex\RanorexStudio Projects\Prova\Prova\ProvaRepository.cs:line 262 at Prova.Reports.Recording1.Ranorex.Core.Testing.ITestModule.Run() in c:\Documents and Settings\sapform05\Documenti\Ranorex\RanorexStudio Projects\Prova\Prova\Reports\Recording1.cs:line 81 at Ranorex.Core.Testing.TestSuiteModule.RunInternal(DataContext parentDataContext)
I also changed application and tried to run a search in google with IE 7 and got the same error. The software seems to correctly identify the item. Please note that my application was succesfully tested on a Win Server 2003 virtual machine using ranorex 3.0.2.
Exported cs code is in attachment.
What can I do?
Thanks for any fast response you can supply!
--Fabio