Exemplo n.º 1
0
        public int CountRows()
        {
            WpfWindow debugWindow           = GetDebugWindow();
            UITestControlCollection rowList = debugWindow.GetChildren()[1].GetChildren()[0].GetChildren()[1].GetChildren();

            return(rowList.Count);
        }
Exemplo n.º 2
0
        public void ClickXMLTab()
        {
            WpfWindow  uIDebugWindow = UIDebugWindow;
            WpfTabPage XMLTabPage    = (WpfTabPage)uIDebugWindow.GetChildren()[1].GetChildren()[1];

            Mouse.Click(XMLTabPage, new Point(5, 5));
            Playback.Wait(200);
        }