Esempio n. 1
0
        public void verify_data_in_cell_test()
        {
            KeyWordsInstance.navigate("https://selenium.dev/documentation/en/getting_started_with_webdriver/third_party_drivers_and_plugins/");
            var exptected = "Microsoft Edge Driver";
            var actual    = KeyWordsInstance.verify_data_in_cell("XPath:://*[@id='body-inner']/table", exptected, 4, "Browser");

            Assert.AreEqual(actual, true);
        }
Esempio n. 2
0
        public void input_text_test()
        {
            KeyWordsInstance.navigate("https://www.google.com.vn/");
            KeyWordsInstance.start_test_case("12345");
            var actual = KeyWordsInstance.input_text("Name::q", "TestCase.SearchText");

            KeyWordsInstance.click("Name::btnK");
            Assert.IsEmpty(actual);
        }