Telerik Forums
Test Studio Forum
2 answers
110 views
I am having a problem with the test studio run time where the test studio run time will stop & hang on server 2012 (IE10) when I Clear Browser Cookies. The screen capture attached has been sitting there for more then an hour.
Jon
Top achievements
Rank 1
 answered on 18 Jan 2013
3 answers
150 views
Hi,

We have two select inputs on a page. The second is populated when something in the first select changes (using jQuery .change() to listen for that).

We are trying to write tests for this page. In IE9, when we select something from the first list using "Select 'ByText' Option '<element in first select>' on '<name of first select>'", the .change() function never fires (even though the element does get selected), and the second select never gets populated with elements, which causes our test to fail.

This works perfectly in all browsers when we test them by hand. When we run the test in Chrome it works fine. Below is the javascript.

Any suggestions?

$("#firstSelectObject").change(function () {    
    $("#secondSelectObject").empty();
        var parms = { ... };
        var serverUrl = ...;
        $.ajax({ url: serverUrl, traditional: true, type: "POST", dataType: "json", data: parms,
            success: function (result) {    
   
                            $.each(result, function(val, text) {
                                addToSelectList(text);
			    });
            },
            error: function (XMLHttpRequest, textStatus, errorThrown) {
                alert( ... );
            }
        });
    }
});
Plamen
Telerik team
 answered on 18 Jan 2013
3 answers
88 views
I have created data driven test case with XML, in my XML file i have multiple rows when i execute this test case it was executing the test n times (equal to the no of rows in XML) but i want this test case to execute only once by taking one set of data randomly from XML File for each time.
 can you help me on the same?



Boyan Boev
Telerik team
 answered on 18 Jan 2013
4 answers
190 views
Hi,all
    When I have multiple test environments in which to execute my test scripts.I found that the operating system of the server was English. But I record my web test in Chinese operating system.So your can see the difference between it from the picture I upload.In these circumstances, I need to modify a lot of places to meet the changes of the operating system.How can I use one step to solve all the problems.
    Thank you for your help
Boyan Boev
Telerik team
 answered on 18 Jan 2013
5 answers
528 views
Hi Telerik Team,
      I created multiple tests for each page of a web application. 

My Test now looks like this
Navigate to : 'http://policyadmindev/ascendantOne/'
Check 'ChoicesRadio' to be 'True'
Click 'BtnContinueButton'
Connect to pop-up window : 'http://policyadmindev/ascendantOne/AORuntime/AORuntime.aspx?SessionId='
Execute test 'QuoteAccess'
Execute test 'GeneralQuoteInfo'
Execute test 'PolicyInfo'
Execute test 'ActuarialExclusion_Form'

Each of the tests "QuoteAccess", "GeneralQuoteInfo", "PolicyInfo", "ActuarialExclusion_Form" are bound to different tables in a database. I need to run one complete iteration for all the steps for a particular policy but currently my test tries to finish all the iterations in "QuoteAccess" before going to the next test. Is there any way i can pass a parameter between these tests and use T-SQL to define the records to use from the database for each iteration?

Any help is appreciated!!

Thank you,
Nithin
Plamen
Telerik team
 answered on 17 Jan 2013
1 answer
95 views
Hi,
    

        Once the test modules are in place,I add them to high-level tests with the Test as Step function. Next I open the AddToCart test and add the  test to the beginning of it.There was so many Test as Step function there and their name was so resemble.

How can I know the path of My web test. 


My Telerik Test Studion version is 2011.2.1413.
Boyan Boev
Telerik team
 answered on 16 Jan 2013
2 answers
61 views
Hi,

Im looking into having some c# coded tests that do some automation for silverlight. The tests run ok when run through visual studio - there are mouse clicks in the tests, when I log off the machine while the tests are running then the tests fail as I assume that the mouse clicks are not working.

How do I work around this as our build sever will have its screen locked...

thanks
Mario
Telerik team
 answered on 15 Jan 2013
1 answer
103 views
Is there a way to set up checkpoints or expected results?  For example if I go through the test and change a value, is there a way to make sure the correct value was saved? 
Mario
Telerik team
 answered on 14 Jan 2013
1 answer
136 views
How can test studio help me to test the EDI files. Can you derive me some general guidline?

Boyan Boev
Telerik team
 answered on 14 Jan 2013
3 answers
388 views
Hi,

We are struggling to copy tests with coded steps in them.  After copying and pasting a test with a coded step it fails to compile due to "The namespace 'TestProject' already contains a definition for 'TestX'"

The reason why we are using copy and paste rather than execute test as step in Test Studio is due to the fact that our workflows require many variable test data columns ( some consist of over a thousand ) therefore we are splitting the test data up into smaller more manageable tables in the database, creating a test for this data and binding it to all rows, then when the QA staff copies this test they will open the data bind and select only the rows they want to use.

Is there any way around this or will I have to workaround it by either changing the namespace in the code each time or renaming the step and code behind the step making it impossible for QA ( who have no technical knowledge ) to re-use?

Thanks
Shane

EDIT: At the moment I have created a single test containing just the coded step to workaround the issue.  Although this works it seems strange to have to create tests every time I want to add a coded step. Please let me know if I have missed something.
Stoich
Telerik team
 answered on 11 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?