Decoding the Coded UI Test playback failure – "Search may have failed at ControlX as it may have virtualized children …"

While automating WPF controls in Coded UI Test, the playback would sometimes through an exception with the following error message:

“Search may have failed at <ControlX> as it may have virtualized children. If the control being searched is descendant of <ControlX> then including it as the parent container may solve the problem.”

In this blog, Tapas explains the details behind this playback failure, the current limitation we have in recorder for WPF controls and a workaround to fix this.


For more  details -

Comments (0)

Skip to main content