public void SubscriberViewTheSubscriberList(ShareDashboardData input) { var dashboard = input.InputData.DashboardInfo; //Login to Jazz with UserB. Navigate to homepage->Dashboard->Widget Mirror tab. JazzFunction.LoginPage.LoginWithOption(dashboard[0].Receivers[1].LoginName, dashboard[0].Receivers[1].Password, null); HomePagePanel.NavigateToMyShare(); //Open subscriber user list window. HomePagePanel.ClickShareMyShareWidgetButton(dashboard[0].WidgetName); TimeManager.ShortPause(); //Mouse to UserB's line.The Quitsubscriber button display. ShareWindow.FloatOnSubscriberUser(dashboard[0].ShareUsers[1]); Assert.AreEqual(input.ExpectedData.messages[0], ShareWindow.GetRemoveorQuitSubcriberText(dashboard[0].ShareUsers[1])); ShareWindow.CloseSubcriberListWindow(); TimeManager.ShortPause(); //Login to Jazz with UserA. Navigate to homepage->Dashboard->Widget Mirror tab. HomePagePanel.ExitJazz(); JazzFunction.LoginPage.LoginWithOption(dashboard[0].Receivers[0].LoginName, dashboard[0].Receivers[0].Password, null); HomePagePanel.NavigateToMyShare(); //Open subscriber user list window. HomePagePanel.ClickShareMyShareWidgetButton(dashboard[0].WidgetName); TimeManager.ShortPause(); //Mouse to UserB's line.The Quitsubscriber button display. ShareWindow.FloatOnSubscriberUser(dashboard[0].ShareUsers[1]); Assert.AreEqual(input.ExpectedData.messages[1], ShareWindow.GetRemoveorQuitSubcriberText(dashboard[0].ShareUsers[1])); //Click Invitation button.Check UserC. ShareWindow.ClickInviteOtherButton(); TimeManager.ShortPause(); ShareWindow.CheckEnjoyUser(dashboard[0].ShareUsers[2]); //Mouse to UserC's line and click Close button. ShareWindow.ClickRemoveEnjoyUserButton(dashboard[0].ShareUsers[2]); //.UserC disappear in the right panel and uncheck in the left panel. Assert.IsFalse(ShareWindow.IsEnjoyUserInSendedList(dashboard[0].ShareUsers[2])); Assert.IsFalse(ShareWindow.IsEnjoyUserChecked(dashboard[0].ShareUsers[2])); //Confirm is gray. Assert.IsFalse(ShareWindow.IsEnjoyButtonEnable()); ShareWindow.Close(); TimeManager.ShortPause(); }