示例#1
0
        public void NewPluginServiceShortcutKeyExpectedPluginServiceOpens()
        {
            StudioWindow.WaitForControlReady(1000);
            Keyboard.SendKeys(StudioWindow, "{CTRL}{SHIFT}P");
            if (!WizardsUIMap.TryWaitForWizard())
            {
                Assert.Fail("New plugin service shortcut key doesnt work");
            }

            StudioWindow.SetFocus();
            PluginServiceWizardUIMap.ClickCancel();
        }
示例#2
0
        public void ClickNewPluginServiceExpectedPluginServiceOpens()
        {
            RibbonUIMap.ClickNewPlugin();
            UITestControl uiTestControl = PluginServiceWizardUIMap.GetWizardWindow();

            if (uiTestControl == null)
            {
                Assert.Fail("Error - Clicking the new plugin service button does not create the new plugin service window");
            }

            StudioWindow.SetFocus();
            PluginServiceWizardUIMap.ClickCancel();
        }