Exemplo n.º 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");
     }
 }
Exemplo n.º 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");
			}
			
		}
Exemplo n.º 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>();
     }
 }
Exemplo n.º 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>();
			}
		}