Exemplo n.º 1
0
 public void CreateNewUser(string name, string email, string password)
 {
     CreateNewUserButton.ClickElement();
     EnterNameText.EnterText(name + DateTime.Now.ToString("yyyyMMddHHmmssfff"));
     EnterSurNameText.EnterText(name);
     EnterEmailText.EnterText(email + DateTime.Now.ToString("yyyyMMddHHmmssfff") + "@test.com");
     EnterUserNameText.EnterText(name + DateTime.Now.ToString("yyyyMMddHHmmssfff"));
     SelectPassword.ClickElement();
     EnterPasswordText.EnterText(password);
     RepetPasswordText.EnterText(password);
     SaveButton.ClickElement();
 }
Exemplo n.º 2
0
 public void EditUser(string name)
 {
     EnterNameText.EnterText(name + DateTime.Now.ToString("yyyyMMddHHmmssfff"));
     SaveButton.ClickElement();
 }