I am attempting to automate entering in values on a html page using Microsoft's coded UI. When I use the normal method (i.e. the hardcoded values gotten through the action recording) everything works fine but if I use the params method and pass it an explicit value it doesn't work at all; worse yet, the test does not fail at this point, it just seems to skip over that step. I'm hoping someone can give me an idea of what I'm missing (if anything) when I set up the data driven aspect of the test or if there's something else I can try out. Thanks erik
Here is the Data Connection string from the test itself [DeploymentItem("PFChecks\Data\Company.xml"), DataSource("Microsoft.VisualStudio.TestTools.DataSource.XML", "|DataDirectory|\Company.xml", "Iteration", DataAccessMethod.Sequential), TestMethod]
and the line of code trying to use the params method to set the value on the field. usEnterSSN.methodUserSyncEnterSSNParams.UISsnoEditText = "012831444";
There is only one object in this method to be used, the UISsnoEditText object. The object name is correct in the UI Map and matches what it is named on the web page itself. The params method fails to work if I explicity set the value (as above) or if I use TestContext.DataRow method. Any ideas would be welcome and let me know if I can provide any further information to help answer this question. Thanks erik