Telerik Forums
Test Studio Forum
3 answers
122 views

Here's my scenario. I have a data-driven test that is comparing some text fields to values in the spreadsheet. For one field and one iteration, it always fails but the data and the text on the field matches. Here is the log for the exception.

ArtOfTest.Common.Design.Exceptions.VerificationException: Content.TextContent of 'CphContentTabsPropOneTabpanDeedsRptDocsLblDocumentNoSpan' does not match!

   Match Type: 'Same'
   Expected Result: '571871'
   Value at time of failure: '571851'
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)

As you can see, the expected value and the value at time of failure are both '571871'. Am I missing something here? 

My Product Version is 2016.3.928.0

 

Cody
Top achievements
Rank 1
 answered on 16 Dec 2016
1 answer
85 views
How to write data driven test result in Excel or CSV or XML file?
Boyan Boev
Telerik team
 answered on 15 Dec 2016
3 answers
114 views

I'm attempting to run a Load Test with Telerik Test Studio. I've recorded a user profile and would like to run it with 100 VUs.

How long does Test Studio wait between starting the user profile with each VU? The "sample rate" seems like maybe it would affect this, but I would like to set it so that it waits 500 ms in between each VU, not 5 whole seconds. Is this possible? 100 VUs should break my site but it's only getting a peak of 150 responses received per second. I am assuming that means 150 HTTP requests responded to (I have 50 HTTP requests in my user profile, so this means it's only doing 3 VUs per second).

How can I get it to send more requests at a time at my server?
Boyan Boev
Telerik team
 answered on 14 Dec 2016
1 answer
167 views

Hi,

 

I couldn`t find it anywhere, so i hope you can answer me.

How could I link test cases in Test Studio with user stories in Jira?

 

For example, if i have a user story in Jira, I would like to create test cases for that user story in Test Studio. After executing my tests, if i get any bugs, I would like to submit it into Jira, not only into the right project, but also into a right User story.

 

How could I manage this?

Nikolay Petrov
Telerik team
 answered on 14 Dec 2016
1 answer
299 views
Here's the situation:

I am testing a form using Telerik Test Studio.

There are 3 drop downs (State, City, Building) and what you choose on the previous box decides what is in the next box. Before you choose what is in the drop down box number one, two and three are empty (no choices). When you choose a State, it gives you options for cities, then once you choose a city, the building drop down gets populated with options.

The problem is, when I am testing this with the drop downs, it chooses the state correctly, but it, for some reason, doesn't register that there is a state chosen, so the city drop down does not get populated. I slowed the process down while the test is running to try and see if it was something simple, but I saw myself that it DOES choose a state, so I tried to manually choose the city but there was nothing to populate the drop down options. But, if I choose the state myself, then the cities populate.

Thank you for your help.

M

Here's the situation:

I am testing a form using Telerik Test Studio.

There are 3 drop downs (State, City, Building) and what you choose on the previous box decides what is in the next box. Before you choose what is in the drop down box number one, two and three are empty (no choices). When you choose a State, it gives you options for cities, then once you choose a city, the building drop down gets populated with options.

The problem is, when I am testing this with the drop downs, it chooses the state correctly, but it, for some reason, doesn't register that there is a state chosen, so the city drop down does not get populated. I slowed the process down while the test is running to try and see if it was something simple, but I saw myself that it DOES choose a state, so I tried to manually choose the city but there was nothing to populate the drop down options. But, if I choose the state myself, then the cities populate.

Thank you for your help.

M

Here's the situation:

I am testing a form using Telerik Test Studio.

There are 3 drop downs (State, City, Building) and what you choose on the previous box decides what is in the next box. Before you choose what is in the drop down box number one, two and three are empty (no choices). When you choose a State, it gives you options for cities, then once you choose a city, the building drop down gets populated with options.

The problem is, when I am testing this with the drop downs, it chooses the state correctly, but it, for some reason, doesn't register that there is a state chosen, so the city drop down does not get populated. I slowed the process down while the test is running to try and see if it was something simple, but I saw myself that it DOES choose a state, so I tried to manually choose the city but there was nothing to populate the drop down options. But, if I choose the state myself, then the cities populate.

Thank you for your help.

M

Boyan Boev
Telerik team
 answered on 08 Dec 2016
1 answer
91 views

Hi , Im trying test and compare json response from post api call but for some reason my jsom looks like this : 

���������|�φ���_d�����#��I�l����i>������:o��Z�o��O�M��������EV��O�+�o_��"��_Ϋe�b����G[;�޿��}z�}��������u gu�����fm~R���hw����ݽ�]���V3|���ͧ�6Nj��� �]�5/�Z6�{��M��v�t'��B����լ8/d4�ogg�C�4xrMM�w�c��&R�f�|�p�^�,+��:}Z{mN�}|�ݳoN_�/�_�^޷�[�

 

I import my request from fiddler.

 

Other issue is that i still cant understand how i compare json from the response with exacted json .

 

Kiril Stanoev
Telerik team
 answered on 07 Dec 2016
2 answers
381 views

Hi,

 

When recording a test, i highlight Element, and i want to verify if there is any numbers in the text block. How can i do this? I only found, i can look for the exact number.

 

 

Thanks

Elena
Telerik team
 answered on 06 Dec 2016
1 answer
125 views

I'm a new user to Test Studio and looking to see of there is sample code, video or documentation on how to handle get and post requests to the server.  I recorded a script where you fill in text into fields then the users clicks submit.  The next page is a verification page to verify the information before submitting to the website. After hitting submit on that screen, the server doesn't get the information and the script fails.

 

Elena
Telerik team
 answered on 06 Dec 2016
17 answers
140 views

This has happened three times now so I don't think it is just me :) ...  WIthin the same project, I will copy and paste a test script and then rename the new version.  I open the new version, delete a majority of the test steps and save (call this my "initial version" of the new test script).  I then edit the new version extensively, saving several times intermittently, and run a number of times in a test list, both locally and remotely.  All good so far.  I close TestStudio, do a reboot of my machine and then re-open TestStudio.  The test script now matches the "initial version" with all subsequent changes missing.  Any idea what is going on?

 

Your help will be most appreciated!  Thanks.

 

Briar

Boyan Boev
Telerik team
 answered on 01 Dec 2016
4 answers
106 views

I am a newbie to Test , I just couldn’t find the answer directly from the help documents!

Question: I would like to extract a particular value from the I am testing and write it to a text file.

I tried

And in coded test:
public void MyFirstCodeTest_CodedStep()
        {
            string myData = GetExtractedValue(seconds);
System.IO.StreamWriter file = new System.IO.StreamWriter("c:\\source.txt");
            file.WriteLine("Expected Result: "+ myData);
            file.Close();
}
But it doesn’t help!

Can you suggest a please?

Please email the answer to minu@hot.co.nz

Thanks!

Boyan Boev
Telerik team
 answered on 30 Nov 2016
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?