Using data driven test, child item for tree view are getting populated as per telerik Data table values. We are trying to validate the tree control (silverlight application) in
which child node are added dynamically through the application from local table which is added before, we want to
test whether child node are added correctly or not to the tree. we are
trying to validate with C# Customized code. We have reference for the
parent node(ParentLeftmousebuttondowntreeviewitem) for that newly added
to child. Parent node(ParentLeftmousebuttondowntreeviewitem) object type
is TreeViewItem which is silverlight application
object (refer attached file - ParentNodeInfo.jpg). But child node object is
mentioned as FrameworkElement object. For parent node
(ParentLeftmousebuttondowntreeviewitem) property Children
had collection of IList<FrameworkElement> (refer attached file -
ParentNodeInfo.jpg). Is there
any sample code to help me out.
Following bolew both API (GetChildren() and Children) is not returning any child nodes from parent node. Pages.SMART.SilverlightApp.OrganizationStructureLeftmousebuttondowntreeviewitem.GetChildren() and
Pages.SMART.SilverlightApp.OrganizationStructureLeftmousebuttondowntreeviewitem.Children
Following bolew both API (GetChildren() and Children) is not returning any child nodes from parent node. Pages.SMART.SilverlightApp.OrganizationStructureLeftmousebuttondowntreeviewitem.GetChildren() and
Pages.SMART.SilverlightApp.OrganizationStructureLeftmousebuttondowntreeviewitem.Children