How to run a test many times with data read from .csv file (data driving)
I am trying to automate some testing for one of our web applications and I need to know how I can make my Coded UI project read data from a CSV file. Lets say I want to test a log in screen. My CSV file will contain a few user names and passwords. I want my Coded UI test to read these log in details and loop through them to run the test on each set of data. AdrianHHH The web has many tutorials on data driving Coded UI tests. The basic steps for data driving with a CSV file are as follows. Create the CSV file. Add the CSV file to the project. Make sure the CSV file is deployed. Add the CSV file