Telerik Forums
Test Studio Forum
1 answer
70 views

Hi Team,

 

My requirement is that on a page, there are multiple actions performed on different frames(layouts).

Eg : Enter the name. Click on Add. Verify Name is added in Select List

 

So the above three events are happening on different areas of a single page.

 

Can anyone guide me how to implement auto scroll such that wherever actions are performed, page scroll should be performed ?

Elena
Telerik team
 answered on 29 Jun 2016
15 answers
362 views
Not sure how this happened but suddenly my test lists refuse to run on my execution machine, its as if they never copy over.  Here is a snippet of the TS Trace log.  I am running this with the 2013.2.1524.0 internal release due to other test list issues. 




[04/08 10:25:21,Telerik.TestStudio.Scheduling.Client.exe(304:4)] First trace message from pool unnamed thread (managed ID = 4, native ID = 2168).
[04/08 10:25:21,Telerik.TestStudio.Scheduling.Client.exe(304:4),Execution] RemoteExecutorViewModel.GetProcessData() : EXCEPTION! (see below)
     Situation: Unable to retrieve test history
     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:
          Server stack trace:
          at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
          at Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<HandleResponse>d__5e.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__61`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.BaseCommunicationLayer.<Get>d__33`1.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.Communication.RemoteExecutorCommunicationLayer.<GetTestHistory>d__6.MoveNext()
          Exception rethrown at [3]:
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
          at Telerik.TestStudio.Scheduling.ClientMachine.ViewModels.RemoteExecutorViewModel.<GetProcessData>d__0.MoveNext()

[04/08 10:25:21,Telerik.TestStudio.ExecutionManagerService.exe(2052:8),Execution] JobRunner.RunJobAsync() : Unable to load test list, aborting run.
[04/08 10:25:21,Telerik.TestStudio.ExecutionManagerService.exe(2052:8),Execution] JobRunner.RunJobAsync() : Unable to load test list, aborting run.
[04/08 10:25:21,Telerik.TestStudio.ExecutionManagerService.exe(2052:8),Execution] JobRunner.RunJobAsync() : Unable to load test list, aborting run.
[04/08 10:25:21,Telerik.TestStudio.ExecutionManagerService.exe(2052:5),Execution] JobBroker.ctor() : Job runner refused this job!
[04/08 10:25:21,Telerik.TestStudio.ExecutionManagerService.exe(2052:5),Execution] JobBroker.ctor() : Job runner refused this job!
[04/08 10:25:21,Telerik.TestStudio.ExecutionManagerService.exe(2052:18),Execution] JobBroker.ctor() : Job runner refused this job!
[04/08 10:25:22,Telerik.TestStudio.Scheduling.Client.exe(304:16),Execution] RemoteExecutorViewModel.GetProcessData() : EXCEPTION! (see below)
     Situation: Unable to retrieve test history
     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:
          Server stack trace:
          at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
          at Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<HandleResponse>d__5e.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__61`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.BaseCommunicationLayer.<Get>d__33`1.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.Communication.RemoteExecutorCommunicationLayer.<GetTestHistory>d__6.MoveNext()
          Exception rethrown at [3]:
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
          at Telerik.TestStudio.Scheduling.ClientMachine.ViewModels.RemoteExecutorViewModel.<GetProcessData>d__0.MoveNext()

[04/08 10:25:23,Telerik.TestStudio.Scheduling.Client.exe(304:8),Execution] RemoteExecutorViewModel.GetProcessData() : EXCEPTION! (see below)
     Situation: Unable to retrieve test history
     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:
          Server stack trace:
          at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
          at Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<HandleResponse>d__5e.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__61`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.BaseCommunicationLayer.<Get>d__33`1.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.Communication.RemoteExecutorCommunicationLayer.<GetTestHistory>d__6.MoveNext()
          Exception rethrown at [3]:
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
          at Telerik.TestStudio.Scheduling.ClientMachine.ViewModels.RemoteExecutorViewModel.<GetProcessData>d__0.MoveNext()
Ivaylo
Telerik team
 answered on 29 Jun 2016
4 answers
192 views

Hello,

We have been using Telerik.TestStudio.CommandLineClient.exe to run test lists remotely as part of our CI system but due to major inconsistencies are looking to see how the ArtOfTest.Runner.exe works instead. Here is a sample command of using the CommandLineClient in one of our TeamCity build steps.

  • "C:\Program Files (x86)\Telerik\Test Studio\Bin\Telerik.TestStudio.CommandLineClient.exe" -l "TestLists\OfficialFile.aiilist" -u "http://TestRunner:8009"

What I need to figure out is how to accomplish this exact same thing with the ArtOfTest.Runner. My initial attempt at creating such a command is shown below.

  • "C:\Program Files (x86)\Telerik\Test Studio\Bin\ArtOfTest.Runner.exe" root="C:\Users\Runner\AppData\Local\Temp\Projects\" list="TestLists\OfficialFile.aiilist"

