3

I'm trying to capture a test case result where table content Search/filter output need to cross check each time when the test run. I have attached a table grid that I need to use to search/filter. I'm using python script for the automation.

Any suggestion?

Table grid with multiple rows and columns

Mikhail_Sam
  • 10,602
  • 11
  • 66
  • 102
Sekhar
  • 31
  • 2

1 Answers1

3

You can use selenium to test. The table's inner HTML can be accessed using
table_content = element.get_attribute('innerHTML').
you can parse that HTML to cross check your results. Have a look at this question for reference.

Get HTML Source of WebElement in Selenium WebDriver using Python

Peter Haddad
  • 78,874
  • 25
  • 140
  • 134
Suraj jha
  • 86
  • 4