Пример #1
0
        public QAAutomationPage GoToQACoursePage()
        {
            CourseButton.Click();
            QAAutomationLink.Click();

            return(new QAAutomationPage(Driver));
        }
Пример #2
0
        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);
        }