[Tasks] Add Parameters from a Data Source to Use with Your Coded UI Test: You can make your coded UI test into a data-driven test by adding a data source for your test method and using the test context to run the test method for each set of data in your data source. [Associated Topics] 
How to: Create a Data-Driven Coded UI Test