Ejemplo n.º 1
0
 public AdministrationPage DeleteUserByLogIn(string login)
 {
     fieldFilter.SendKeys("Login");
     conditionFilter.SendKeys("equals");
     searchInputField.Clear();
     searchInputField.SendKeys(login);
     searchButton.Click();
     deleteFirstCellLink.Click();
     Driver.SwitchTo().Alert().Accept();
     return(this);
 }
Ejemplo n.º 2
0
 public CreateNewOrderPage ChangeOrderByNumber(String orderNumber)
 {
     orderNumberField.Clear();
     orderNumberField.SendKeys(orderNumber);
     return(this);
 }
Ejemplo n.º 3
0
 public EditProductPage FillProductPriceInput(String productPrice)
 {
     productPriceInput.Clear();
     productPriceInput.SendKeys(productPrice);
     return(this);
 }
Ejemplo n.º 4
0
 public EditProductPage FillProductDescriptionInput(String productDescription)
 {
     productDescriptionInput.Clear();
     productDescriptionInput.SendKeys(productDescription);
     return(this);
 }
Ejemplo n.º 5
0
 public LogInPage FillPasswordInput(String password)
 {
     passwordInput.Clear();
     passwordInput.SendKeys(password);
     return(this);
 }
Ejemplo n.º 6
0
 public LogInPage FillUsernameInput(String userName)
 {
     usernameInput.Clear();
     usernameInput.SendKeys(userName);
     return(this);
 }
Ejemplo n.º 7
0
 public CustomerOrderingPage SelectOrderByName(String orderName)
 {
     searchOrdersInputField.Clear();
     searchOrdersInputField.SendKeys(orderName);
     return(this);
 }
Ejemplo n.º 8
0
 public ItemManagementPage FillSearchInput(String searchText)
 {
     searchInput.Clear();
     searchInput.SendKeys(searchText);
     return(this);
 }
 public AddProductPage FillProductNameInput(String productName)
 {
     productNameInput.Clear();
     productNameInput.SendKeys(productName);
     return(this);
 }