public void Alarm(SmokeTestEnergyViewData input) { Dictionary <string, Object> testD = new Dictionary <string, Object>(); JazzFunction.Navigator.NavigateToTarget(NavigationTarget.AlarmSettings); TimeManager.Pause(10000); JazzBrowseManager.SwitchToWidnow("Jazz_Alarm"); TimeManager.Pause(10000); JazzButton.AlarmConfigrationButton.Click(); TimeManager.Pause(10000); JazzButton.AlarmHierarchyTreeButton.Click(); TimeManager.Pause(5000); string[] nodePath = { "NancyOtherCustomer3", "NancyOtherSite", "BuildingRanking1" }; JazzTreeView.AlarmHierarchyTree.Alarm_SelectNode(nodePath); TimeManager.Pause(30000); JazzCheckBox.AlarmCheckBoxTaglist.Alarm_Checked("Rankingtag1"); TimeManager.MediumPause(); JazzButton.AlarmViewButton.Click(); TimeManager.Pause(30000); var tests = BrowserHandler.ExecuteJavaScript("return window.testObj._energyRawData"); Console.Out.WriteLine(tests); }
public void FixtureCaseSetUp() { JazzFunction.Navigator.NavigateToTarget(NavigationTarget.EnergyView); TimeManager.Pause(20000); JazzBrowseManager.SwitchToWidnow("能源"); TimeManager.Pause(10000); }