I have my scheduling server running on my virtual machine. On my machine, I started up the stand alone client and connected to the scheduling server successfully. After clicking the View Log button, i noticed this error:
05/04 09:48:03,Telerik.TestStudio.ExecutionManagerService.exe(2052:29),Execution] ProcessManagerClient.GetState() : EXCEPTION! (see below)
Situation: Unable to contact Process Manager.
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:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<Get>d__26`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<Ping>d__21.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Telerik.TestStudio.ExecutionManager.Communication.ProcessManagerClient.<GetState>d__19.MoveNext()
Inner Exception Type: System.Net.WebException
Message: Unable to connect to the remote server
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.Net.Sockets.SocketException
Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.0.xx.xxx:55555
HRESULT: 0x80004005 (Official ID (if app.) = E_FAIL, Error Bit = FAILED, Facility = FACILITY_NULL, Code = 16389)
Call Stack:
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
What am I doing wrong? Thanks for the help in advance.
- Chris
Im pretty sure I have my scheduling/storage server configured correctly. On test runners of each machine, I see that I am connected to the correct scheduling server too. Ports are open, no firewall exists, etc. When I try to run test remotely on my stand alone client, the list is empty. Below is an exception I noticed in the log when trying to load that Run Test Remotely pop up screen:
[04/25 22:22:57,Telerik.TestStudio.Desktop.exe(63880:27),Execution] RemoteExecutionViewModel.LoadMachines() : EXCEPTION! (see below)
Situation: Exception trying to populate drone listing
Outer Exception Type: System.Net.Http.HttpRequestException
Message: Response status code does not indicate success: 500 (Internal Server Error).
HRESULT: 0x80131500 (Official ID (if app.) = COR_E_EXCEPTION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5376)
Call Stack:
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<HandleResponse>d__33.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<HandleResponse>d__34`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<Get>d__26`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Telerik.TestStudio.Shared.Communication.ExecutionManagerCommunicationLayer.<GetAvailableDronesAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ArtOfTest.WebAii.Design.UI.ViewModels.RemoteExecutionViewModel.<<LoadMachines>b__50_0>d.MoveNext()
I'm assuming this has something to deal with my issue at hand. I can provide more information/details if necessary. Any help with this issue would be greatly appreciated - thanks in advance.
- Chris
Hello,
we have a problem. In most cases we get a dialog on a website (the user is already logged in). That is why we created a test step to continue our test by clicking on OK. The test should continue on failure, because sometimes the dialog is not shown. When the dialog is not shown, the test will continue, but after the run we get an error message and the test is marked red. Is it possible to ignore failures completely (without any error message)?
Thank you very much.
I'm REALLY struggling with the recorded drag\drop :/ It's easily my least reliable test and I hate that I have to maximize the browser as a step to get it to work even slightly.
Is there no way to like get the position of the box, then get the height of the first item to then calculate the drag height or something?
http://demos.telerik.com/kendo-ui/sortable/index
This is the generated drag code...
[CodedStep(@
"Drag First item to second place"
)]
public
void
CpsPlacementsRanking_DragItem()
{
// Drag First item to second place
Pages.ClinicalPlacements.RankableLocationFirstItem.Wait.ForExists(30000);
ActiveBrowser.ResizeContent(2577, 25, 2093, 1297);
ActiveBrowser.ScrollBy(0, 0);
Pages.ClinicalPlacements.RankableLocationFirstItem.DragToWindowLocation(ArtOfTest.Common.OffsetReference.TopLeftCorner, 333, 19,
true
, ArtOfTest.Common.OffsetReference.TopLeftCorner, 1127, 300,
true
);
}
Hi There,
I have downloaded the latest telerik Test studio package to install (I have 2016 version installed. want to update it to 2017) and encountered attached error on execution.
Please help.
Hi guys,
I'm unable to use Build Step feature on frame elements. When i highlight the element and select Build Step (BuildStep.png), nothing is selected in the DOM (EmptyBuildSteps.PNG). But, if i highlight and select Mouse Actions as Left Click for an example (LeftClickMouseAction.png), the element is recorded in Telerik (LeftClickElement.png).
The idea of the test script is when we click start without filling in the required fields, the required fields background and border will be coloured in red and i would like to verify this change of color. Based on the documentation, i found that this can be achieved by using the style verification option that is available (StyleVerification.png) but since the step builder cannot detect the element,i'm unable to build this step.
Also, when i use the IE11 debugger mode, i'm able to dive into the field element that i'm looking to verify (IE11DOM.png) but when i do the same in Telerik DOM,i can't find the same element (TelerikDOM.png). **Not sure if this helps but it's a finding that i noticed :)
Do help to advice on this (:
Many many thanks in advance,
Best Regards,
Pravin
praja@dongenergy.dk
Currently I am trying to monitor and log Http Requests through a proxy using the following:
<p>
using
Telerik.TestingFramework.Controls.KendoUI;<br>
using
Telerik.WebAii.Controls.Html;<br>
using
Telerik.WebAii.Controls.Xaml;<br>
using
System;<br>
using
System.Collections.Generic;<br>
using
System.Text;<br>
using
System.Linq;<br><br>
using
System.Web;<br><br>
using
ArtOfTest.Common.UnitTesting;<br>
using
ArtOfTest.WebAii.Core;<br>
using
ArtOfTest.WebAii.Controls.HtmlControls;<br>
using
ArtOfTest.WebAii.Controls.HtmlControls.HtmlAsserts;<br>
using
ArtOfTest.WebAii.Design;<br>
using
ArtOfTest.WebAii.Design.Execution;<br>
using
ArtOfTest.WebAii.ObjectModel;<br>
using
ArtOfTest.WebAii.Silverlight;<br>
using
ArtOfTest.WebAii.Silverlight.UI;<br><br>
using
ArtOfTest.WebAii.Messaging.Http;
//Needed for Telerik HTTPProxy<br><br>namespace EpicMix<br>{<br> public class HTTPProxy : BaseWebAiiTest<br> {</p><p> <br> public List<Dictionary<string, string>> NavigateToUnauthenticatedUrl(string testUrl)<br> {<br> // Check for HTTP Requests in proxy<br> RequestListenerInfo ensReq = new RequestListenerInfo(checkRequests);<br> Manager.Current.Http.AddBeforeRequestListener(ensReq);<br> <br> <br> // Add our HTTP response event handler. For each response the proxy gets, parse for the Omniture URL's query string parameters<br> ResponseListenerInfo li = new ResponseListenerInfo(GetQueryStringParamatersAndValues);<br> Manager.Current.Http.AddBeforeResponseListener(li);<br> <br> // Navigate to the given URL (passed in from the test case)<br> Manager.Current.ActiveBrowser.NavigateTo(testUrl);<br> <br> // Wait '5000' msec for url:'{testUrl}'<br> Manager.Current.ActiveBrowser.WaitForUrl(testUrl, true, 5000);<br> <br> // Wait for the page to completely load<br> Manager.Current.ActiveBrowser.Frames.WaitAllUntilReady();<br> <br> // We don't need the event handler any longer. Removing it stops listening to responses in the proxy<br> Manager.Current.Http.RemoveBeforeResponseListener(li);<br> Manager.Current.Http.RemoveBeforeRequestListener(ensReq);<br> <br> return ResponseDictionaries;<br> }<br> <br> private void checkRequests(object sender, HttpRequestEventArgs e)<br> {<br> <br> try{<br> Manager.Log.WriteLine(String.Format("Request for {0}", e.Request.RequestUri));<br> }<br> catch (NullReferenceException nre)<br> {<br> Manager.Log.WriteLine("Request E is null" + nre.Message);<br> }<br> }</p><p>}</p><p>}</p>
I have checked and made to make a log in the test settings and have checked the setting to use the HttpProxy in the test list settings, which is why I haven't set it here.
However I am running into the following error which I have attached a picture of:
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
at ArtOfTest.WebAii.Design.BaseWebAiiTest.get_Manager()
at EpicMix.HTTPProxy.checkRequests(Object sender, HttpRequestEventArgs e)
I started a TS project (e.g. 'Foo') with a few test cases and successfully connected to an empty remote GitHub repository(e.g. githubURL/<company>/bar). As the single contributor so far to this project, I am able to commit and push additional test cases to the remote repository and re-launch TS to continue my work.
What would you recommend as a workflow for sharing this remote project for other QA members to see this project where they also will be adding test cases and eventually the team would be able to pull the latest, commit their changes and push these changes for others to do the same? Maybe questions would help narrow down some answers:
1) Should other QA members "Open" this remote project, or should they "Create" a new project and "Connect" to the remote repository, then "Pull"
2) What is the difference between opening a remote project versus creating a project and connecting to a remote?
Without getting too deep into our issues, when opening a remote project (that is stable from my desktop and usage is fine), other QA members are getting one of several errors(e.g. 401 errors, error in deserializing object, non-fastforwardable, etc).