Telerik Forums
Test Studio Forum
3 answers
74 views
We got some problems running Silverlight tests on Firefox (16.0.2). The test stops as soon as the first element in the Silverlight app is accessed. This is the log message:

Outer Exception Type: System.TimeoutException
Message: Timeout trying to connect to Silverlight App.

A complete log is attached.
The tests run successfully on IE and Chrome. Firefox is configured manually according to the documentation and the Telerik Extension is installed. We are using Test Studio Vesion 2012.2.920.0.
Plamen
Telerik team
 answered on 23 Nov 2012
1 answer
42 views
Hi, my suite of tests runs against IE8 and before I move to IE9 I would like to know if the file download dialogues 'Save', 'Open', 'Cancel' I have recorded in IE8 will simply work in IE9 or will I have to re-record them all? Thanks
Stoich
Telerik team
 answered on 23 Nov 2012
7 answers
310 views
We encountered a problem along the following test scenario for our Silverlight application:

TestA: test the creation-process of an object which automatically receives an unique ID. Extract this ID.
TestB: find the newly created object out of a list of other objects using the extracted ID from TestA. Here we test the search and filter routine.
TestC: test editing-process of this object, part 1
TestD: test editing-process of this object, part 2
...(other tests to test the editing of this object)..

(We tried to modularize the Test Studio project as much as possible to improve exchangeability and reduce redundancy.)
Now to run all tests we are using a Test List containing all tests. Unfortunately it doesn't seem possible to pass the extracted ID from test to test within a Test List. According to the documentation, this and this threads, the only solution would be

1) write the extracted data to a file (or another data source) and read from it for every test
2) use some kind of parent test which includes TestA, TestB, TestC, ... as steps and inherit the extracted data from it.

Solution 1) would be acceptable but needs some minor coding effort. Solution 2) has some disadvantages too. For example it somehow confilcts with the idea of Test Lists. (Another negative aspect is that you have to combine the storyboards from all sub-tests into a single one if you wish to have screenshots included in the test documentation.)

So, it would be really nice to avoid these "work-arounds" if the extracted data is globally available during the execution of tests in Test Lists. From our point of view, this would be the cleanest, easiest and fastest solution.

Are we missing something?
Is this feature planned for future releases?
Aaron
Top achievements
Rank 1
 answered on 23 Nov 2012
12 answers
312 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
141 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
340 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
84 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
61 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
100 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
135 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?