Telerik Forums
Test Studio Forum
3 answers
146 views
I am trying to run a very basic load test using the trial version of Test Studio.  I am using the stand-alone version on Windows XP.

When I tried to run it with a maximum of 20 users it crashed with an "out of memory" exception so I reduced this number to 10.

When I run the load test, it happily moves to the "Analyze your results" window with no results available.  The three "lights" next to environment randomly turn red but the test never completes.  There is nothing in the event log to indicate any errors.

Eventually the "stop" button is enabled but the three lights continue to change between red and green until I restart the services.

When I check the database in SQL Management Studio, I notice that it created TestStudioReportingDB but there are no tables (or any other objects).

I have added the NT AUTHORITY\SYSTEM login to all of the admin server roles when I installed Test Studio (I believe it prompted me to ensure that login has adequate permission).

Do you have an idea what my problem might be?

EDIT: The log has lots of entries like "Invalid object name dbo.Results" indicating that the tables have not been created.  I want to change the user to SQL authenticated sa user - where can I reconfigure my connection?

EDIT 2: The exact same thing happens with the "sa" user in mixed authentication mode.  No tables!!
Boyan Boev
Telerik team
 answered on 19 Nov 2012
1 answer
59 views
I have an MVC Asp .Net Web app that is heavy jQeury scripted on the front end and I am try to use a trial version of TS to write some automated tests.  It seems as if everytime I try to connect to my web browser under test it is very slow and sometimes does not connect at all.  It often freezes the browser and I have to go into task manager to kill it.

So far my experience with this tool has been less than pleasant.  Is there any way to speed things up a bit?

Thanks

Stoich
Telerik team
 answered on 19 Nov 2012
1 answer
138 views

I have a script that has a coded step after the user logged in:

ActiveBrowser.NavigateTo("~/Communication.mvc/Messages?cb=Inbox");

The test failed on that line:

Failure Information: ~~~~~~~~~~~~~~~Exception thrown executing coded step: '[Case_Manager_CodedStep] : New Coded Step'.InnerException:System.UriFormatException: Unable to resolve the passed uri '/Communication.mvc/Messages?cb=Inbox' to an absolute url. at ArtOfTest.WebAii.Core.Browser.BuildUrl(Uri passedUrl) at ArtOfTest.WebAii.Core.Browser.InternalNavigateTo(Uri uri) at ArtOfTest.WebAii.Core.Browser.NavigateTo(Uri uri) at ArtOfTest.WebAii.Core.Browser.NavigateTo(String url) at Titan.WebTests.Case_Manager.Case_Manager_CodedStep() in c:\Titan.QA\Titan.WebTests\Login Page\No Cert\Case Manager.tstest.cs:line 86

 

I'm using build 2012.2.1022.  This script ran before without a problem, so I'm not sure why.  
Help please.

Thanks,
Mindy
 

Byron
Telerik team
 answered on 16 Nov 2012
2 answers
144 views
I am having a hard time verifying the text contained in some dynamic content on my web page. 
Here are the steps that I am taking. 

Navigate to the Web site
Type in 'WA' in the input box of the jQuery-ui Dynamic Drop Down List
Wait until the list comes up
Select the 8th list item
Verify its text

Unfortunately when I try to record this test it does not grab the list item it actually is grabbing so non-dynamic content that is directly behind the list box item.  I think that this is because the List goes away as soon as you try to select the list item.

Is there any way to grab the dynamic content.   I know that in MSFT CodedUI you have to actually hold down the ctrl key when you click the element you are trying to capture.  Do you do anything like that with this?

Thanks
John
Top achievements
Rank 1
 answered on 16 Nov 2012
6 answers
86 views
When I search the documentation it only comes up in a small example in the Find Expression subject.  Also this documentation would be much better if there were more and better samples, e.g. the Find Expression page tells you how to create an expression but not how or where it is used.  I am assuming that I am using it correctly by doing something like this -

Pages.HomeCORS.Find.ByExpression<ArtOfTest.WebAii.Controls.HtmlControls.HtmlAnchor>(expression)

.Wait.ForExists(10000);

 

 


Cody
Telerik team
 answered on 16 Nov 2012
1 answer
79 views
Hi all I am trying to use Visual Studio to debug a broken Coded Step test step  by attaching to the test runner process.  Is there any way to better integrate the two, i.e. Visual Studio 2012 and the code for the codedstep in Test Studio?  For example one of the problems that I am currently running into is that the HierarchyConstraint reference type is not found.  If I had this loaded in VS I could probably find the namespace a little quicker.
Cody
Telerik team
 answered on 16 Nov 2012
1 answer
138 views
Hello All,

I trying to use this code in one my tests, but the second function use to cast the element into Tcontrol is throwing this exception -- Exception has been thrown by the target of an invocation . Any idea what am I doing wrong here?

===
var Element = Manager.Current.ActiveBrowser.WaitForElement(Config.Timeout,
                                                                                              "id=test");
return Element .As<T>();
===

Thanks,
Aakash
Plamen
Telerik team
 answered on 16 Nov 2012
5 answers
119 views
We have a helper .dll that we recently wrote.  We put it in a shared location relative to the projects that will be referencing it:

    \team1
        \project1
        \project2
    \team2
        \project1
    \shared
        \bin
            TestHelper.dll

When you add a reference to the .dll from the project settings, the reference gets added as a relative reference like this "..\shared\TestHelper.dll".  The project reference works well and we can reference classes in the .dll - good stuff.

We have a problem though, when we try to run test lists from that project in our continuous integration environment (i.e., from the command line) - compilation errors complaining TestHelper.dll can't be found.  What we found was that we need to change the project reference to go up one more directory level, like this "..\..\shared\TestHelper.dll".

The problem is we have to edit the XML by hand to add the extra level and when we do, it breaks the Test Studio project - it now gets the compilation errors.  We can leave references to both in the project, but that is messy and difficult to communicate to the users (we have a lot of them).

Anybody else seen this issue - any suggestions?  I tried to add the "root=" option to the command line, but no luck.
David
Top achievements
Rank 1
 answered on 15 Nov 2012
1 answer
129 views
Hello,

I'm trying to click on a hyper link inside a grid.  When I recorded the step, it recorded as KendoGridCell Click on Cell [3,0].  And the element's property is id=grid1,|,tagIndex=td:3

The step passed since it clicked on the cell, but it's not clicking on the hyperlink to open the item that I need.  Is there an easy way to change that?

I went to edit the element to add another filter tagname=a, but it didn't like that when I ran it. 

Thanks,
Mindy
Byron
Telerik team
 answered on 14 Nov 2012
1 answer
110 views
HI

I find that TestStudio_2012 spend more time exceuting a test than TestStudio_2011.when i used TestStudio_2011,it just showed the result of a test without showing other information.But now i use TestStudio_2012,it shows the information about every step of a test such as [exce] Comment:'xxx',[exce] Coded Step:'xxx',[exce] Execute test:'xxx'.Because of spending so much time display the information,a test have to spend more time.So i just want to know why can i get result of a test without showing other information.

Now i execute my test list  through command line by MSTest.exe.

Thanks for your answer.
Byron
Telerik team
 answered on 14 Nov 2012
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?