public void Navigate(SoftUniPage softuniPage) { softuniPage.Navigate("https://softuni.bg/"); softuniPage.allCourses.Click(); softuniPage.course.Click(); }
public void SearchForQACourse() { _softuniPage.Navigate(); _softuniPage.FindQACourse(); _qaTrainingPage.AssertElementDisplayed(_qaTrainingPage.HeadingTag); _qaTrainingPage.AssertElementText(_qaTrainingPage.HeadingTag, "QA Automation - септември 2019"); }
public void CheckQAAutomationCourseHeading() { softUniPage.Navigate(); var coursePage = softUniPage.GoToQACoursePage(); var expectedHeading = "QA Automation - септември 2019"; coursePage.AssertHeading(expectedHeading); }
public void SoftUniNavigationPage() { var _loginToSoftUni = new SoftUniPage(_driver); _loginToSoftUni.Navigate(); _loginToSoftUni.Maximaze(); _loginToSoftUni.LinkText.Click(); _loginToSoftUni.Username.SendKeys("TonyCvetanov"); _loginToSoftUni.Passowrd.SendKeys("PRb7AftzjJ4aaDt"); _loginToSoftUni.ClickForLoginButton.Click(); _loginToSoftUni.NavigateToQa.Click(); _loginToSoftUni.AssertLink("QA Automation - септември 2019"); }
public void softUniNvigate() { _softunipage.Navigate(_loginpage); _softunipage.AssertText("QA Automation - януари 2019"); }
public void QaAutomation() { _softuniPage.Navigate(_softuniPage); _softuniPage.AssertHeader("QA Automation - септември 2019"); }