I have MS Visual Stuido Professional 2015 and Test Studio 2016.3.928.0 installed. When I run a test list from test Studio it gives attached log. when I run it from Command prompt it gives following exception :
C:\Program Files (x86)\Telerik\Test Studio\Bin>ArtOfTest.Runner.exe list="C:\Users\molugun\Desktop\repos\testfolder1\subfolder\TestLists\testlist.aiilist"
Could not load file or assembly 'Microsoft.TeamFoundation.VersionControl.Client, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
at ArtOfTest.Common.Serialization.JsonKnownTypeConverter.Create(Type objectType, JToken jObject)
at ArtOfTest.Common.Serialization.JsonKnownTypeConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Populate(JsonReader reader, Object target)
at Newtonsoft.Json.Serialization.JsonSerializerProxy.PopulateInternal(JsonReader reader, Object target)
at ArtOfTest.Common.Serialization.JsonKnownTypeConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at ArtOfTest.Common.Design.SerializerService.DeserializeFromJSON[T](String serializedObject, Boolean autoLoadTypesFromAssemblies)
at ArtOfTest.WebAii.Design.ProjectModel.Project.LoadSettings()
at ArtOfTest.WebAii.Design.Execution.CommandLineHelper.PrepareProject(String projectPath)
at ArtOfTest.WebAii.Design.Execution.CommandLineRunner.ExecuteListInternal(TestList list, String projectPath)
at ArtOfTest.WebAii.Design.Execution.CommandLineRunner.ExecuteTestList(String aiiListPath)
at ArtOfTest.Runner.Program.CommandLineExecution(String[] args)
at ArtOfTest.Runner.Program.Main(String[] args)
Im trying to run a Test Studio test as part of my Release Management.
I have a Powershell script to run the test.
try
{
artoftest.runner.exe test="E:\TestStudioTry1\TestingPrototype\logon.tstest"
if (!$?)
{
write-output "Failed"
throw "Tests Failed"
}
}
catch
{
Write-Error $_.Exception.Message
# exit 1 # to get an error flagged so it can be seen by RM
}
This script runs fine from Powershell ISE but when running as a step in RM it fails, looking at the logs i get.
"Message": "------------------------------------------------------------\r\n'09/09/2016 16:45:02' - Executing test: 'logon', path: 'logon.tstest.'\r\n'09/09/2016 16:45:02' - Using .Net Runtime version: '4.0.30319.42000' for test execution. Build version is '2016.2.630.0'.\r\n'09/09/2016 16:45:02' - Starting execution....\r\n'09/09/2016 16:45:04' - Failure detected during execution. Details:\r\n------------------------------------------------------------\r\n'09/09/2016 16:45:04' - ArtOfTest.WebAii.Exceptions.UnsupportedNonInteractiveOperationException: Dialog monitoring can not be enabled when running in non-interactive mode. Follow the link for more information: http://docs.telerik.com/teststudio/user-guide/command-line-test-execution/continuous-integration/team-foundation-server-builds.aspx\r\n at ArtOfTest.WebAii.Design.Execution.ExecutionContext.SetDialogMonitoring()\r\n at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTestIteration(Object codeBehindInstance, Boolean isDataDriven)\r\n at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)\r\n at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)\r\n------------------------------------------------------------\r\n'09/09/2016 16:45:04' - Test completed!\r\n",
How does one include a test as part of a release management flow?
Hi team,
I'm hoping to find a way to execute a specific action if the current data row number is equals to X number in my local data for data driven testing.
I've manage to find a property that gets the CurrentDataRow but i can't seem to manipulate it accordingly. Here's the idea of the code that i'm looking to achieve but it can't seem to work. Do help to advice.
public void Login_CodedStep()
{
if(ExecutionContext.CurrentDataRow == 1) {
this.ExecuteTest("Login\\VerifyFailLogin.tstest");
else if (ExecutionContext.CurrentDataRow == 2)
this.ExecuteTest("Login\\VerifyPassLogin.tstest")
}
}
Hi,
I did a manual download of Test Studio (I think due to computer security, the connection to the installation server didn't go through). I went to Manual Activation because trying to log in keeps saying "We couldn't log you in. The Telerik license server cannot be reached now."
I'm on the manual screen, I hit Get Activation Key and it takes me to Managed License Keys, says I have none, and doesn't have any button saying add a key or anything like I've seen in some examples. Where/How do I get the trial activation key?
Thank you
I need to be able to run the same tests on different webpages. The webpage urls are organized differently, and as follows:
webpage.com/product/version/type
product-version.webpage.com/type
The problem that I run into is the pages and panels make incorrect urls under the hood when I use a BaseUrl, and I'm not sure how to fix it.
I've read about everything I could find on how BaseUrl works, but haven't been able to make anything work yet.
On a similar topic, I'm also shortly going to be using currently created tests on a different webpage then they were created on. These tests were created without any form of BaseUrl, and my fear is that they will be incompatible without going through every element and individually changing certain fields. Is that analysis correct?
Thank you very much for your help,
Chris
Hello,
I'm trying to work with this beautiful tool Test Studio for APIs when i test some HTTP requests i've theses errors :
10:31:17.594 [ERROR] [FAILED] | | 'GET https://{{BaseUrl}}' [183 ms] [5VqdzGJAPJ3Q1ZPFOXdCq8] 'The request was aborted: Could not create SSL/TLS secure channel.'
After search, the host can accept only protocol TLS 1.2 and not under.
I use Test Studio for APIs without Fiddler 4, it's possible to configure Test Studio for APIs for use protocol TLS 1.2 ?
Regards
Hi, I am new to Telerik Test Studio.
Here's my scenario,
I want to be able to execute Test Lists remotely in a VM on Cloud, and so I installed Trial version of Test Studio and having to finish the required steps to run execution remotely. Looking at the list of Execution Server, the VM was not there.
I came across the term Run-time edition, is that what I needed in the first place?