public void TestWebAndMobile(string browserName) { driver = GetWebDriver(browserName); HomePage = new HomePage(driver); HomePage.GoTo(); HomePage.BuscarGoogle("Segundo test"); var _driver = GetMobileDriver(DriverType.Android); AndroidCalculator androidCalculator = new AndroidCalculator(_driver); androidCalculator.RealizarSuma(); _driver.Quit(); Assert.IsTrue(true); }
public void Test1() { androidCalculator.RealizarSuma(); Assert.AreEqual("11", androidCalculator.ValidarCuenta()); }