Пример #1
0
 public void CreateScreeeningnohours()
 {
     CreateScreeening.Click();
     MovieId.SendKeys("2");
     DateTime1.SendKeys(RandomDate().ToString(" HH:00"));
     CreateButton.Click();
 }
Пример #2
0
 public void CreateScreeeningnodate()
 {
     CreateScreeening.Click();
     MovieId.SendKeys("2");
     DateTime1.SendKeys(RandomDate().ToString("dd/MM/yyyy,"));
     CreateButton.Click();
 }
Пример #3
0
 public void CreateScreeeningEditButton()
 {
     CreateScreeening.Click();
     MovieId.SendKeys("2");
     DateTime1.SendKeys(RandomDate().ToString("dd/MM/yyyy, 15:15"));
     CreateButton.Click();
     EditCreateScreeningButton.Click();
     dateTime1.Clear();
     dateTime1.SendKeys(RandomDate().ToString("dd/MM/yyyy HH:00"));
     SaveButton.Click();
 }