But, the above command gives me an error along the lines of unrecognized or incomplete command line. The ArtOfTest.Runner has a few arguments of interest to us (we are not using TFS): primarily list & root. I am probably just using this tool incorrectly but something about the list argument seems problematic as it wants the full path to the test list to run. How can one specify the full path when the projects ran on the scheduling server (found in the C:\Users\Runner\AppData\Local\Temp\Projects\ directory) have unpredictable names such as 1ef60107-4696-4b2c-b34a-bfeb6a2e5a28? Is my root argument correct or does it need the project name with it?

Thanks!

Elena
Telerik team
 answered on 28 Jun 2016
1 answer
112 views

Hi,

I have created some automated script using Telerik Test Studio. I want to map the test cases ID which is being covered in my test script.

Suppose,

I have created a test script s1 which covered manual test case with ID T1, T2, T3.

 

Now I want to map those test case ID with my test script so that the mapping got reflected in my test studio execution report.

 

 

Boyan Boev
Telerik team
 answered on 28 Jun 2016
4 answers
100 views

Hello,

I am testing an angular website for work. Every time I write a test for a page, the next deployment of the website breaks my tests. It appears that the Pages' element names (or tags) in the elements viewer are named OperationsX where X is a number between 0 and 15. This can be seen in the attached image. These numbers are randomly changing between deployments. I am not sure what could be causing this.

Thank you for the help!

 

Also, I am having another similar issue where text inputs, buttons, etc are also all tagged "MdIconTagX" where X is 0-9. These also randomly change, but those seem to do so on page refreshes.

Elena
Telerik team
 answered on 27 Jun 2016
2 answers
103 views

Greetings,

I'm implementing custom logic to skip test steps and attempting to make use of the ExecutionContext.SetCurrentStep method, which appears to be named in such a way as to suggest this is possible. I can tell the correct step is set by a log statement I've included:

Log.WriteLine("Setting next step to: " + nextStep.CustomOrNormalDescription);

However, calling this method has no effect and appears to silently fail. It makes me wonder what the purpose of this method is. The documentation only offers "Sets the current step to execute against." Can someone explain why this method fails, and if it does not work like expected, how to set the current step for the test in code?

Rory
Top achievements
Rank 1
 answered on 24 Jun 2016
1 answer
221 views

Hi All,

I have downloaded the telerik trial version few weeks back. Now only 2 days left for the trial version to expire. Because of my day to day tasks I was not able to evaluate the tool completely. I need to  make sure that the tool meets the requirements for my organization. I sent an email to the Telerik Sales Team for the extension of trial period. But I didnt get any proper reply from them. Please let me know how can I do this .

 

Jameson
Telerik team
 answered on 24 Jun 2016
4 answers
213 views

Hi,

I'm running a list which contains test cases. However when testing is finished no results are visible either in the Test Studio nor are they stored on the hard drive. This is happening since two days ago. We use version TS 2015.3.1314.0. Restarting the computer, ending all Telerik processes and restarting them didn't solve the problem. No update of TS software was done. How can we solve this? When tests of the list are running, no errors show up.

BR, Jurij

Elena
Telerik team
 answered on 24 Jun 2016
1 answer
123 views

 

Hello - I have a series of web tests I've created that run well. When creating a load test and clicking "Capture from exiting web test" and selecting any of the web tests and any browser I get an error once the browser pops up. In IE I get "Page can't be displayed" and in Chrome I get "Page isn't working Chrome" and Firefox never gets past the "preparing browser for automation method'. I've configured each browser according to the steps provide for them and the extensions are running fine. Once the page is brought up with those messages I can't get to any public page either by entering a URL so its seems like the browser is locked by the Telerik tool.

 

Any suggestions? Thanks.

Elena
Telerik team
 answered on 24 Jun 2016
3 answers
123 views
I have been tracking an issue for a while now where the remote desktop that we are running our tests from randomly disconnects from our scheduling and execution servers every few days and has to be manually reconnected.  We also get a "A test list is waiting to be executed on the execution machine..." error popup when we load test results making me think the server is somehow hung up on a testlist.  In the last couple of days our scheduled tests have stopped running altogether, even though our servers are still connected and the tests are still scheduled.  Researching these issues I have learned that I need to check the Telerik.TestStudio.Scheduling.Log for errors, but this log does not exist in our system and if someone has moved it I cannot find it.  I also learned from other similar threads (like http://www.telerik.com/forums/scheduled-tests-not-executing) that I should create a new SQL database, but I cannot find the option to change database connection settings.  Can anyone please provide assistance in locating our error logs and changing our database name?  I know these should be simple tasks, so I apologize in advance if the solution is a simple one.
Elena
Telerik team
 answered on 22 Jun 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?