public void Login() { var loginTestPo = new LoginTestPo(Driver); loginTestPo.GoToPage(); loginTestPo.Login("*****@*****.**", "Password1"); Driver.SwitchTo().Frame(0); Assert.IsTrue(loginTestPo.MLHeadlinIsVisible); }
public void OpenAnIMConversation() { LoginTestPo loginTestPo = new LoginTestPo(Driver); ImOpenConverastionPo imOpenConverastionPo = new ImOpenConverastionPo(Driver); loginTestPo.GoToPage(); loginTestPo.Login("*****@*****.**", "Password1"); imOpenConverastionPo.OpenAConversationWithSeleniumUser2(); Assert.IsTrue(imOpenConverastionPo.SeleniumUser2IsVisible); }