Ejemplo n.º 1
0
        void testWhite()
        {
            List <TestStack.White.UIItems.WindowItems.Window> list = TestStack.White.Desktop.Instance.Windows();

            TestStack.White.UIItems.WindowItems.Window win = null;
            foreach (TestStack.White.UIItems.WindowItems.Window item in list)
            {
                Match match = Regex.Match(item.Title, "Ember Bootloader and Range Test.*");
                if (match.Success)
                {
                    win = item;
                    break;
                }
            }

            TestStack.White.UIItems.WindowStripControls.ToolStrip toolstrip = win.GetToolStrip("toolStrip1");

            TestStack.White.UIItems.Button b = win.Get <TestStack.White.UIItems.Button>("UnLoad");
            bool t2 = win.HasPopup();
        }