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
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.
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!
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
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
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
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