Telerik Forums
Test Studio Forum
10 answers
103 views
I get following error while running regular visual studio webtest.
"Error 1/4/2012 5:03:04 PM Failed to queue test run 'msbhatt@machinename- 2012-01-04 17:03:00': Unable to find assembly 'ArtOfTest.WebAiiVSIP, Version=2011.2.1117.0, Culture=neutral, PublicKeyToken=14176981d1873d86'. US0280730-V008"


the solution does not contain any telerik tests or does not have reference to any ArtofTest dlls.


Cody
Telerik team
 answered on 06 Jan 2012
1 answer
59 views

Hi,

I saw the New Performance feature, and I saw that works for an individual Test Case. Could it work for a Test List?


Thanks,


Cody
Telerik team
 answered on 06 Jan 2012
1 answer
137 views

Hi,

I'm using task Scheduler from windows to run specific test list, but the thing here is that the test list cannot run if user is not logged on the PC.

I have marked the option in the task scheduler "Run whether user is logged on or not"  (see the image attached)

I tried used this with password and without it, and all the time, the test is up and run, but the results sent me to my email was fail, like the test does not run.  I just suppose that task run b/c I have the results on the email.

When I login into the pc and click to run the task, results on my email appear as Pass.

there is something in the configuration on Task Scheduler that I need to do, or the results as Fail are b/c the PC needs to see the browser to execute the steps??

Thanks,




Plamen
Telerik team
 answered on 06 Jan 2012
5 answers
135 views

After converting steps to code, I see an error and that error is that type Pages is not defined.  Do we need to define it and where do we define and to what?

 

Thanks,

John

Plamen
Telerik team
 answered on 06 Jan 2012
6 answers
147 views
Hello Telerik Team,

Firstly, I apologise if there are other problems similar to this one that I've missed when browsing through the support forums, I've tried looking through several solutions on here myself to fix this problem before I actually created a thread myself. I also fired off a support ticket yesterday (ID: 485751) to try and fix this issue.

OS: Windows 7 (x64)
Telerik Test Studio v2011.2.1117.0 (Standalone Edition)
License Type: Trial.

I'm new to Telerik and am basically learning the ropes using the Trial License, but I'll try and be as thorough with information as I can. 
The issue I am having is running an automated test in Internet Explorer that connects to a Silverlight system over https://. The test itself simply navigates to the URL which should take you to a log-in page which enters the relevant details and then logs into the system which is designed in Silverlight.

At first, the test worked perfectly from recording to playback through Internet Explorer and the automation did exactly what it was asked to do; log into the system. But, when I then tried introducing a test to perform various options in the Silverlight system, executing the test resulted in "Internet Explorer cannot display the webpage". I re-created the test several times, and each time that you requested it to perform a task with a Silverlight control, the same issue would occur. I re-recorded the test multiple times and each time the same error occurred.

The test simply does the following:
- Navigate to target URL.
- Click OverridelinkLink - (Security Certification problem - no trusted certificate so simply clicks link to continue)
- Click OverridelinkLink - (Have to click this link again to proceed).
- Enter username in username textbox.
- Press Tab to move to password textbox.
- Enter password in password textbox.
- Click SignIn button and wait for 6000ms for Silverlight stuff to load.

A very basic test. This works fine until you either EnableSilverlight in the Project Properties, Use the Silverlight Out-Of-Browser options to configure the test to run against a Silverlight application (where the application path and recording host is specified - WebURL and Internet Explorer respectively) or attempt to make an action within the Silverlight application once it has logged in.

I configured Internet Explorer following the steps listed here (http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/configure-your-browser/internet-explorer.aspx), which unfortunately didn't make any difference as well as doing standard tasks such as uninstalling the studio and reinstalling to see if that made any difference. You can access the URL perfectly using IE outside of Test Studio and you can also access the URL when executing the test in FireFox or Chrome, it's simply in Internet Explorer that there is an issue, seemingly.  Naturally, being unable to get past the first simple step in the automated test causes all the other steps to fail because the test cannot actually get to the URL to perform any of the other steps and I'm forced to simply Abort the test or just wait for it to end itself.

I have no idea whatsoever at the moment as to what the exact problem is. Hope the information I provided isn't too vague, I can provide more if needed to (logs, screenshots where necessary, etc). Pretty stumped at the moment and hoping you guys are able to find a solution. Essentially, we're using the trial as a proof of concept against other software automation tools to see which is the most effective for our needs, so a quick solution to this problem would be ideal!

Thanks and hope to hear back from you guys soon!
Cody
Telerik team
 answered on 06 Jan 2012
4 answers
79 views
I fill html input field with following method
Pages.SitecoreCMS.Field_FullName.Text = Guid.NewGuid().ToString().Remove(30);
And often field is not filled with value, step is passed, but test is failed because this field is requered.

If I restart Telerik problem may dissapear but it occurs later (test and site are not changed).
Anthony
Telerik team
 answered on 05 Jan 2012
1 answer
141 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
71 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
94 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
83 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
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?