Locally the test passes, while when I execute it remotely, it completely fails due to the following error:
Compile failed: c:\Users\Administrator\AppData\Local\Temp\2\Projects\93f1ab04-e5a8-45dc-a70f-f3dc978526f5\Trunk\Accounts\Create.Account_Dragic.tstest.cs(80,58) : error CS1061: 'Trunk.Pages.ConnectWithYourCompanyPage' does not contain a definition for 'textFieldCompanyCode' and no extension method 'textFieldCompanyCode' accepting a first argument of type 'Trunk.Pages.ConnectWithYourCompanyPage' could be found (are you missing a using directive or an assembly reference?)
The weirdest thing is, that Create.Account_Dragic test does not exist any more in the project.
Hi,
I have been tasked with a Continuous Integration project and the initial phase requires me to run a simple set of Test Studio tests early every morning. I have created a schedule that runs a test list at the required time. In order to continually run these tests however I also need to increment the data in the projects Excel data source which I do via a scheduled task which runs a macro. The problem I have is the Schedule I have set up does not pick up the changes to the data source unless I right click the schedule instance due to run the next morning and 'Update Latest Project Files'. Is there anyway of getting the schedule I create to do this automatically instead of someone having to manually do it each day? Can the 'Update Latest Project Files' function be run separately via a scheduled task for instance? I hope you can help with this as it is an essential element of the project.
IE is being used as the default browser when I use the "Find Element" functionality as an "Existing Test Step" feature. How can I change the browser from IE to another?
Thanks.
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
);
}