Telerik Forums
Test Studio Forum
3 answers
71 views
[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.
Boyan Boev
Telerik team
 answered on 15 Apr 2015
21 answers
121 views
Hello, for some reason my performance tests have been causing Telerik to crash about half of the time that I run them. I haven't had this problem before today.

What happens is that I run a performance test, it completes, then while loading the result the application stalls for a second, then closes itself. Upon restarting I can see the test result stored in the app (sometimes with a clearly inaccurate runtime), but any attempt to open it crashes the app. What's going on?
Ian
Top achievements
Rank 1
 answered on 14 Apr 2015
2 answers
121 views
We are using RadEditor and the editing tool is not matching the final display. The width of the editor seems to vary depending on the browser, so we are never seeing a true wysiwyg experience. Is there a way to lock down the width of the editor independent of the browser?
puneet
Top achievements
Rank 1
 answered on 14 Apr 2015
1 answer
80 views
 Hi, administrator .I want to use quicksteps to choose 'Verify xxx Contains xxxx' on the some element,it couldn't work,for it hasn't this option. But it works nomarlly and I can choose this option successfully in the other places. Could you tell me why and how  can I solve it?
Boyan Boev
Telerik team
 answered on 14 Apr 2015
1 answer
47 views
I have been running a list of scripts I recorded in a test list for 2 months without issue.  This morning I come in to run my tests and they fails within 10 seconds.  All 45 tests.  I sent a ticket to support and he tries to tell me that someone modified the test script but removing code.  First off there were no coded steps in any of these test and they were all recorded.  Second, they were never modified because I'm the only one with access.  I'm calling BS because there is no way this is the issue.  I'm wondering if anyone else has veer had this issue and how you resolved it.
Cody
Telerik team
 answered on 14 Apr 2015
1 answer
80 views

Somehow i have got into a situation whereby I cannot see the broswe buttons within the properties window at the right hand side of the window  so that I can choose a different control to use within a script.

 

I have tried maximising, minimising and shrinking each different pane but I cannot find a way to resize it so these elements are visible

 

Any assistance would be appreciated

Boyan Boev
Telerik team
 answered on 13 Apr 2015
3 answers
230 views

I want to use VB code for comparing TextContent, but I can't. If I run the following code I get an error stating that "Weekday is not declared", but according to VB tutorials I should be able to use it without a problem:

Dim todayDate As Date = Date.Now()
Dim dateToday As String = todayDate.ToString("yyyy/MM/dd")
Dim timeToday As String = todayDate.ToString("yyyy/MM/dd hh:mm")
Dim dayName As Integer
Dim dayNameShort As String

dayName = Weekday(todayDate)

Select Case dayName
     Case Is = 1
         dayNameShort = "Sun"
     Case Is = 2
         dayNameShort = "Mon"
     Case Is = 3
         dayNameShort = "Tue"
     Case Is = 4
         dayNameShort = "Wed"
     Case Is = 5
         dayNameShort = "Thu"
     Case Is = 6
         dayNameShort = "Fri"
     Case Is = 7
         dayNameShort = "Sat"
End Select

Pages.CashLedger.xDdTag.AssertContent().TextContent(ArtOfTest.Common.StringCompareType.StartsWith, dateToday & " 12:00 AM " & dayNameShort & " - " & timeToday)

Also when seeing the output of the code if I leave our Weekday, I see that date is not correctly formatted. Instead of defined "/" separator a "." is used, like:

OK - 04/07/2015

NOK - 04.07.2015 - this is what formatting in VB does in Test Studio!

Please help or point me to doc where such cases are already explained and can be done without a code.

Thanks, Jurij

Boyan Boev
Telerik team
 answered on 10 Apr 2015
5 answers
192 views
Hi,

Can anyone tell me how get the iteration index of a loop in a coded step from inside the loop?
Ivaylo
Telerik team
 answered on 10 Apr 2015
3 answers
26 views
Scenario

I run a test and it fails for whatever reason.  So to see if its the site or the test case I do a run to here to check the find logic for the failed step.  I fix the issue and then do a run from here to ensure the rest of the test passes.  

Issue

If I have any pop-ups that I need to connect to the in the rest of the test the Recording dock connects to the pop-up but it connects in record mode instead of paused.  This causes new steps to be added to the test for the connect and close of the pop-up. 
Cody
Telerik team
 answered on 07 Apr 2015
1 answer
183 views
Can you teach me how to use the global variable in one test case, I want to call it and use it in the other cases.
Boyan Boev
Telerik team
 answered on 07 Apr 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?