public void TestGetYourNameShoudReturnMyName()
        {
            YourName myYourNmae = new YourName();
            string   result     = myYourNmae.Get();

            Assert.Equal("Add", result);
        }
Пример #2
0
 public void WriteReview(IWebDriver driver, string FullName, string EmailAccount, string ReviewText)
 {
     YourName.SendKeys(FullName);
     YourEmail.SendKeys(EmailAccount);
     ReviewComments.SendKeys(ReviewText);
     SubmitReviewButton.Click();
     Thread.Sleep(5000);
 }
Пример #3
0
 public void Test_Your_Name()
 {
     Assert.Equal("Huda", YourName.PrintName("Huda"));
 }