Hot answers tagged

1

Since you are using CodedUI for this I would write something like this. public static void GetAllElements(BrowserWindow bw) { var a = bw.GetChildren().Where(x => x.GetProperty("TagName").ToString() == "TD"); foreach (var control in a) { Console.WriteLine(control.Name); ...



Only top voted, non community-wiki answers of a minimum length are eligible