var tree = GetEverySecond(() => sl.Get<Tree>(), 15); if (tree == null) Assert.Fail("Could not find tree"); tree.Nodes[0].Select(); foreach (var Node in tree.Nodes) { var firstCategoryNode = Node; foreach (var subNode in firstCategoryNode.Nodes) { if (subNode.Text == "Variabelen") subNode.Select(); } } if (tree.SelectedNode.Text!="Variabelen") //Assert.Fail("Could not find variables node in tree"); throw new NullReferenceException("Could not find variables node in tree");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)