Hi,
I have a page that has a Date field and a Chart.
Depending on the date entered, the values in the Chart change.
My requirement is to verify how many variables exist on x-axis of the chart.
When the page loads, the default date is 12/31/2001 and the corresponding Chart for this date is generated.
If I record my test with the default date values, the verification step is a success.
Verification step is - "chartarea(ChAErrorTypesAreaGvchartarea): Chart series item label count 'Equal' '5'."
If I record my test entering a different date (say, 03/31/2002), the verification step fails.
Below error is logged:
I have also attached the Images captured for the failed step.
Unable to find the specified element: Unable to find the element of type: textblock
InnerException:
ArtOfTest.Common.Exceptions.FindElementException: Unable to find the specified element: Unable to find the element of type: textblock
at ArtOfTest.WebAii.Silverlight.SilverlightProxy.ExecuteSLCommand(SilverlightCommand cmd)
at ArtOfTest.WebAii.Silverlight.SilverlightProxy.GetProperty(AutomationProperty property, IAutomationPeer peer)
at ArtOfTest.WebAii.Silverlight.AutomationObject`1.GetProperty(AutomationProperty property)
at ArtOfTest.WebAii.Silverlight.UI.TextBlock.get_Foreground()
at Telerik.WebAii.Controls.Xaml.ChartSeriesItemLabel.AssignReference(AutomationReference reference)
at ArtOfTest.WebAii.Silverlight.FrameworkElement.As[T]()
at Telerik.WebAii.Controls.Xaml.ChartArea.get_SeriesItemLabels()
at Telerik.WebAii.Design.Translators.Xaml.Charting.SeriesItemLabelCountVerification.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)
My Test Studio version - 2012.1.528
RadControls version - 2012.1.215.1050
Could you please help in resolving this problem?
Thank you,
Kiran
I have a page that has a Date field and a Chart.
Depending on the date entered, the values in the Chart change.
My requirement is to verify how many variables exist on x-axis of the chart.
When the page loads, the default date is 12/31/2001 and the corresponding Chart for this date is generated.
If I record my test with the default date values, the verification step is a success.
Verification step is - "chartarea(ChAErrorTypesAreaGvchartarea): Chart series item label count 'Equal' '5'."
If I record my test entering a different date (say, 03/31/2002), the verification step fails.
Below error is logged:
I have also attached the Images captured for the failed step.
Unable to find the specified element: Unable to find the element of type: textblock
InnerException:
ArtOfTest.Common.Exceptions.FindElementException: Unable to find the specified element: Unable to find the element of type: textblock
at ArtOfTest.WebAii.Silverlight.SilverlightProxy.ExecuteSLCommand(SilverlightCommand cmd)
at ArtOfTest.WebAii.Silverlight.SilverlightProxy.GetProperty(AutomationProperty property, IAutomationPeer peer)
at ArtOfTest.WebAii.Silverlight.AutomationObject`1.GetProperty(AutomationProperty property)
at ArtOfTest.WebAii.Silverlight.UI.TextBlock.get_Foreground()
at Telerik.WebAii.Controls.Xaml.ChartSeriesItemLabel.AssignReference(AutomationReference reference)
at ArtOfTest.WebAii.Silverlight.FrameworkElement.As[T]()
at Telerik.WebAii.Controls.Xaml.ChartArea.get_SeriesItemLabels()
at Telerik.WebAii.Design.Translators.Xaml.Charting.SeriesItemLabelCountVerification.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)
My Test Studio version - 2012.1.528
RadControls version - 2012.1.215.1050
Could you please help in resolving this problem?
Thank you,
Kiran