This project is read-only.

TreeView can't be found in Win2K3.

Jul 22, 2011 at 5:25 AM
Edited Jul 22, 2011 at 5:34 AM

Hello guys,

I've encountered an issue that WPF TreeView control can't be found in Win2k3 32bit while it's working in Win7 64bit. Here is my code:

var Criteria = SearchCriteria.ByAutomationId("_treeView");
            var treeViewObject = mainWindow.Get<Tree>(Criteria);
            Assert.IsNull(treeViewObject, "Treeview doesn't find.");

I've installed the NET 4.0 and Windows Automation API 3.0 on Win7 and Win2k3. Do you guys have any ideas?




Jul 25, 2011 at 6:59 PM

If you are using nunit-console then you should try using nunit-console-x86.exe instead.