Example #1
0
 public void profileEdit()
 {
     driver.FindElement(By.Id("dropdownBasic3")).Click();
     driver.FindElement(By.ClassName("icon-user")).Click();
     driver.FindElement(By.Id("name")).Clear();
     Thread.Sleep(2000);
     SeleniumMethod.textboxinput(driver, "name", "Admin User");
     SeleniumMethod.click(driver, "icon-note", "Id");
     Console.WriteLine("Profile Update successfully");
 }
Example #2
0
 public void ChangePassword()
 {
     driver.FindElement(By.Id("dropdownBasic3")).Click();
     driver.FindElement(By.ClassName("ft-lock")).Click();
     SeleniumMethod.textboxinput(driver, "old_password", "secret");
     Thread.Sleep(1000);
     SeleniumMethod.textboxinput(driver, "password", "secret");
     Thread.Sleep(1000);
     SeleniumMethod.textboxinput(driver, "password_confirmation", "secret");
     Thread.Sleep(1000);
     SeleniumMethod.click(driver, "icon-note", "Id");
     Console.WriteLine("Password Update successfully");
 }