public void History() { MainPage mainPage = new MainPage(); mainPage.SignIn(); SignInPage signInPage = new SignInPage(); signInPage.SignIn(); PasswordPage passwordPage = new PasswordPage(); passwordPage.WritePassword(); MainPageAfterLogout mainPageAfterLogout = new MainPageAfterLogout(); mainPageAfterLogout.MenuClick(); MenuPage menuPage = new MenuPage(); menuPage.HistoryClick(); History history = new History(); history.ClearHistoryClick(); HistoryClear historyClear = new HistoryClear(); historyClear.ConfirmClearHistoryClick(); }
public void AddActivity() { MainPage mainPage = new MainPage(); mainPage.SignIn(); SignInPage signInPage = new SignInPage(); signInPage.SignIn(); PasswordPage passwordPage = new PasswordPage(); passwordPage.WritePassword(); MainPageAfterLogout mainPageAfterLogout = new MainPageAfterLogout(); mainPageAfterLogout.MenuClick(); MenuPage menuPage = new MenuPage(); menuPage.MyChannelClick(); MyChannel myChannel = new MyChannel(); myChannel.AddMessage("new activity"); MyChannel2 myChannel2 = new MyChannel2(); myChannel2.AddMessage(); }