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.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment