Telerik Forums
Test Studio Forum
5 answers
143 views
I have my project set up with multiple Test Lists that cover my application in full. I am able to schedule 1 test list at a time from the project but it would be easier if I was able to 'select all' within Test List scheduling, is there a way of selecting all lists in the project?
see attachment.
Elena
Telerik team
 answered on 12 May 2017
5 answers
122 views

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.

Elena
Telerik team
 answered on 10 May 2017
1 answer
68 views

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.

Nikolay Petrov
Telerik team
 answered on 10 May 2017
1 answer
127 views

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.

 

Elena
Telerik team
 answered on 09 May 2017
1 answer
278 views

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

Nikolay Petrov
Telerik team
 answered on 09 May 2017
12 answers
379 views
Hi,

I'm having a problem with the Execution server.  It is giving me an error and it is unable to start.  It gives the log in the picture.

Also the Execution Server does not show up in the list of execution machines within the standalone.
Elena
Telerik team
 answered on 08 May 2017
4 answers
240 views
Greetings,

I have the runtime installed on four VMs. Out of the four only three are working.

There are no indications of anything wrong, I can connect to the VM that's not working, and see it in the status panel.

Here is the log entry from the scheduler. I first ran the test list on the VM that is not responding, then I ran it on one of the VMs that is responding.

[02/18 16:42:47,Telerik.TestStudio.ExecutionManagerService.exe(7164:38),Execution] JobBroker.ScheduleJobAsync() : Job satisfied all preconditions, id = ddad38cd-8ea3-4b3d-a5c2-355146098113
[02/18 16:42:47,Telerik.TestStudio.ExecutionManagerService.exe(7164:78)] First trace message from pool unnamed thread (managed ID = 78, native ID = 6532).
[02/18 16:42:47,Telerik.TestStudio.ExecutionManagerService.exe(7164:78),Execution] JobRunner.RunJobAsync() : TestList loaded for job ID = ddad38cd-8ea3-4b3d-a5c2-355146098113
[02/18 16:42:47,Telerik.TestStudio.ExecutionManagerService.exe(7164:78),Execution] JobRunner.RunJobAsync() : Job started, ID = ddad38cd-8ea3-4b3d-a5c2-355146098113
[02/18 16:42:47,Telerik.TestStudio.ExecutionManagerService.exe(7164:78),Execution] JobsController.CreateNewJob() : Accepted new job, Id = ddad38cd-8ea3-4b3d-a5c2-355146098113
[02/18 16:43:45,Telerik.TestStudio.ExecutionManagerService.exe(7164:26),Execution] JobBroker.ScheduleJobAsync() : Job satisfied all preconditions, id = cbf0c50a-622b-469e-96e4-7768873eb6e3
[02/18 16:43:45,Telerik.TestStudio.ExecutionManagerService.exe(7164:47),Execution] JobRunner.RunJobAsync() : TestList loaded for job ID = cbf0c50a-622b-469e-96e4-7768873eb6e3
[02/18 16:43:45,Telerik.TestStudio.ExecutionManagerService.exe(7164:47),Execution] JobRunner.RunJobAsync() : Job started, ID = cbf0c50a-622b-469e-96e4-7768873eb6e3
[02/18 16:43:45,Telerik.TestStudio.ExecutionManagerService.exe(7164:47),Execution] JobsController.CreateNewJob() : Accepted new job, Id = cbf0c50a-622b-469e-96e4-7768873eb6e3
[02/18 16:44:21,Telerik.TestStudio.ExecutionManagerService.exe(7164:39)] First trace message from pool unnamed thread (managed ID = 39, native ID = 1476).
[02/18 16:44:21,Telerik.TestStudio.ExecutionManagerService.exe(7164:39),Execution] JobRunner.<CleanupTestRunsStatus>b__12() : TestList finished; updating dispatch group header job Id = cbf0c50a-622b-469e-96e4-7768873eb6e3
[02/18 16:44:21,Telerik.TestStudio.ExecutionManagerService.exe(7164:39),Execution] JobRunner.<CleanupTestRunsStatus>b__12() : TestList finished; sending notifications
[02/18 16:44:22,Telerik.TestStudio.ExecutionManagerService.exe(7164:40),Execution] <>c__DisplayClass9.<JobFinished>b__6() : Skipping plugin Telerik.TestStudio.ExecutionManager.Notifications.Emailer.PostListExecutionEmailer notification- not ready to run

Nikolay Petrov
Telerik team
 answered on 08 May 2017
10 answers
116 views

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

Nikolay Petrov
Telerik team
 answered on 08 May 2017
3 answers
121 views

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.

 

 

Elena
Telerik team
 answered on 03 May 2017
5 answers
204 views

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);
     
}
Elena
Telerik team
 answered on 03 May 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?