示例#1
0
 public void Login()
 {
     rep = new BaseRep(driver);
     rep.ClickElement(LoginD);
     rep.Wait(2);
     rep.SendElement(Email, "*****@*****.**");
     rep.Wait(2);
     rep.SendElement(Password, "123456");
     rep.Wait(2);
     rep.ClickElement(loginButton);
     rep.Wait(2);
 }
示例#2
0
 public void Search()
 {
     rep = new BaseRep(driver);
     rep.SendElement(searchBar, "Bilgisayar");
     rep.Wait(2);
     rep.ClickElement(searchClick);
     rep.Wait(2);
     rep.ClickElement(choose);
     rep.Wait(2);
     rep.ClickElement(basket);
     rep.Wait(2);
     rep.ClickElement(basketClick);
     rep.Wait(2);
     rep.ClickElement(productAdd);
     rep.Wait(2);
     rep.ClickElement(productDel);
     rep.Wait(3);
 }