Telerik Forums
Test Studio Forum
5 answers
103 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
62 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
1 answer
133 views
Hi,
we have some test lists which have been scheduled to run on a remote execution server. I would like to remove these from the scheduler however the project that originally created the test lists has since been deleted. Is there a way to remove these 'phantom' scheduled tests ?

Thanks Tom.
Faten
Telerik team
 answered on 16 May 2014
1 answer
117 views
Assume I have 5 licences for Test Studio (100 users for each). I need execute tests for 500 users. Assumption is that I use the 5 machines (100 users on each). It can be done manually by execute test for 100 users on the each computer. But if I want manage test from one station, can I use the users from other licences, or I have to by additional VU for specific license? Additional I have to buy four Runtime licences if I want to execute test from one machine (on the other four machines, test will be called)?
Cody
Telerik team
 answered on 15 May 2014
5 answers
145 views
I have add CSV Data source and Bound it to the Test. But when I edit the user profile and select the HTTP Get request I don't see anything would allow me to change  the URL http://services2.somedomain.dev/crmwebservice/cities/1 to something like http://services2.somedomain.dev/crmwebservice/cities/$Data. The documentation covers 2012 versions. Also note I have the trial version and I hope you haven't crippled it.
 
Cody
Telerik team
 answered on 14 May 2014
1 answer
123 views

Hi
   I generated some script for our application where i selected some sub menus.but once playing it shows the following error that the item is hidden.


Failure Information:
~~~~~~~~~~~~~~~
Cannot perform an action on the item while hidden. Please make sure it is visible first!
InnerException:
System.InvalidOperationException: Cannot perform an action on the item while hidden. Please make sure it is visible first!
   at Telerik.WebAii.Controls.Html.RadMenuItem.Navigate(Boolean ensureShouldNavigate)
   at Telerik.WebAii.Design.Translators.Html.Menu.MenuItemActionDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)

Is there any other  way we can record such  hidden item with  telerik

Thanks
Ivaylo
Telerik team
 answered on 14 May 2014
10 answers
430 views
Hi,

We're trying to share tests across a team and are finding that image verification is failing on some steps.

In some cases, we have to use image verification as we're testing a silverlight charting application with custom controls and cannot verify the data any other way. Any changes to the resolution of the browser window directly affects the display of these controls.

Thus, we need a way to set the browser window size/resolution consistently across our tests.

We could use ActiveBrowser.Window.Maximize();however, our screen sizes differ (laptops, 2nd monitors etc.).

What we need is something like ActiveBrowser.Window.SetResolution(1024,768), does something like that exist?

Thanks,
Paul.


Cody
Telerik team
 answered on 12 May 2014
3 answers
46 views
hello,

kindly advise what would be the best thing to do with this scenario:

if i do a single run of the script wherein i have to search and click on the result the outcome is a success but once i bind it to a data step #12 fails, heres the summary logdetails of the failure:

Unable to locate element. Details: Attempting to find [Html] element using
Find logic
 (Html): [tagname 'Exact' a] AND [TextContent 'Exact' P0000012319]

Unable to locate element. Search failed!

Cody
Telerik team
 answered on 12 May 2014
1 answer
69 views
running test lists have suddenly stopped working.
i get the attached error.

i made sure the scheduling server was connected and active. so not sure where to go form here.

also this in trace log:

05/07 14:10:21,Telerik.TestStudio.RemoteExecutor.exe(1444:9),Error] <>c__DisplayClass4.<RegisterResolver>b__1() : EXCEPTION! (see below)
     Situation: Exception trying to resolve dependency: Microsoft.TeamFoundation.Client, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
     Outer Exception Type: System.IO.FileNotFoundException
     Message: Could not load file or assembly 'Microsoft.TeamFoundation.Client, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
     HRESULT: 0x80070002 (Official ID (if app.) = 2147942402, Error Bit = FAILED, Facility = FACILITY_WIN32, Code = ERROR_FILE_NOT_FOUND)
     Call Stack:
          at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
          at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
          at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
          at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
          at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
          at System.Reflection.Assembly.Load(String assemblyString)
          at ArtOfTest.Common.BaseDependencyLoader.<>c__DisplayClass4.<RegisterResolver>b__1(Object o, ResolveEventArgs e)
Ivaylo
Telerik team
 answered on 12 May 2014
4 answers
68 views
We have an app. that sometimes shows a pop-up message on startup (it gives some information to user only when needed)
I have created a test named "accept startup message if any" like the following:

IF (Wait for Exists 'RadMessageBoxWndRadMessagebox') THEN
   Click BtnOkRadbutton
ELSE


I have configured verification timeout to 2 seconds.
This test works perfectly when the message is shown and, when not too, as it only takes the 2 seconds to continue to next step.

I thought it would be nice to add this "accept startup message if any" test as the first step in other tests, in order to reuse it and avoid coding the "IF" every time before starting the test itself.

The problem is that if I use this test as a step in other test, it does not have the same behaviour. In this scenario, if the message appears, it works perfectly, but if the message box does not appear, the test does not follow next step until "CLIENT (FRAME/WINDOW) READY TIMEOUT" is reached (configured in Debugger options or in configuration file), which is a long time. I have tried to configure the test as step with the "WaitOnElementsTimeout" to 2 seconds also with no results.

Am I missing something or doing anything wrong?

Thank you in advance,

Best regards,

Joan
Joan
Top achievements
Rank 1
 answered on 12 May 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?