Пример #1
0
        public void DashboardPrint()

        {
            DashboardTab.Clicks(); WaitforIt(Properties.LittlePause);

            DashboardDropdown.Clicks();

            SelectDashboard("Testing").Clicks(); WaitforIt(Properties.LittlePause);

            DashboardGear.Clicks(); PrintDashboard.Clicks(); WaitforIt(Properties.LittlePause);

            CheckAllWidget.Clicks(); WaitforIt(Properties.LittlePause);

            CheckAllWidget.Clicks();

            CancelPrint.Clicks(); WaitforIt(Properties.LittlePause);

            DashboardGear.Clicks(); PrintDashboard.Clicks(); WaitforIt(Properties.LittlePause);

            CheckAllWidget.Clicks(); WaitforIt(Properties.LittlePause);

            CheckWidget(3).Clicks(); CheckWidget(5).Clicks(); CheckWidget(7).Clicks();

            Print.Clicks(); WaitforIt(Properties.LittlePause);

            SendKeys.SendWait("{ESC}");
        }
Пример #2
0
        public void DashboardInitialize(string dashboardName)

        {
            string timeStamp = DateTime.Now.ToString("d-MM-yyyy, HH:mm:ss");

            DashboardTab.Clicks(); WaitforIt(Properties.LittlePause);

            DashboardDropdown.Clicks(); WaitforIt(Properties.LittlePause);

            SelectDashboard("Add new").Clicks(); WaitforIt(Properties.LittlePause);

            DashboardName.WaitUntil();

            DashboardName.ClearText(); DashboardName.EnterText(" " + dashboardName + " " + timeStamp); WaitforIt(Properties.LittlePause);

            SaveDashboard.Clicks(); WaitforIt(Properties.LittlePause);

            /*AddNewWidget.Clicks(); WaitforIt(Properties.LittlePause);
             *
             * ChooseChart(widgetName).Clicks(); WaitforIt(Properties.LittlePause);
             *
             * SaveDashboard.Clicks(); WaitforIt(Properties.LittlePause);
             *
             * DashboardGear.WaitUntil();
             *
             * DashboardGear.Clicks();
             *
             * EditDashboard.WaitUntil();
             *
             * EditDashboard.Clicks();
             *
             * ConfigureDashboard(widgetName).Clicks(); WaitforIt(Properties.LittlePause);
             *
             * if (widget == "")
             *
             * {
             *  Options("Basic").Clicks();
             *
             *  Description.EnterText("...Description...");
             *
             * }*/
        }
Пример #3
0
        public void DashboardShare()

        {
            ComplianceHeatMap(); WaitforIt(Properties.LittlePause);

            DashboardGear.Clicks(); AdminSettings.Clicks(); WaitforIt(Properties.LittlePause);

            CopyfromAdmin("Shared", "share").Clicks(); WaitforIt(Properties.LittlePause);

            DahsboardSelect("Shared").Clicks();

            SelectUser.SelectDropdown("Automation User 2");

            AddUser.Clicks(); SaveShare.Clicks();

            LogOut.Clicks();

            PlanLog.Login("automationuser2", "eMos123!"); WaitforIt(Properties.LittlePause);

            DashboardTab.Clicks();
        }
Пример #4
0
        public void DashboardAdmin()

        {
            SingleOrPareto("Single", "One"); WaitforIt(Properties.LittlePause);

            DashboardGear.Clicks();

            AdminSettings.Clicks(); WaitforIt(Properties.LittlePause);

            MakeDefault("Default").Clicks();

            //SetAsChild("Automate").Clicks();

            DashboardTab.Clicks(); WaitforIt(Properties.LittlePause);

            DashboardGear.Clicks(); WaitforIt(Properties.LittlePause);

            EditDashboard.Clicks(); WaitforIt(Properties.LittlePause);

            ConfigureDashboard("One").Clicks();

            Options("Base").Clicks();

            BasenGoal(200, 1000);

            Apply(); WaitforIt(Properties.LittlePause);

            DashboardGear.Clicks(); CopyDashboard.Clicks();

            Delete();

            DashboardGear.Clicks(); AdminSettings.Clicks(); WaitforIt(Properties.LittlePause);

            CopyfromAdmin("Default", "copy").Clicks(); WaitforIt(Properties.LittlePause);

            CopyfromAdmin("Copy of", "edit").Clicks();

            Delete();
        }