Telerik Forums
Test Studio Forum
1 answer
82 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
178 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
183 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
111 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
97 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
198 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
172 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
194 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
163 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
5 answers
375 views
Hi just recently downloaded a trial, does test studio support testing of winform applications NO/YES?

On your product menu you state "Test Studio (Web and Desktop testing)" what does desktop testing mean?

When I run the trial app their are only 2 testing options web and wpf, are there other packages that I need to install? 

I created a WPF test launching calc.exe with no joy.

Have seen some other threads asking similar questions but I am still confused. 

http://www.telerik.com/automated-testing-tools/community/forums/test-studio/general-discussions/does-telerik-support-testing-desktop-applications.aspx

http://www.telerik.com/automated-testing-tools/community/forums/test-studio/general-discussions/wpf-control-within-ms-word-application.aspx

Thanks

David
Cody
Telerik team
 answered on 14 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?