Пример #1
0
 public void SetUp()
 {
     Logger.Info("Navigating to Contact page.");
     ContactFormPage.Open();
     ContactFormPage.CheckTitle();
     ContactFormPage.IsOpened();
     Logger.Info("Setup method finished");
     Logger.Info("Start test: " + TestContext.CurrentContext.Test.Name);
 }
Пример #2
0
 public void SetUp()
 {
     Logger.Info("Navigating to Metals and Colors page.");
     ContactFormPage.Open();
     ContactFormPage.CheckTitle();
     ContactFormPage.IsOpened();
     ContactFormPage.FillAndSubmitForm(DEFAULT_TEXT, DEFAULT_TEXT + (new Random()).Next(), DEFAULT_TEXT + (new Random()).Next());
     Logger.Info("Setup method finished");
     Logger.Info("Start test: " + TestContext.CurrentContext.Test.Name);
 }