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