Telerik Forums
Test Studio Forum
6 answers
134 views
Hi,

I'm having this problem wherein I couldn't connect on a pop up browser.

At first instance the script runs without any error, but once the next iterations are run the step is failing already.

I already tried shortening the URL address, clicked on PartialURL tick box but to no avail.

what could be causing this error?

trying to add a jing file but it exceeds the allowed 2mb attachment file size.

if there's an email add where i can send the file to kindly advise. thanks.
Ivaylo
Telerik team
 answered on 23 Apr 2015
1 answer
63 views

We were having trouble in a test, getting RadAsyncUpload to open the control in the same directory (where the test is located) across different machines.

It seems that the browser remembers where the open dialog was the last time it was opened.  All a tester had to do to cause the test to fail was a) move the test to a machine where the directories were slightly different or b) open any save as or upload dialog on the machine  before running the test. Either way, the OpenFile dialog from RadAsyncUpload would be in the wrong location and not be able to open the file expected.

The solution, though it took a while to discover, is easy to implement.

1. Edit the RadAsyncUpload step in code - creating a coded step.

2. Create a full-path by combining the built-in Deployment directory with the sub-directory (if not in the project directory) and the expected file to upload

3. Open the control programmatically with the full-path

Sample Code: 

Dim targetFile as String = "Spreadsheet Import Test File.xlsx"
Dim targetDir as String = "Ver_x\Group Test"                            ' path beyond the project directory
Dim ssFile as String = System.IO.Path.Combine(Me.ExecutionContext.DeploymentDirectory, targetDir & "\" & targetFile) 

Console.WriteLine("ssFile=" & ssFile)

' RadAsyncUpload('ctrlGroupUploadWindow_RadAsyncUpload1'): upload file 0
Pages.GroupTestForm.FrameCtl00.CtrlGroupTestWindowRadAsyncUpload1Div.Upload(0, ssFile)

' We use this in the 15 tests that need the same file - and it works without fail no matter which machine or which directory was last opened.

Ivaylo
Telerik team
 answered on 23 Apr 2015
12 answers
134 views
Hey everyone,

I have a very basic doubt. I work in Telerik Test Studio on Visual Studio. If I have a solution with three projects, two them have normals test. And a third project I want execute the other tests as steps. It's possible?


Thanks for know

José Teles 
Boyan Boev
Telerik team
 answered on 23 Apr 2015
1 answer
43 views

Hi Telerik Team,

 

requirement is like I want to configure system(windows )login details to Telerik Test studio.Please let me know how I can configure.

 

Thanks,

Danamma

Cody
Telerik team
 answered on 21 Apr 2015
3 answers
126 views
Has anyone been able to successfully use Test Studio to automate functional testing with Microsoft Dynamics CRM 2015 Online? I've been trying to investigate whether we can use TS to automate testing but I have run into issues with TS crashing during playback as well as objects not being found in the DOM. I'm hoping it's user error rather than a problem with the tool. I'd appreciate any experiences.
Ivaylo
Telerik team
 answered on 21 Apr 2015
1 answer
81 views

hey,

 

i have a problem with dynamic frames that tool can't recognize each time i run the script gives me same error.

Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:id=t4,name=Frame_1,src=mysite,UseQuery:False]' timed out. Error: Wait for condition has timed out

 

i used the charcter  (~) before BaseURL , id and Name as mentioned in http://docs.telerik.com/teststudio/getting-started/test-recording/Frames

but still didn't work correctly.

hope anyone can help me.

 

Thanks

 

Cody
Telerik team
 answered on 20 Apr 2015
7 answers
353 views
Hi Team,

I have encountered an issue with telerik test studio, There are two radio button in my web page by default the first radio button will be selected, so based on the selection of the radio button the text boxes should be displayed in the next page.

Here is the scenario

RadioButton1, RadioButton2 are the names of radio buttons

If I check Radiobutton1 and click continue, in the next page only one Text box needs to be displayed.

If I check Radiobutton2 and click continue, in the next page only two text box needs to be displayed.

But the problem here is if select the second radio button and click on continue on the page it still show me the only one text box(instead it should show two text boxes). Seems the Radio button selection event is not firing up during playback.

But there is no issue when I am doing it manually.

Am I missing some thing here.

Thanks & Regards
G.Chaitanya
Boyan Boev
Telerik team
 answered on 17 Apr 2015
1 answer
86 views

When I run a performance tests it opens the URL, completes the first part of the test but when I try to get past our shopping cart (checkout) it throws an error either the page cannot be displayed or the proxy settings failed.

We work WITHIN a proxy and the application is within our firewall, although I tried this with our production site and received the same error.

The functional test works just fine and passes all pages as it goes through our test site.

After running the test, my proxy settings in IE have changed and I have to go back in to reset them otherwise I cannot connect to anything using IE (10)

If the functional test works without a hitch and the performance test uses the same test -then why is there an issue?

I also tried recording a new test, but with the same result.

Of course, I cannot find anything in the forums about this issue. This, along with the inability to connect to TFS2013 is making Test Studio look bad in my evaluation (we are going through the trial license to assess value).

 

Cody
Telerik team
 answered on 16 Apr 2015
3 answers
55 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
94 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?