Unplanned
Last Updated: 30 Jan 2020 17:06 by ADMIN
Uladzislau
Created on: 30 Jan 2020 11:01
Category: TreeView
Type: Bug Report
0
RadTreeView: Control cannot be found by CodedUI

Add a CodedUI test which records expanding a node in RadTreeView. Run the CodedUI test and you will see that the TestMethod throws the following exception:

"Microsoft.VisualStudio.TestTools.Extension.UITestControlNotFoundException: The playback failed to find the control with given search properties."

1 comment
ADMIN
Dimitar
Posted on: 30 Jan 2020 17:06

Hi,

The problem occurs when you Record a CodedUI tests and directly click on a NodeExpanderItem. As a possible workaround you can create custom RadTreeViewAccessibleObject and RadTreeNodeAccessibleObject as can be seen in the attached project. 

Regards,
Dimitar
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Attached Files: