Telerik Forums
Test Studio Forum
4 answers
69 views

Hi,

I'm trying to figure out if there is a possibility to use data in XML in the way it is used if I would set local data in the test case. For example I would set two rows in local data and when I would run this test case, both data would be used in itterations. Could I achieve something like this using XML?

I'll try to write down the test case:

1. login

2. select first value from dropdown (data driven test step)

3. check if the value has been selected

Local data setup:

indexValue

1

2

 

How could I write this using XML? With code only or is it possible with XML structure?

BR, Jurij

Boyan Boev
Telerik team
 answered on 28 Aug 2015
9 answers
762 views
Hello Everyone, this is my first post so be gentle.

I'm trying to automate a set of pages where a user that is already in the system can create requests to add other users.  Another user would then approve the request and create a username for that user.  There is some data that needs to be shared between those accounts (The tracking number request).  I was wondering if there was a way to store and edit this data during automated test execution where I can, perhaps, edit this variable from a scripted step or something of that nature; where in one test I could set the variable in one of my scripted steps and then in another test I could access that variable so that I can populate a field with that data.

Thanks for any help that can be provided.
Boyan Boev
Telerik team
 answered on 27 Aug 2015
9 answers
467 views
I wanted to know how to setup a run time license. Is this a different application than the regular test studio? If so where can I find the download. If not, how do I configure Test Studio for run time. I have two machines, one I would like to use for recording and one I want to use strictly for playback. How can I accomplish this?
Cody
Telerik team
 answered on 27 Aug 2015
1 answer
91 views

hi guys,

 

i am doing some performance tests on my project but i have errors each time i try to connect to the my server.

log is like this:

[08/20 12:07:18,Telerik.TestStudio.exe(10348:1),Performance] ProfilerClient.CreateCommunicationLayerAsync() : EXCEPTION! (see below)
     Situation: Failure to create comm layer to profiler on PM uri: http://srv-webq01a.tod.loc:55555/
     Outer Exception Type: System.Net.Http.HttpRequestException
     Message: An error occurred while sending the request.
     HRESULT: 0x80131500 (Official ID (if app.) = COR_E_EXCEPTION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5376)
     Call Stack:
          Server stack trace:
          Exception rethrown at [0]:
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
          at Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<Get>d__34`1.MoveNext()
          Exception rethrown at [1]:
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
          at Telerik.TestStudio.Shared.Communication.ProcessManagerCommunicationLayer.<GetProfilerPathAsync>d__c.MoveNext()
          Exception rethrown at [2]:
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
          at ArtOfTest.WebAii.Design.Execution.Profiler.ProfilerClient.<CreateCommunicationLayerAsync>d__31.MoveNext()

     Inner Exception Type: System.Net.WebException
     Message: The underlying connection was closed: An unexpected error occurred on a receive.
     HRESULT: 0x80131509 (Official ID (if app.) = COR_E_INVALIDOPERATION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5385)
     Call Stack:
          at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
          at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)

     Inner Exception Type: System.IO.IOException
     Message: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
     HRESULT: 0x80131620 (Official ID (if app.) = COR_E_IO, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5664)
     Call Stack:
          at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
          at System.Net.PooledStream.EndRead(IAsyncResult asyncResult)
          at System.Net.Connection.ReadCallback(IAsyncResult asyncResult)

     Inner Exception Type: System.Net.Sockets.SocketException
     Message: An existing connection was forcibly closed by the remote host
     HRESULT: 0x80004005 (Official ID (if app.) = E_FAIL, Error Bit = FAILED, Facility = FACILITY_NULL, Code = 16389)
     Call Stack:
          at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
          at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)

 

kindly advise.​

 

Ivaylo
Telerik team
 answered on 25 Aug 2015
6 answers
79 views

Is it possible to use test lists across different environments if a list contains tests that use different URLs? For example, Test A uses URL abc.com to hit an API that determines the status of a widget. In the middle of Test A, it calls Test B, which uses URL xyz.com to hit a different API that updates the status of the widget. Test A then continues and verifies that the status of the widget has changed.

Currently, I'm "hard-coding" the URL in Test A and Test B and dropping the tests into a list. This works fine for one environment, but we will be moving our APIs to Production eventually, so I'd like to be able to just change the test list to point to the new environment rather create separate tests for each environment.

I'm not seeing a way to make this work, but I thought maybe I'm overlooking something. Any insight (or a work-around) you can provide me will be appreciated!

Ivaylo
Telerik team
 answered on 24 Aug 2015
3 answers
121 views

Hi All,

Has anyone successfully used the Test Studio to perform load testing on Microsoft Dynamics CRM?

I have just started experimenting but have hit a wall as it doesn't detect the CRM guids for related entities as dynamic targets to be set.

Any help and pointers would be greatly appreciated!

Thanks

Joe

Cody
Telerik team
 answered on 21 Aug 2015
4 answers
72 views
If I have a test with 25 iterations and it fails on the 24th iteration, what is the easiest way to run just the 24th iteration?
Ivaylo
Telerik team
 answered on 21 Aug 2015
1 answer
51 views

Am new to Test Studio, i downloded the Test Studio 2015.2.

When i installed i got an option checked with "Test Studio Ultimate (Standalone app and Visual Studio Plugin for functional, performance and Load Testing)" but Visual Studio plugin not installed when i tried to change the components from control panel thru repair/change, it is not taking it up.

When i tried to open the "Visual Studio Samples - Test Studio" shipped with this package am seeing an error form Microsoft Visual Studio stating "Invalid license data. Reinstall is required."

I donot have Visual Studio installed in my machine, if i install a trial version of VS2012 Ultimate will be sufficient to work with Test Studio VS plugin?  or any defined pre-requisite is there.

http://www.tiffanylamps.us/tiffany-floor-lamps.html​

Ivaylo
Telerik team
 answered on 20 Aug 2015
1 answer
273 views

Hi Team,

 

Is there a way I can use python code Telerik Test Studio scripts or can I use python language to write scripts in Telerik Test Studio? If so, could you please provide me detailed steps to configure Python Compiler/Plugin so that I see Python Code if I "edit in code" a step or write steps in Python and compile?////

 

Thanks & Regards,

Sijee Sadasivan

Sijee
Top achievements
Rank 1
 answered on 18 Aug 2015
9 answers
137 views

Hi,

I'm having trouble to understand why extracting and then verifying some element doesn't work:

1. Extract selection 'ByText' on 'Cat274411276264076Select' into DataBindVariable $(ticketSumNr)

2. Click 'SubmitPerformanceTopButtonTag'

3. Verify 'InnerText' 'StartsWith' '4' on 'x4TicketsTableCell' - DataDriven: [$(ticketSumNr)]

In short, I reserve random number of tickets, extract this number and then check in the checkout process if number tickets is the same.

When runing the test case I get the following error:

Unable to locate element. Details: Attempting to find [Html] element using Find logic
 (Html): [tagname 'Exact' td] AND [TextContent 'Exact' 4 tickets]

Unable to locate element. Search failed!

Why does this happen and what I'm doing wrong?

BR, Jurij

Boyan Boev
Telerik team
 answered on 17 Aug 2015
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?