public void ShareWidgetFailed07(ShareDashboardData input) { var dashboard = input.InputData.DashboardInfo; JazzFunction.LoginPage.LoginWithOption(dashboard[0].Receivers[0].LoginName, dashboard[0].Receivers[0].Password, dashboard[0].HierarchyName[0]); HomePagePanel.NavigateToAllDashboard(); HomePagePanel.SelectHierarchyNode(dashboard[0].HierarchyName); TimeManager.LongPause(); HomePagePanel.ClickDashboardButton(dashboard[0].DashboardName); JazzMessageBox.LoadingMask.WaitDashboardHeaderLoading(30); TimeManager.LongPause(); //Click "share widget" button HomePagePanel.ClickShareWidgetButton(dashboard[0].WidgetName); TimeManager.Pause(HomePagePanel.WAITSHAREWINDOWTIME); //Check UserF checkbox and click "share" directly. ShareWindow.CheckShareUser(dashboard[0].ShareUsers[0]); TimeManager.ShortPause(); ShareWindow.ClickShareButton(); JazzMessageBox.LoadingMask.WaitPopNotesAppear(5); Assert.AreEqual(input.ExpectedData.messages[0], HomePagePanel.GetPopNotesValue()); TimeManager.LongPause(); //Click "share widget" button HomePagePanel.ClickShareWidgetButton(dashboard[0].WidgetName); TimeManager.Pause(HomePagePanel.WAITSHAREWINDOWTIME); ShareWindow.Cancel(); //Click "share widget" button HomePagePanel.ClickShareWidgetButton(dashboard[0].WidgetName); TimeManager.Pause(HomePagePanel.WAITSHAREWINDOWTIME); ShareWindow.Close(); //Not share successful to ShareUserF }