public QAAutomationPage GoToQACoursePage() { CourseButton.Click(); QAAutomationLink.Click(); return(new QAAutomationPage(Driver)); }
public void CreateCourseButton(CourseWrapper course) { CourseY += CourseButtons.Count > 0 ? CourseButtons[CourseButtons.Count - 1].Height + 10 : 0; var button = new CourseButton(course, CourseY); CoursesPanel.Controls.Add(button); CourseButtons.Add(button); }