Like Peter Masiar said, you'll do it the same way you would do it manually.
- Record the steps you manually perform to complete this. (ex: (1)Select column A filter and enter value, (2)Select column B filter and enter value, etc. etc. Finally, Click on result)
- Write the automation code to complete these actions.
Step (2) is going be highly dependent on the nature of your form. Ex: Are the columns static? What are the values that can be entered in the filters? What is the goal of the test(s).
If you are trying to test that the filters work as expected (ex: Find all applicable results, and DO NOT find invalid results, then I might do something like the following:
- Code that filters column A by some entry or value selection
- Code to check each presented result to match entry value to result field value
- Some method of determining that ALL results were found (ex: a database query and comparing the number of results.
Then, I would expand this to use a "data driven" approach so that you can test combinations of which columns you filter with specific values and combinations.
Hope this helps.