Telerik Forums
Test Studio Forum
1 answer
142 views

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)

Elena
Telerik team
 answered on 03 Jan 2017
6 answers
261 views

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?

Elena
Telerik team
 answered on 03 Jan 2017
1 answer
88 views

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")

             }

         }

Elena
Telerik team
 answered on 02 Jan 2017
1 answer
131 views

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

Boyan Boev
Telerik team
 answered on 02 Jan 2017
1 answer
74 views

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

Elena
Telerik team
 answered on 30 Dec 2016
3 answers
183 views
Overall Result: Fail
------------------------------------------------------------
'12/26/2016 11:42:28 PM' - Executing test: 'WPFTest', path: 'WPFTest.tstest.'
'12/26/2016 11:42:28 PM' - Using .Net Runtime version: '4.0.30319.42000' for test execution. Build version is '2016.3.928.0'.
'12/26/2016 11:42:28 PM' - Starting execution....
------------------------------------------------------------
------------------------------------------------------------
'12/26/2016 11:42:36 PM' - Using 'C:\Users\sujanah\SBCNE_1.2\SBCNE_PATH\bin\Debug\SBCNE.PATH.exe' application.
'12/26/2016 11:42:37 PM' - 'Pass' : 1. LeftClick on Item0Textboxview
'12/26/2016 11:42:39 PM' - 'Pass' : 2. Type 'Admin' into TextBoxUserNameTextbox
'12/26/2016 11:42:41 PM' - 'Pass' : 3. LeftClick on Item1Textboxview
'12/26/2016 11:42:43 PM' - 'Pass' : 4. Type 'Admin1' into PasswordBoxPasswordPasswordbox
'12/26/2016 11:42:44 PM' - 'Pass' : 5. LeftClick on LoginTextblock
'12/26/2016 11:45:03 PM' - 'Fail' : 6. LeftClick on DashboardTextblock
------------------------------------------------------------
Failure Information: 
~~~~~~~~~~~~~~~
End of Stream encountered before parsing was completed.
InnerException:
System.Runtime.Serialization.SerializationException: End of Stream encountered before parsing was completed.
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at ArtOfTest.WebAii.Messaging.Process.PipeCommand.FromBinary[T](Byte[] bytes)
   at ArtOfTest.WebAii.Messaging.Process.PipeCommunication.ReadCommandFromPipe[T](PipeStream pipe)
   at ArtOfTest.WebAii.Messaging.Process.BrowserRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId)
   at ArtOfTest.WebAii.Wpf.WpfProxy.ExecuteSLCommand(SilverlightCommand cmd)
   at ArtOfTest.WebAii.Wpf.WpfProxy.GetAllVisualTrees()
   at ArtOfTest.WebAii.Wpf.WpfWindow.RefreshVisualTrees()
   at ArtOfTest.WebAii.Wpf.WpfWindow.EnsureStateIsCurrent()
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(IAutomationHost host, AutomationDescriptor descriptor, Int32 timeout)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------
'12/26/2016 11:45:03 PM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'12/26/2016 11:45:03 PM' - Overall Result: Fail
'12/26/2016 11:45:03 PM' - Duration: [2 min: 27 sec: 67 msec]
------------------------------------------------------------
'12/26/2016 11:45:03 PM' - Test completed!
Elena
Telerik team
 answered on 29 Dec 2016
3 answers
138 views
Is there any option to slow down the process during execution 
Boyan Boev
Telerik team
 answered on 23 Dec 2016
1 answer
142 views

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

Elena
Telerik team
 answered on 23 Dec 2016
1 answer
152 views
I am new to Telerik Test Studio

I want to be able to execute Test Lists remotely in a Virtual Machine 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 Virtual Machine was not there. I came across the term Run-time edition, is that what I needed in the first place?
Elena
Telerik team
 answered on 21 Dec 2016
1 answer
84 views

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?

Elena
Telerik team
 answered on 21 Dec 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?