hi there,
I am working with Test Studio and trying to get my company to purchase this software for our internal testing needs; I am still learning though, and now I have also to overcome some strange but hard technical difficulties.
I recently switched from an older machine to a new one, so I moved from a Windows 7 laptop (64bit, i3 CPU, 4 GB RAM) to a Windows 10 one (64bit, i5 CPU, 8 GB RAM + SSD HDD); this new machine proved to be obviously faster and more reliable than the other one under any circumstance, as it was never used before but just freshly updated to latest versions of drivers and OS.
I saved on a external HDD the whole folder from the older system which carried all of the (working) tests I created there and pasted it in my new computer.
I reinstalled and updated Test Studio, the 3 browsers I was testing (Chrome, Firefox and Explorer 11) to their most recent versions. I was also pleased to see that Test Studio could recognize the folder created on the older system and import the test plan and their relative resources inside the interface in the new PC.
I installed the plug-ins, extensions, all the desired add-ons for the three browsers to work with Test Studio, on replay as well as on record side.
I started working on Test Studio and here came the disaster: I am having a terrible performance, the program runs ok while not testing, but the real problems starts when doing so.
----LAUNCHING EXISTING TESTS:
Chrome: seems to execute the test at first but then highlights all the wrong places of the web apps and runs slowly
Firefox: doesn't run the test, opens a window and then remains stuck at "preparing browser for automation"
Explorer11: seems to execute the test but highlights all the wrong places of the web apps and runs slowly
----RECORDING NEW TESTS (sometimes it even crashes before launch stuck at "Launching recorder..."):
Chrome: runs incredibly slow, even when staying still with mouse, moves herratically the red highlighting tool everywhere around the web page components and goes as far as filling up my system memory and forcing me to close the browser to stop.
Firefox: opens a new window, but shows the message "Please verify that the Test Studio Recorder extension is installed and enabled in your browser." I knew I did, but I even checked again as this happened: I have "Test Studio Automation" and "Test Studio Recorder" correctly installed and enabled at the moment of execution.
Explorer11: it seems to work somewhat well, surely the best of the three, it starts as a normal test recording and I even manage to highlight parts of the site correctly and even access the context menu, but after a while the highlighting tool starts moving on its own and I can't use the menu effectively anymore.
I tried uninstalling Test Studio, reinstalling it, disabling-removing-redownloading all the extensions but nothing happens.
Is this a known issue? I tried to find a solution in other threads, but I've gone just as far as discovering which .NET framework version I am running and it's the 4.6.1.
I would really appreciate a hand on this because working is becoming very difficult here.
Thank you very much in advance for any recommendation and, hopefully, a solution.
Until next time.
I've managed to record a number of simple/straight forward tests to log in and enter data in the application we are testing.
However, where I have made the test to be data driven, the option to add a new record in the application under test is disappearing behind the sticky main menu when i use the command for the test to scroll to the top of the page.
Any suggestions how I can get this to work or the command(s) I should be using.
At the moment I 've simply recorded and play back the test.
Any assistance would be greatly appreciated!
Is there a way to force a new copy of a test to be loaded to the storage server?
I have a test that no matter what changes I make to it, when scheduling a test list that includes it, an older version of the test is always executed. I have tried changing the test list as well. I have tried removing all scheduled runs that include the particular test. No joy.
Your help will be much appreciated. Thanks.
Briar
Hello,
I usually work in the office but occasionally I take the laptop home and work there. At my office I have multiple monitors and usually drag the recorder off to another screen from where my application is. I am home now and my recorder is stuck off screen. I'd rather not have to do a full reinstall just to reset the coordinates of the recorder pop up. Is there an easy fix for resting the position that the recorder initializes to?
Thanks,
Jon D
Hi,
Can i get to know that whether the colors of the lines depict some reasoning? If the color for the line is red, is it showing any strange behavior?
Hi,
It's been a while since the last time I used Test Studio, so I updated to the latest version. 2015.3.1217.0.
Now I can't connect to Team Foundation Services and receiving the error: HTTP code 203: Non-Authoritative Information (See log below and check attached screenshot). Please note that I'm using visual studio online and I have no issues when connecting from VS 2015.
I hope someone faced the same issue than me and solved it. Not much info can be found on the web...
[01/12 17:21:32,Telerik.TestStudio.Desktop.exe(11216:19),TeamFoundationServer] TFSServer.ConnectToServer() : EXCEPTION! (see below)
Situation: Exception connecting to TFS server
Outer Exception Type: Microsoft.TeamFoundation.TeamFoundationServiceUnavailableException
Message: Team Foundation services are not available from server https://XXXXXXXXXXXXXXX.visualstudio.com/defaultcollection.
Technical information (for administrator):
HTTP code 203: Non-Authoritative Information
HRESULT: 0x80131600 (Official ID (if app.) = COR_E_APPLICATION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5632)
Call Stack:
at Microsoft.TeamFoundation.Client.TeamFoundationClientProxyBase.ProcessHttpResponse(HttpWebResponse response, Stream responseStream, WebException webException, XmlReader& xmlResponseReader)
at Microsoft.TeamFoundation.Client.TeamFoundationClientProxyBase.ExecWebServiceRequest(HttpWebRequest request, XmlWriter requestXml, String methodName, HttpWebResponse& response)
at Microsoft.TeamFoundation.Framework.Client.LocationWebService.Connect(Int32 connectOptions, ServiceTypeFilter[] serviceTypeFilters, Int32 lastChangeId)
at Microsoft.TeamFoundation.Framework.Client.FrameworkServerDataProvider.Connect(ConnectOptions connectOptions)
at Microsoft.TeamFoundation.Framework.Client.FrameworkServerDataProvider.EnsureConnected(ConnectOptions optionsNeeded)
at Microsoft.TeamFoundation.Framework.Client.FrameworkServerDataProvider.EnsureAuthenticated()
at Microsoft.TeamFoundation.Client.TfsConnection.<EnsureAuthenticated>b__0()
at Microsoft.TeamFoundation.Client.TfsConnection.UseCredentialsProviderOnFailure(Action action)
at Microsoft.TeamFoundation.Client.TfsConnection.EnsureAuthenticated()
at Microsoft.TeamFoundation.Client.TeamFoundationServer.EnsureAuthenticated()
at ArtOfTest.Common.TFSClient.TFSServer.ConnectToServer(IServerInfo server)
[01/12 17:21:32,Telerik.TestStudio.Desktop.exe(11216:19),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function End -------
I have a scheduling server set up which also serves as the storage server. There are 5 execution servers (including my local computer) all connected to the scheduling server and I am able to run test lists remotely on them. The question comes when trying to run load tests. If I do not include my local machine on the "Manage Users" screen, then the "Run this test" button is not enabled and I cannot run a load test, no matter what other computers and VU's have been set up on the "Manage Users" screen. If I do add my local computer to that list, then the "Run this test" button is enabled, but when I click it, I get a message "sending the test to the scheduling server" but the load test never runs and the "Run this test" button remains disabled until I restart the test studio application. Below is the error log in that scenario. Keep in mind that my local machine does have its test runner scheduling connection configured to the proper scheduling server (not localhost or my computername):
10/27 19:06:44,Telerik.TestStudio.Scheduling.Client.exe(8624:14)] First trace message from pool unnamed thread (managed ID = 14, native ID = 7100).
[10/27 19:06:44,Telerik.TestStudio.Scheduling.Client.exe(8624:14),Execution] JobValidator.EnsureServiceIsReady() : No drones have been registered- reject job
[10/27 19:06:44,Telerik.TestStudio.Desktop.exe(2216:42)] First trace message from pool unnamed thread (managed ID = 42, native ID = 8248).
[10/27 19:06:44,Telerik.TestStudio.Desktop.exe(2216:42),Error] SchedulingTestListRunner.BeginTest() : EXCEPTION! (see below)
Situation: Error scheduling test list job on local server!
Outer Exception Type: Telerik.TestStudio.Shared.Communication.Exceptions.NoDronesRegisteredException
Message: No Drones have been registered with this scheduler
HRESULT: 0x80131500 (Official ID (if app.) = COR_E_EXCEPTION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5376)
Call Stack:
Server stack trace:
at Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<CheckForKnownResponseCode>d__66.MoveNext()
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.<HandleResponse>d__5f.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.BaseCommunicationLayer.<HandleResponse>d__62`1.MoveNext()
Exception rethrown at [2]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<Post>d__46`2.MoveNext()
Exception rethrown at [3]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Telerik.TestStudio.Shared.Communication.ExecutionManagerCommunicationLayer.<QueueJobRun>d__26.MoveNext()
Exception rethrown at [4]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at ArtOfTest.WebAii.Design.Execution.LocalExecution.SchedulingTestListRunner.<BeginTest>d__c.MoveNext()
[10/27 19:06:44,Telerik.TestStudio.Desktop.exe(2216:42),Error] SchedulingTestListRunner.BeginTest() : Error scheduling test list job on local server!
If I change my local test runner to use the local computer as its scheduling connection and change the project scheduling server settings to run locally, only then will the load test work, but it only runs from my machine and not the execution machines. How do I get a load test to run on multiple execution machines? Can this only be done through a test list?
Thanks!
Chad
We are getting the attached error message when we try to convert a step to code.
I am guessing I a missing referernce in the settings but I am not sure which one:
References currently in the settings file:
System
System.Core
ArtOfTest.WebAii
ArtOfTest.WebAii.design
Telerik.WebAii.Controls.Html
Telerik.WebAii.Controls.Xaml
Telerik.WebAii.Controls.Wpf
Telerik.TestingFramework.Controls.KendoUI
Error message:
"Error adding functions: There are no classes in code behind that extend the webaii base class 'BaseWebAii'. Either add one to the file or delete the tests's .aii.cs or aii.vb file and we will generate a new one."
Any help would be greatly appreciated.
Mike