Example #1
0
        public void Test04_ListWindowButtons()
        {
            string windowName = "Calc";

            if (WindowController.WindowExists(windowName))
            {
                Dictionary <int, string> buttons = WindowController.GetWindowButtons(windowName);
                Assert.AreNotEqual(0, buttons.Count);
            }
        }
Example #2
0
        public void Test05_ClickWindowButtons()
        {
            string windowName = "Calc";

            if (WindowController.WindowExists(windowName))
            {
                Dictionary <int, string> buttons = WindowController.GetWindowButtons(windowName);
                Assert.AreNotEqual(0, buttons.Count);

                WindowController.ClickButtonOnWindow(windowName, "Grads"); //multiplication button
            }
        }