Telerik Forums
Test Studio Forum
15 answers
408 views
Hi,
I have a test that loads a website that, because of security (and it's a unit server), redirects the page 2 or 3 times and takes about 20 seconds to more or less 1.5 minutes. I tried setting the WaitOnElements property to 360000 on both the step doing the navigating and the step following it, but nothing changes: the step times out 1 time out of 5, often on the first time it's been run in the hour.

I've even added a test on top of my list to "preload" the pages so that the other tests pass (image attached).
I would REALLY like to resolve this problem, since we want to integrate those tests with our daily builds.

Thanks for any help you can give out.

Sam
Cody
Telerik team
 answered on 31 Jan 2012
3 answers
119 views
Currently the way I run telerik test studio on a silverlight app is that I hit 'record' and start running the silverlight app, then navigate into it to the point I want to test something, like for example I display a list of things I want to check have proper values.

Is it possible for me to skip the beginning stages, like for example can I login to the app, go to the screen I want, then on that screen run the tests without closing the silvelright app when the test is done, so I can run the test again if I wanted to (or slightly modify it and run it) without having to go back to the first few steps of the test where I would have to load up everything?
Plamen
Telerik team
 answered on 31 Jan 2012
3 answers
110 views
I need to verify the content of a RadEditor. The content is XMl including tags. When I verify the text, the editor gives me the HTML code (&lt; for example) instead of < and the verification fails. Is there a function to get around this?
Anthony
Telerik team
 answered on 30 Jan 2012
1 answer
163 views
I have been having trouble with this issue for quite some time now. We have Test Studio's standalone version for QAs running on a server through remote access. 2 QAs including me work on capturing tests using test studio on the server and the server has around 6 gigs of RAM. So, that provides a brief background of infrastructure I am dealing with here.

Now, while running the test cases and especially running them as test lists we face a strange scenario; TEST STUDIO doesn't close the browser after a test case has been run and after 10-15 such instances there are almost 10-15 browsers open (this I saw when I opened the task manager and saw the Processes).

This for some reason clogs the RAM or something and doesn't allow the browser to open when another test case needs to run.
Now, there is an option which says CloseBrower (its a drop down and can be set to true or false).  I used this option on the last steps of some of my tests, but even this was not helpful.

So, what I am saying here is - Is there some option to forcefully close the browser after the test case is completed?

KUMAR
Plamen
Telerik team
 answered on 30 Jan 2012
1 answer
141 views
I am trying to test my Silverlight app and I need to select multiple items by both ctl + and shift + . I need to do this programmatically and I can't figure out how to do this. I tried with the recorder to see how it might be done and I see that when I record multiple selections, they play back as single selections. This is a major blocker for my company to accept Telerik testing, so I am trying to figure out what to do about this. I saw a post of bug fixes from some recent drop and I noticed that modifier keys were no longer being recorded. Why would this be removed if it is necessary for basic functionality? Is there another way to accomplish this programmatically? I tried to access the SelectedItems property but it comes back as the datatype (as in the .ToString()) of the backing collection, not as the actual value itself, so I can't set this to get around the single user click.

UPDATE!!!
My mistake. Temporarily forgot the overloads to click that allow for modifier keys. Keys.Control seems to work just fine. No need to responsd with same info.
Stoich
Telerik team
 answered on 30 Jan 2012
1 answer
78 views
I recorded test with recorder for Silverlight elements. It successfully passed. But if I try to "Edit Element" from Element Explorer element can't be found by Telerik.

Following find string was used by Recorder
XamlTag=stackpanel,name=WonOppPanel,|,XamlPath=/grid[2]/complexmoneytextblock[0]/textblock[automationid=MainTextBlock]
http://screencast.com/t/Ehr8deZDc
http://screencast.com/t/3kg0KXur
Anthony
Telerik team
 answered on 27 Jan 2012
4 answers
141 views

Hi,

I had a test that clicks on a button from a pop up window, that opened a new pop up window. When I tried to close the second pop up window, then is closed the first one and the test fail.

In the attachment is the zip generated from Web UI with more details.

the connection with both pop ups look good, but when close second pop up, looks like is not read correctly.

How can I  resolve this?


Thanks,
Cody
Telerik team
 answered on 27 Jan 2012
2 answers
157 views
Hi Telerik Team,

I've encountered this error today.

ArtOfTest.Common.Design.Exceptions.ExecutionException: Unable to determine the type of 'raddatepicker' element. Check the log for details. ---> System.ArgumentException: Unable to determine the type of 'raddatepicker' element. Check the log for details.
   at ArtOfTest.WebAii.Silverlight.FrameworkElement.CastAs[T]()
   at Telerik.WebAii.Design.Translators.Xaml.DatePicker.DatePickerStringPropertyVerification.GetValueByProperty(String name)
   at Telerik.WebAii.Design.Translators.Xaml.Common.RadControlPropertyVerificationDescriptor.ExtractData(IApplication hostApp, DescriptorValueStore dataStore)
   at ArtOfTest.WebAii.Design.Extensibility.XamlVerificationDescriptor.ExtractData(IAutomationHost targetHost, DescriptorValueStore dataStore)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
   --- End of inner exception stack trace ---


ArtOfTest.Common.Design.Exceptions.ExecutionException: Unable to determine the type of 'radrichtextbox' element. Check the log for details. ---> System.ArgumentException: Unable to determine the type of 'radrichtextbox' element. Check the log for details.
   at ArtOfTest.WebAii.Silverlight.FrameworkElement.CastAs[T]()
   at Telerik.WebAii.Design.Translators.Xaml.Documents.RichTextBoxSetTextAction.Execute(IApplication appHost)
   at ArtOfTest.WebAii.Design.Extensibility.XamlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
   --- End of inner exception stack trace ---

The test where this step belongs to is a Test as Step for my Main Test. So when I run my Sub Test it passes successfully but when its inside the Main Test it fails. It also happens to radrichtextbox. Also the Main Test passes successfully in the past.

The raddatepicker is a Extract step and the radrichtextbox is Entering a value. Also when I validate the element it is located.

Thanks
Mariko
Top achievements
Rank 1
 answered on 27 Jan 2012
2 answers
102 views

Hi,

I was trying to record when a user clicks to play a youtube video from a Pop up window.  There is a way to record this action?

In the attachment is the image of the page I tried to record.  The connection with Pop-up is OK, but I need to test when user clicks on the Youtube video.

Thanks

 
Karla
Top achievements
Rank 1
 answered on 27 Jan 2012
9 answers
260 views
Hello,
         Is there a way a I can set a project wide variable that I can access from all the tests in the project? I would like to be able to use the same string throughout all of the tests in the project.
Anthony
Telerik team
 answered on 26 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?