Пример #1
0
 public void RunSolution()
 {
     using (var driver = new ChromeDriver())
     {
         driver.Navigate().GoToUrl(ULearnUrls.StartPage);
         UlearnDriver ulearnDriver = new UlearnDriver(driver);
         ulearnDriver.LoginAdminAndGoToCourse(Titles.BasicProgrammingTitle);
         driver.Navigate().GoToUrl("https://localhost:44300/Course/BasicProgramming/Slide/21");
     }
 }
Пример #2
0
		public void RunSolution()
		{
			using (var driver = new ChromeDriver())
			{
				driver.Navigate().GoToUrl(ULearnUrls.StartPage);
				UlearnDriver ulearnDriver = new UlearnDriver(driver);
				ulearnDriver.LoginAdminAndGoToCourse(Titles.BasicProgrammingTitle);
				driver.Navigate().GoToUrl("https://localhost:44300/Course/BasicProgramming/Slide/21");
			}
			
		}
Пример #3
0
 public void CheckAnswers()
 {
     using (var driver = new ChromeDriver())
     {
         driver.Navigate().GoToUrl(ULearnUrls.StartPage);
         UlearnDriver ulearnDriver = new UlearnDriver(driver);
         ulearnDriver.GoToRegistrationPage();
         var registrationPage = ulearnDriver.Get <RegistrationPage>();
         ulearnDriver.LoginAdminAndGoToCourse(Titles.BasicProgrammingTitle);
         //var first
         var page = ulearnDriver.Get <SlidePage>();
     }
 }
Пример #4
0
		public void CheckAnswers()
		{
			using (var driver = new ChromeDriver())
			{
				driver.Navigate().GoToUrl(ULearnUrls.StartPage);
				UlearnDriver ulearnDriver = new UlearnDriver(driver);
				ulearnDriver.GoToRegistrationPage();
				var registrationPage = ulearnDriver.Get<RegistrationPage>();
				ulearnDriver.LoginAdminAndGoToCourse(Titles.BasicProgrammingTitle);
				//var first
				var page = ulearnDriver.Get<SlidePage>();
			}
		}