Telerik Forums
Test Studio Forum
1 answer
175 views
Hi

I am currently working on a Poc for the testing suite and testing framework.  I had a question about how to query the elements.

I want to query elements using a jquery style selector eg find me elements which have a class of x and are within elements of type p I tried to do this using the following :

HtmlControl cc = this.TestFramework.Find.AllControls<HtmlControl>().Where(c => c.CssClass == ".x, p").FirstOrDefault();
This returned nothing which is what I expected.

To find these kinds of elements at the moment I have to do something like the following:

Element element = this.TestFramework.Find.AllControls<HtmlDiv>().Where(c => c.CssClass == "formColWidth01").First().ChildNodes[0].ChildNodes[0];

Do you have any plans to support jquery style selection for elements any time in the future?

Regards

Joe
Cody
Telerik team
 answered on 04 Jan 2012
3 answers
87 views
Hi
We are using Telerik controls all over in our application and we use Test Studio for automated testing.
We updated the controls to a newer version and now all our tests fail on verify/wait for steps for various objects(windows, comboboxes, etc)

Is there any way to update/patch all tests to look for new controls for those steps?

One more question - I use the same test set for several environments that currently use different versions of controls. Is there a way to customize the controls version for all of them?

Thanks a lot!
Helen
Konstantin Petkov
Telerik team
 answered on 04 Jan 2012
4 answers
114 views
Hi,

I'm currently evaluating Test Studio - to use it as performance test tool in our company.

The performance test captured time for opening a page as 9.564sec but when I tried the same step manually, the page opened up in less than a 2seconds.
It is not the case with only this page but I see the tool adding some delay to all steps.
This highly impacts the performance report that is seen as a tool to improve the applications performance.

Also, I saw the CPU usage to spike up to 89% when using Test Studio for executing a test step.
But the same step when executing manually doesn't have much impact on CPU usage.

Kindly advice.

Thanks,
Kruba

Note: Attached config details of the machine on which Test Studio is run.
Kruba
Top achievements
Rank 1
 answered on 04 Jan 2012
1 answer
120 views
Hi,

Is it possible for the Test Studio to determine if the microsoft word or any document file opened is a read-only file?

Here is the scenario
1. Open a document in the sharepoint
2. Verify if the document is a read-only file

Thanks
Stoich
Telerik team
 answered on 03 Jan 2012
8 answers
251 views
My RadComboboxItem is composed for two textbock. I need to find an element only by the content of the second textbock.
Name of the first text box is Ident.
Name of the second text box is content.

Change: I have attached the code
Natasha
Top achievements
Rank 1
 answered on 01 Jan 2012
1 answer
138 views

 

In this document we have tried to create an alternative documentation to the official documentation offered by Telerik on the Telerik Test Studio website.
This documentation highlights some features not mentioned in the official documentation like slowing down your test, taking screenshots, and others; it also contains a simplified explanation of some features explained in the official documentation. And also it contains some example on using the tool.

 

I hope you like it

 

Cody
Telerik team
 answered on 29 Dec 2011
12 answers
143 views
Hi ,

I'm trying to automate an Application using testing framework  . The app uses SSL ( url contanis HTTPS :P ) and I seem unable to automate it .

Mainly, I'm encountering two problems.

1) While trying to access the site  if I have  "  settings.Web.EnableSilverlight = true;" in my code at the initialization time I keep finding the "There is a problem with this website's security certificate." message. I've already added the site as a trusted one and even disabled the SSL warings at a registry level . Even if I try to "Continue to the website" I keep finding the same problem .

2) If Silverlight its disabled at initialization time , I'm able to get to the site and see the app , but if i enable silverlight once there and try to recover the app with "
SilverlightApp app = ActiveBrowser.SilverlightApps()[0];
" (as shown in : "http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/write-tests-in-code/silverlight-test-automation/introduction.aspx") I keep getting a timeout exeption even with very very high timeouts set ("Manager.Settings.Web.SilverlightConnectTimeout= (5000000);") 

I've read some limititations in "http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/write-tests-in-code/silverlight-test-automation/introduction.aspx" at the bottom of the page. Are those the limitations for the current release?

Do you have any ideas on how may I proceed or what I might be doing wrong?
Plamen
Telerik team
 answered on 29 Dec 2011
7 answers
159 views
Im using the trial version of Test Studio for automation . I need to record steps of a silverlight application which opens in IE.
But when I try to record , as soon I navigate to the link in IE, i get a runtime error saying ' The application has requested the Runtime to terminate in an unusual way . '. Also after a while the application opens up , but without recording enabled and a pop up comes up saying ' Cannot connect to Silverlight Application . Silverlight recording will not function.'
Please let me know how to resolve this?

Thanks,
Divya
Cody
Telerik team
 answered on 28 Dec 2011
1 answer
86 views
When attempting an upgrade to the latest and greatest Firefox, I receive a message that the Telerik plugin is not compatible and will be disabled.  Just wondering if the latest internal build will resolve this.

Thanks!
Alan
Anthony
Telerik team
 answered on 28 Dec 2011
7 answers
305 views
Hello all.

I'm trying to learn Telerik with following materials and can't perform following example.
http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/code-samples/general/add-messagebox.aspx

I added System.Windows.Forms to the list of Project References but compilation of my test is failed:
MessageBox.tstest.cs: Line 78: (CS0117) 'TestProject1.MessageBox' does not contain a definition for 'Show'
Anthony
Telerik team
 answered on 28 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?