コード例 #1
0
        public void tableDataReading()
        {
            driver = new InternetExplorerDriver();
            driver.Manage().Window.Maximize();

            // WebPage which contains a WebTable
            driver.Navigate().GoToUrl("file:///C:/Users/kgoute/Desktop/Table1.html");

            SeleniuimUtilies.ReadTable(driver);

            string columnDataFromTable = SeleniuimUtilies.ReadCell("Firstname", 2);
        }
コード例 #2
0
        public void tableDataReading1()
        {
            driver = new InternetExplorerDriver();
            driver.Manage().Window.Maximize();

            // WebPage which contains a WebTable
            driver.Navigate().GoToUrl("https://en.wikipedia.org/wiki/Programming_languages_used_in_most_popular_websites");

            SeleniuimUtilies.ReadTable(driver);

            string columnDataFromTable = SeleniuimUtilies.ReadCell("Notes", 3);
        }