Telerik Forums
Test Studio Forum
1 answer
26 views
When I exicute a test list an empty black command box apears and the tests never run.
Boyan Boev
Telerik team
 answered on 28 May 2014
3 answers
99 views
Hi, there,
I remember I have to reboot my local desktop for at three times while install TS Ultimate. Can you please let me know if I have to reboot my servers when I install the TS runtime edition? I have to give notice to the teams before I install the runtime on server in this case.

Thanks - Reno
Cody
Telerik team
 answered on 28 May 2014
2 answers
35 views
At this time, I don't think this is possible.  But, I wanted to ask to be sure, and then to see if this could be added as a feature request.

When a new test project is created certain reference assemblies are included by default.  Is it possible to change which ones are inclued?  Our team is starting to look at incorporating test steps that execute PowerShell as part of our tests.  To do this we needed to include the System.Management.Automation assembly.  One of the team members asked if it was possible to set something so that it is included when the project is created.  (Rather than adding it after the fact.)

Expanding on this idea, it is intriguing to consider custom project types.  For example, the default project type would be left unchanged but could be copied to new types that get tweaked to specific needs.


Best Regards,
Kevin H.
Cody
Telerik team
 answered on 27 May 2014
40 answers
696 views
Hi,

In the previous version of Test Studio, we had specified a network path for the project source location as per the instructions in the 2012 R2 and Earlier section here http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/scheduling-test-runs/connect-a-project-to-a-scheduling-server.aspx

I can't find this option in the 2013 R1 version.

As you can see in the attached "UploadingToWhere" screen capture, it just sticks on this screen for about 10 - 15 minutes and eventually throws an error as per attached "RemoteTestExecutionError". After which it just checks out 100s of files, disconnects the project from source control and I have to go through the painful opening procedure again.

I have tried re-installing the scheduling server and followed the instructions in the online documentation and everything appears to be connected fine ( we have 1 x scheduling and execution server, 1 x execution server only ) and both these machines are displayed as options to run test lists against.  Tests also run fine on these machines via the command line so I have worked around the issue at the moment by setting up a batch file to run theses test lists and using windows task scheduler to schedule them, however I would really like to use the Telerik scheduler again.

Please advise

Thanks
Shane
 
Boyan Boev
Telerik team
 answered on 27 May 2014
3 answers
78 views
G'day,

I've recorded a test in IE (running windows 8 - using 2013 Sep 11 Release of TTS).

I'm going to an HTTPS site where I'm prompted for Windows Authentication. I enter the username and password and access the site.

When I try replay the test, after a short while, the login dialog simply flashes quickly, then never enters the credentials.

I've followed the steps require to 'remove credentials' from the site, however this doesn't work

Note that it appears to occasionally work 1 or 2 times after recording then stops.

I'm looking at renewing our subscription as our company is about to start using our 3 licenses with 100 virtual users, however need to be confident it will work for us.


Ivaylo
Telerik team
 answered on 26 May 2014
1 answer
82 views
Hi,
I am a newbie to Test Studio. I am hitting a button on Window1 that opens up a new Window2. The URL for window2 is different everytime so the test case fails as it is trying to navigate to the already recorded URL. 
I am using record and play. Kindly help.

P.S:
The initial part of the URL always remains the same except the last 4 alphanumeric digits. Appologez if I am giving less info.
Boyan Boev
Telerik team
 answered on 26 May 2014
3 answers
96 views
I have many tests in which I have to login to our platform.  Due to passwords changing I created a Test as a Step for the username and password steps which I reuse in all tests when I need to login.  The theory was I could then just update the password in the test as a step and it would matriculate to all other tests.  Individually it did so but our Scheduled Test Lists did not pick up the change and thus failed.  

This seems similar to the earlier issue of test list not getting update with just modifying a test case it just a variation of the same.  I am already running the 2013.2.1524 internal build to get around other issues.  Do I need to just redo my test list to get the changes to take hold?  
Ivaylo
Telerik team
 answered on 23 May 2014
9 answers
184 views
Hi There,

For image comparison, I saw a piece of code here:
System.Drawing.Bitmap expectedbmp = new System.Drawing.Bitmap("myExpected.png");

HtmlImage img = Find.ById<HtmlImage>("myImageId");
System.Drawing.Bitmap actualbmp = img.Capture();

ArtOfTest.Common.PixelMap expected = ArtOfTest.Common.PixelMap.FromBitmap(expectedbmp);
ArtOfTest.Common.PixelMap actual = ArtOfTest.Common.PixelMap.FromBitmap(actualbmp);
Assert.IsTrue(expected.Compare(actual, 5.0));

