TestStack White doesn't find TextBox in WPF Application
I use TestStack White framework to automate testing of a WPF Application It needs to open modal window and access TextBox in it. Everything works well, but White can't find Textbox, although it finds other elements of window I tried the following lines of code: TestStack.White.UIItems.TextBox TextBox = CreateBranch.Get<TestStack.White.UIItems.TextBox>(SearchCriteria.byAutomationId("Title")); where CreateBranch is modal window I also tried (SearchCriteria.All), (SearchCriteria.ByControlType) and nothing works Coded UI tool finds this element well by AutomationID, but I need to do it in White