Exemple #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}");
        }
Exemple #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...");
             *
             * }*/
        }