Telerik Forums
Test Studio Forum
12 answers
287 views
I'm getting a red reporter icon and when I try to run tests I get "Cannot run because the reporter cannot establish its database"

How do I give it a DB?
David
Top achievements
Rank 1
 answered on 21 Nov 2012
3 answers
120 views
Hi, just a suggestion.  I really like the fact that you can drive the tests from a CSV but given the fact that the client is often consuming JSON wouldn't it make more sense if you could actually drive the tests using JSON data.  That way I can make a restful API call from our web site and drive the test using the JSON result set.  If I could do that I would be a happy man indeed.
Cody
Telerik team
 answered on 21 Nov 2012
7 answers
311 views
Is it possible to create a test that has a test step at the start with a data bind?

For example: I had a test that used an XLS dataset for the navigation URL at the start.  This worked successfully: it navigated to the first URL in the data, logged in and continued through the test successfully before doing the next iteration of the dataset.

I wanted to try a test step, so I made two copies of the original test - one that did the navigate and login, and one that continued on the test AFTER the login was successful.

However, the 2nd iteration fails and looking at the log it looks like it is doing the first navigate and login, then switches and does the 2nd navigate and login, then continues with the test.

How do I get it to wait to the end of the test before doing the next iteration.  Is it even possible?

Thanks in advance
Mercedes
Top achievements
Rank 1
 answered on 21 Nov 2012
3 answers
75 views
I am quite frustrated at this point.  It appears that Test Studio has everything that I need to create a good web UI test.  Unfortunately the website that I am testing is very heavy jQuery (dynamically changing DOM) and has very few elements with ID's.  

This is the FRUSTRATING thing - I know how to find the exact element by its xpath (I like this TS feature) and I also know exactly what the innerText should contain in order to validate the test, however it appears that I cannot edit a test step without being connected to the DOM.  When I am connected to the DOM and I select the element that I want to validate during the recording session, the DOM element that I want to validate disappears and what I actually get is some other element that has nothing to do with my test.  The reason it disappears is because it was created dynamically and by clicking on the targeting dot to target the element it actually removes focus from the element selected.  Then what I get is some underlying more static DOM element, not what I need.

Is there any way to edit the test or create a test step without actually having a live DOM connection?

This would probably not be that big of deal but running the tool and connecting to my browser is incredibly slow, sometimes completely freezing the browser.  Currently I am running this on a VM with over 8gb of memory and plenty of disk space.  Perhaps I should run this on my host machine as it has 24gb memory.
Cody
Telerik team
 answered on 19 Nov 2012
1 answer
49 views

This is satyam, I am facing one problem in test studio . In the below I have mentioned the steps what I have to do using telerik test studio.

Steps:

  1. 1. In Telerik test studio I have to create a web test , Using the record function and I have recorded some steps on web page.
  2. 2. In the same project I have created a WPF test and I recorded some steps on one of the WPF application which is under test.

Problem:

  1. 1.  I want to execute WPF test by calling methods(which are defined in WPF) in web test.
  2. 2.  In one of the test file i have to call the functions which is availabel in another test file.

 

Thanks
satyam

Plamen
Telerik team
 answered on 19 Nov 2012
3 answers
90 views
Hi,

We are playing around with installations of Test Studio for our developers as we are hoping that they will be able to use the run-time licences to run scripts against their own code-base before checking in, not only to see if what they have done is breaking the system they are working on, but also to see how much work they are going to cause me to fix any of the automation scripts.

On the other hand, they have also agreed to help out whenever they can to fix automation scripts, so I have trained them up on the automation tool and they will mainly be working with the coded steps areas of the automation code.

I was hoping to install both versions on each of their machines and for them to check in and out the licences as and when they need them.  However when attempting to install both on a single machine, the installation of the 2nd ( run-time ) executable failed. 

Please could you let me know if this is even possible, and if not, what is the best practice for what I am trying to achieve?

Many thanks
Shane
Boyan Boev
Telerik team
 answered on 19 Nov 2012
3 answers
120 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
42 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
115 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
106 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
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?