This is a migrated thread and some comments may be shown as answers.

Test Studio Crushes on Element edit

3 Answers 55 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Uroš
Top achievements
Rank 2
Uroš asked on 09 Apr 2015, 09:26 AM
[04.09 11:24:25,Telerik.TestStudio.exe(16060:1),Error] App.LogUnhandledException() : EXCEPTION! (see below)
     Situation: Unhandled exception!
     Outer Exception Type: System.InvalidOperationException
     Message: Collection was modified; enumeration operation may not execute.
     HRESULT: 0x80131509 (Official ID (if app.) = COR_E_INVALIDOPERATION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5385)
     Call Stack:
          at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
          at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
          at System.Collections.Generic.List`1.Enumerator.MoveNext()
          at ArtOfTest.WebAii.Design.UI.ElementExplorer.Models.ElementNodeViewModel.RemoveNotRelatedNodes(ElementNodeViewModel parent)
          at ArtOfTest.WebAii.Design.UI.ElementExplorer.Models.ElementNodeViewModel.RemoveChild(LightElementNode elementNode)
          at ArtOfTest.WebAii.Design.UI.ElementExplorer.Models.ElementNodeViewModel.Children_CollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
          at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
          at Telerik.Windows.Data.RadObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
          at System.Collections.ObjectModel.ObservableCollection`1.RemoveItem(Int32 index)
          at Telerik.Windows.Data.RadObservableCollection`1.RemoveItem(Int32 index)
          at ArtOfTest.WebAii.Design.ProjectModel.ObservableList`1.<>c__DisplayClass9.<RemoveItem>b__8()
          at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
          at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

[04.09 11:24:27,Telerik.TestStudio.exe(16060:1),Error] App.LogUnhandledException() : EXCEPTION! (see below)
     Situation: Unhandled exception!
     Outer Exception Type: System.InvalidOperationException
     Message: Collection was modified; enumeration operation may not execute.
     HRESULT: 0x80131509 (Official ID (if app.) = COR_E_INVALIDOPERATION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5385)
     Call Stack:
          at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
          at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
          at System.Collections.Generic.List`1.Enumerator.MoveNext()
          at ArtOfTest.WebAii.Design.UI.ElementExplorer.Models.ElementNodeViewModel.RemoveNotRelatedNodes(ElementNodeViewModel parent)
          at ArtOfTest.WebAii.Design.UI.ElementExplorer.Models.ElementNodeViewModel.RemoveChild(LightElementNode elementNode)
          at ArtOfTest.WebAii.Design.UI.ElementExplorer.Models.ElementNodeViewModel.Children_CollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
          at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
          at Telerik.Windows.Data.RadObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
          at System.Collections.ObjectModel.ObservableCollection`1.RemoveItem(Int32 index)
          at Telerik.Windows.Data.RadObservableCollection`1.RemoveItem(Int32 index)
          at ArtOfTest.WebAii.Design.ProjectModel.ObservableList`1.<>c__DisplayClass9.<RemoveItem>b__8()
          at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
          at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

[04.09 11:24:27,Telerik.TestStudio.exe(16060:1),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.

3 Answers, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 14 Apr 2015, 08:07 AM
Hi Uros,

We have recently fixed a crash of TS where you try to edit in live the element and if it is not present on the page TS crashes.

Is this your case?

Please elaborate a bit more on your scenario. What steps do you take to reproduce this behavior.

Also record a short Jing video demonstration how exactly you are receiving this problem.

Hope to hear from you soon.

Regards,
Boyan Boev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Uroš
Top achievements
Rank 2
answered on 15 Apr 2015, 10:37 AM

I am using TS 2015.1.319.0 and the application is crushing when editing an element in on-line or off-line mode. Open the project from the following link and edit first element on the list. See att.

Download project: http://benti.spica.si/download/urosk/ts/webts.test.zip

BR,

Uroš

 

 

0
Boyan Boev
Telerik team
answered on 15 Apr 2015, 01:40 PM
Hello Uros,

Thank you for the project.

I was able to reproduce this behavior.

I have logged a bug report about this which you can track here.

Hope this will be fixed as soon as possible.

Thank you for your cooperation.

Regards,
Boyan Boev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Uroš
Top achievements
Rank 2
Answers by
Boyan Boev
Telerik team
Uroš
Top achievements
Rank 2
Share this question
or