Created
September 5, 2021 10:24
-
-
Save executeautomation/547da9dfac99e9f03ff978a1af7d30bc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Theory] | |
[MemberData(nameof(Data))] | |
public void TestRegisterUser(string username, string password, string cpassword, string email) | |
{ | |
var driver = webDriverFixture.ChromeDriver; | |
testOutputHelper.WriteLine("First test"); | |
driver | |
.Navigate() | |
.GoToUrl("http://eaapp.somee.com"); | |
driver.FindElementByLinkText("Register").Click(); | |
driver.FindElementById("UserName").SendKeys(username); | |
driver.FindElementById("Password").SendKeys(password); | |
driver.FindElementById("ConfirmPassword").SendKeys(cpassword); | |
driver.FindElementById("Email").SendKeys(email); | |
testOutputHelper.WriteLine("Test completed"); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment