Completed
Last Updated: 14 Apr 2015 14:59 by ADMIN
ADMIN
Boyan Boev
Created on: 13 Apr 2015 08:31
Type: Bug Report
0
All RadWizard translator's actions throws an exception
Steps to reproduce:

1. Create a test and start recording against http://demos.telerik.com/aspnet-ajax/wizard/overview/defaultcs.aspx

2. Highlight the RadWizard and create a quick step against some of its properties (e.g. Active Index, position,  percentage).

Expected: A test step is created.

Actual: No step is added and the following exception is thrown:

Situation: Error recording automation descriptor(s) .
     Outer Exception Type: System.Runtime.Serialization.InvalidDataContractException
     Message: No set method for property 'ActiveIndex' in type 'Telerik.WebAii.Design.Translators.Html.Wizard.ActiveIndexVerificationDescriptor'.
     HRESULT: 0x80131500 (Official ID (if app.) = COR_E_EXCEPTION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5376)
     Call Stack:
          Server stack trace:
          at System.Runtime.Serialization.DataContract.DataContractCriticalHelper.ThrowInvalidDataContractException(String message, Type type)
          at System.Runtime.Serialization.DataContract.ThrowInvalidDataContractException(String message, Type type)
          at WriteActiveIndexVerificationDescriptorToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , ClassDataContract )
          at System.Runtime.Serialization.ClassDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)
          at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
          at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeAndVerifyType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, Boolean verifyKnownType, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
          at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithXsiType(XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle objectTypeHandle, Type objectType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
          at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
          at WriteArrayOfAutomationDescriptorToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , CollectionDataContract )
          at System.Runtime.Serialization.CollectionDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)
          at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
          at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
          at System.Runtime.Serialization.DataContractSerializer.InternalWriteObjectContent(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver)
          at System.Runtime.Serialization.DataContractSerializer.InternalWriteObject(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver)
          at System.Runtime.Serialization.XmlObjectSerializer.WriteObjectHandleExceptions(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver)
          at System.Runtime.Serialization.XmlObjectSerializer.WriteObject(XmlDictionaryWriter writer, Object graph)
          at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.SerializeParameterPart(XmlDictionaryWriter writer, PartInfo part, Object graph)
          at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.SerializeParameter(XmlDictionaryWriter writer, PartInfo part, Object graph)
          at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.SerializeParameters(XmlDictionaryWriter writer, PartInfo[] parts, Object[] parameters)
          at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.SerializeBody(XmlDictionaryWriter writer, MessageVersion version, String action, MessageDescription messageDescription, Object returnValue, Object[] parameters, Boolean isRequest)
          at System.ServiceModel.Dispatcher.OperationFormatter.SerializeBodyContents(XmlDictionaryWriter writer, MessageVersion version, Object[] parameters, Object returnValue, Boolean isRequest)
          at System.ServiceModel.Dispatcher.OperationFormatter.OperationFormatterMessage.OperationFormatterBodyWriter.OnWriteBodyContents(XmlDictionaryWriter writer)
          at System.ServiceModel.Channels.BodyWriterMessage.OnWriteBodyContents(XmlDictionaryWriter writer)
          at System.ServiceModel.Channels.Message.OnWriteMessage(XmlDictionaryWriter writer)
          at System.ServiceModel.Channels.BufferedMessageWriter.WriteMessage(Message message, BufferManager bufferManager, Int32 initialOffset, Int32 maxSizeQuota)
          at System.ServiceModel.Channels.BinaryMessageEncoderFactory.BinaryMessageEncoder.WriteMessage(Message message, Int32 maxMessageSize, BufferManager bufferManager, Int32 messageOffset)
          at System.ServiceModel.Channels.FramingDuplexSessionChannel.EncodeMessage(Message message)
          at System.ServiceModel.Channels.FramingDuplexSessionChannel.OnSendCore(Message message, TimeSpan timeout)
          at System.ServiceModel.Channels.TransportDuplexSessionChannel.OnSend(Message message, TimeSpan timeout)
          at System.ServiceModel.Channels.OutputChannel.Send(Message message, TimeSpan timeout)
          at System.ServiceModel.Dispatcher.DuplexChannelBinder.Request(Message message, TimeSpan timeout)
          at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
          at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
          at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
          Exception rethrown at [0]:
          at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
          at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
          at ArtOfTest.Common.Design.UI.RecordingSurface.IRecorderHost.RecordDescriptorsInProject(AutomationDescriptor[] descriptors, Boolean requiresConfirmation, Rectangle[] elementLocations)
          at ArtOfTest.WebAii.Design.UI.RecordingSurface.RecorderHostClient.RecordDescriptorsInProject(AutomationDescriptor[] descriptors, Boolean requiresConfirmation, Rectangle[] elementLocations)
          at ArtOfTest.WebAii.Design.UI.RecordingSurface.RecordingSurfaceManagerBase.RecordDescriptorsInProject(Boolean requiresConfirmation, AutomationDescriptor[] descriptors)
2 comments
ADMIN
Ivaylo
Posted on: 14 Apr 2015 14:59
Telerik: This is done and the fix will be included in the upcoming internal build
Shapour
Posted on: 13 Apr 2015 11:44
1. Are recording against that control? (i.e. RadWizard)?
We are not using Radwizard


2. Are you trying to open a test project which contains steps against the RadWizard?
We are not using Radwizard



3. Do you use Test Studio standalone or Visual Studio?
We are using Test Studio Standalone


4. Please give us any additional information about this issue.
Please find attached pic, This Error occurs at first time of launching Telerik Test Studio