My questions are :
1. How to import the System.Drawing.Bitmap to Telerik? (Also other files)
2. Where is the path for "myExpected.png", should I use "C:\myExpected.png" or just put under the project folder using "myExpected.png"

Thanks
Waylon
Ivaylo
Telerik team
 answered on 21 May 2014
5 answers
77 views
I am evaluating the trial version, and I am unable to run a capture from my current version of firefox.  I have all the Telerik add-ons enabled and all other add-ons disabled.  Each time I run a capture, it comes back with 0 results.

Ideas?

Thanks
Steve
Steve
Top achievements
Rank 1
 answered on 16 May 2014
2 answers
49 views
Hi,

I have upgraded from 2012.2.1420 to 2014.1.410 and encountered the following error message:

[05/07 13:56:31,Telerik.TestStudio.exe(12476:8),TestStudio] TestUpgrader.ConvertTestToJson() : Could not load test 'C:\...\...\TestName.aii' for upgrade.
[05/07 13:56:31,Telerik.TestStudio.exe(12476:8),TestStudio] SerializerService.<GetSettings>b__2() : Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
[05/07 13:56:32,Telerik.TestStudio.exe(12476:8),ProjectModel] TestFileHandler.LoadFromDisk() : EXCEPTION! (see below)
     Situation: Unable to load test 'C:\...\...\TestName.aii'
     Outer Exception Type: System.Runtime.Serialization.SerializationException
     Message: Error in line 2 position 69. Element 'http://artoftest.com/schemas/WebAiiDesignCanvas/1.0.0:Step' contains data from a type that maps to the name 'http://schemas.datacontract.org/2004/07/Telerik.WebAii.Design.Translators.Xaml.TreeListView:RadTreeListViewIntegerPropertyVerification'. The deserializer has no knowledge of any type that maps to this name. Consider using a DataContractResolver or add the type corresponding to 'RadTreeListViewIntegerPropertyVerification' to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding it to the list of known types passed to DataContractSerializer.
     HRESULT: 0x8013150C (Official ID (if app.) = COR_E_SERIALIZATION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5388)
     Call Stack:
          at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)
          at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Int32 id, RuntimeTypeHandle declaredTypeHandle, String name, String ns)
          at ReadAutomationStepFromXml(XmlReaderDelegator , XmlObjectSerializerReadContext , XmlDictionaryString[] , XmlDictionaryString[] )
          at System.Runtime.Serialization.ClassDataContract.ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context)
          at System.Runtime.Serialization.XmlObjectSerializerReadContext.ReadDataContractValue(DataContract dataContract, XmlReaderDelegator reader)
          at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)
          at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Int32 id, RuntimeTypeHandle declaredTypeHandle, String name, String ns)
          at ReadAutomationStepListFromXml(XmlReaderDelegator , XmlObjectSerializerReadContext , XmlDictionaryString , XmlDictionaryString , CollectionDataContract )
          at System.Runtime.Serialization.CollectionDataContract.ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context)
          at System.Runtime.Serialization.XmlObjectSerializerReadContext.ReadDataContractValue(DataContract dataContract, XmlReaderDelegator reader)
          at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)
          at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Int32 id, RuntimeTypeHandle declaredTypeHandle, String name, String ns)
          at ReadWebAiiTestFromXml(XmlReaderDelegator , XmlObjectSerializerReadContext , XmlDictionaryString[] , XmlDictionaryString[] )
          at System.Runtime.Serialization.ClassDataContract.ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context)
          at System.Runtime.Serialization.XmlObjectSerializerReadContext.ReadDataContractValue(DataContract dataContract, XmlReaderDelegator reader)
          at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)
          at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Type declaredType, DataContract dataContract, String name, String ns)
          at System.Runtime.Serialization.DataContractSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
          at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
          at System.Runtime.Serialization.XmlObjectSerializer.ReadObject(XmlDictionaryReader reader)
          at ArtOfTest.WebAii.Design.ProjectModel.TestFileHandler.LoadFromXml(String normalizedPath)
          at ArtOfTest.WebAii.Design.ProjectModel.TestFileHandler.LoadFromDisk(String pathToFile, Boolean autoLoadTypes, FileOpenResult& result) 

Once I started looking at all of the tests that failed during the upgrade I found the common recorded step that was causing the issue:
radtreelistview(EncNavigationTreeRadtreelistview): root item count 'Equal' '0'.

***I am wondering if this is a bug or if this item is no longer valid and the upgrade is supposed to fail with the above message.












JT
Top achievements
Rank 1
 answered on 16 May 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?