Hi Telerik Team,
I've encountered this error today.
ArtOfTest.Common.Design.Exceptions.ExecutionException: Unable to determine the type of 'raddatepicker' element. Check the log for details. ---> System.ArgumentException: Unable to determine the type of 'raddatepicker' element. Check the log for details.
at ArtOfTest.WebAii.Silverlight.FrameworkElement.CastAs[T]()
at Telerik.WebAii.Design.Translators.Xaml.DatePicker.DatePickerStringPropertyVerification.GetValueByProperty(String name)
at Telerik.WebAii.Design.Translators.Xaml.Common.RadControlPropertyVerificationDescriptor.ExtractData(IApplication hostApp, DescriptorValueStore dataStore)
at ArtOfTest.WebAii.Design.Extensibility.XamlVerificationDescriptor.ExtractData(IAutomationHost targetHost, DescriptorValueStore dataStore)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
--- End of inner exception stack trace ---
ArtOfTest.Common.Design.Exceptions.ExecutionException: Unable to determine the type of 'radrichtextbox' element. Check the log for details. ---> System.ArgumentException: Unable to determine the type of 'radrichtextbox' element. Check the log for details.
at ArtOfTest.WebAii.Silverlight.FrameworkElement.CastAs[T]()
at Telerik.WebAii.Design.Translators.Xaml.Documents.RichTextBoxSetTextAction.Execute(IApplication appHost)
at ArtOfTest.WebAii.Design.Extensibility.XamlActionDescriptor.Execute(IAutomationHost autoHost)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
--- End of inner exception stack trace ---
The test where this step belongs to is a Test as Step for my Main Test. So when I run my Sub Test it passes successfully but when its inside the Main Test it fails. It also happens to radrichtextbox. Also the Main Test passes successfully in the past.
The raddatepicker is a Extract step and the radrichtextbox is Entering a value. Also when I validate the element it is located.
Thanks
I've encountered this error today.
ArtOfTest.Common.Design.Exceptions.ExecutionException: Unable to determine the type of 'raddatepicker' element. Check the log for details. ---> System.ArgumentException: Unable to determine the type of 'raddatepicker' element. Check the log for details.
at ArtOfTest.WebAii.Silverlight.FrameworkElement.CastAs[T]()
at Telerik.WebAii.Design.Translators.Xaml.DatePicker.DatePickerStringPropertyVerification.GetValueByProperty(String name)
at Telerik.WebAii.Design.Translators.Xaml.Common.RadControlPropertyVerificationDescriptor.ExtractData(IApplication hostApp, DescriptorValueStore dataStore)
at ArtOfTest.WebAii.Design.Extensibility.XamlVerificationDescriptor.ExtractData(IAutomationHost targetHost, DescriptorValueStore dataStore)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
--- End of inner exception stack trace ---
ArtOfTest.Common.Design.Exceptions.ExecutionException: Unable to determine the type of 'radrichtextbox' element. Check the log for details. ---> System.ArgumentException: Unable to determine the type of 'radrichtextbox' element. Check the log for details.
at ArtOfTest.WebAii.Silverlight.FrameworkElement.CastAs[T]()
at Telerik.WebAii.Design.Translators.Xaml.Documents.RichTextBoxSetTextAction.Execute(IApplication appHost)
at ArtOfTest.WebAii.Design.Extensibility.XamlActionDescriptor.Execute(IAutomationHost autoHost)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
--- End of inner exception stack trace ---
The test where this step belongs to is a Test as Step for my Main Test. So when I run my Sub Test it passes successfully but when its inside the Main Test it fails. It also happens to radrichtextbox. Also the Main Test passes successfully in the past.
The raddatepicker is a Extract step and the radrichtextbox is Entering a value. Also when I validate the element it is located.
Thanks