I have recorded a test that selects an element in a tree view. After recording it, I try to run the test and I get the following error message:
----------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Invalid control '[Element: 'li:13']'. Control does not match FindExpression '[class 'Contains' RadTreeView RadTreeView] AND [TagName 'Exact' div]'
InnerException:
System.ArgumentException: Invalid control '[Element: 'li:13']'. Control does not match FindExpression '[class 'Contains' RadTreeView RadTreeView] AND [TagName 'Exact' div]'
at ArtOfTest.WebAii.Controls.Control.CreateInstance[TControl](Element e, Boolean throwIfNull)
at Telerik.WebAii.Design.Translators.Html.TreeView.RadTreeViewActionDescriptor.Execute(Browser browser)
at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
--------------------------------------------------
I am new at this, and I have tried to tweak the the command, but I continue to get this error.
What is causing this problem? What should I change?
What other information do I need to post that will help diagnose the problem.?
----------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Invalid control '[Element: 'li:13']'. Control does not match FindExpression '[class 'Contains' RadTreeView RadTreeView] AND [TagName 'Exact' div]'
InnerException:
System.ArgumentException: Invalid control '[Element: 'li:13']'. Control does not match FindExpression '[class 'Contains' RadTreeView RadTreeView] AND [TagName 'Exact' div]'
at ArtOfTest.WebAii.Controls.Control.CreateInstance[TControl](Element e, Boolean throwIfNull)
at Telerik.WebAii.Design.Translators.Html.TreeView.RadTreeViewActionDescriptor.Execute(Browser browser)
at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
--------------------------------------------------
I am new at this, and I have tried to tweak the the command, but I continue to get this error.
What is causing this problem? What should I change?
What other information do I need to post that will help diagnose the problem.?