예제 #1
0
 public void ChangeDistr(string test, string changeTest)
 {
     Pages.TestForumPage testForumPage = new Pages.TestForumPage(driver);
     testForumPage.OpenPage();
     testForumPage.OpenDistr(test);
     testForumPage.ChangeDistr();
     testForumPage.InputDistr(changeTest);
     testForumPage.ButtonSumbitAll();
 }
예제 #2
0
 public void DeleteComment(string changeTest)
 {
     Pages.TestForumPage testForumPage = new Pages.TestForumPage(driver);
     testForumPage.OpenPage();
     testForumPage.OpenDistr(changeTest);
     testForumPage.DeleteComment();
     //  testForumPage.ButtonSumbit();
     System.Threading.Thread.Sleep(3000);
 }
예제 #3
0
 public void CreateDistr(string test)
 {
     Pages.TestForumPage testForumPage = new Pages.TestForumPage(driver);
     testForumPage.OpenPage();
     testForumPage.CreateDistr();
     testForumPage.InputDistr(test);
     testForumPage.ButtonSumbitAll();
     driver.FindElement(By.LinkText("Перейти к сообщению")).Click();
 }
예제 #4
0
 public void AddComment(string changeTest, string testComment)
 {
     Pages.TestForumPage testForumPage = new Pages.TestForumPage(driver);
     testForumPage.OpenPage();
     testForumPage.OpenDistr(changeTest);
     testForumPage.InputComment(testComment);
     testForumPage.ButtonSumbit();
     System.Threading.Thread.Sleep(3000);
 }