Back

Forum Replies Created

Viewing 0 reply threads
  • Author
    Posts
    • #12861
      Jeff
      Participant

      Use below code
      List<WebElement> iRows = driver.findElementByXPath(“\\path of the tr in the webtable\\”);
      iRowCount = iRows.Size();
      List<WebElement> iColumns = driver.findElementByXPath(“\\….tr[1]\td”);
      iColCount = iColumns .Size();

Viewing 0 reply threads