示例#1
0
 public void Before()
 {
     _login         = new LoginPage(Browser);
     _product       = new ProductPage(Browser);
     _cart          = new PaymentCartPage(Browser);
     _transferencia = new TransferenciaPage(Browser);
     _dataAccess    = new DataFirstAccess(Browser);
     Database.ClearDataFirstAccess();
     _login.With("*****@*****.**", "1234");
     Database.RemoveAccount();
 }
示例#2
0
 public void Before()
 {
     _login      = new LoginPage(Browser);
     _product    = new ProductPage(Browser);
     _cart       = new PaymentCartPage(Browser);
     _cartao     = new CreditCardPage(Browser);
     _menu       = new BoxMenu(Browser);
     _myCard     = new MyCardPage(Browser);
     _dataAccess = new DataFirstAccess(Browser);
     Database.RemoveCreditCard();
     Database.ClearDataFirstAccess();
     _login.With("*****@*****.**", "1234");
 }