コード例 #1
0
        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);
        }
コード例 #2
0
        public void Test1()
        {
            androidCalculator.RealizarSuma();

            Assert.AreEqual("11", androidCalculator.ValidarCuenta());
        }