Technology Notes
Wednesday, July 23, 2014
VSTS Data Driven Tests
- Set TestMethod's Dataconnection property to CSV file. CSV file contains test data and expected outcome.
- int x = Convert.ToInt32(TestContext.DataRow["x"]);
This will fetch current value for variable x from Test data file.
Newer Posts
Older Posts
Home
Subscribe to:
Comments (Atom)