To get a specific cell using C # selenium, its selenium.GetTable("table.1.2") , where table is the name of the table, 1 is the row, and 2 is the cell.
eg.
[Test] public void TableTest() { try { Assert.AreEqual("value that should be in the cell", selenium.GetTable("table.1.2")); } catch (AssertionException e) { verificationErrors.Append(e.Message); } }
To get around the main authorization situation, you will need to use http: // username: password@example.com as the URL where the username and password are on the page, but more and more browsers are starting to block this, so be careful. Where I work, we avoid this scenario.
source share