This project is read-only.

Generating the command from a config file

Oct 7, 2013 at 9:48 AM

I was working on a automation solution. I want to abstract the UI changes from the code to have better maintenance of the UI changes.
In order to do this I want to give the control and the details like search parameters in a XML file. While executing the test case I want to frame the CUITe command from the XML file. Could let me know if this is possible. If so can you guide me with some tips.

Oct 11, 2013 at 8:22 AM
Hi Varma,

Here are some options:
  1. Use CUITe's built-in data manager to read content from XML. See the documentation here for more information.
  2. Use MsTest's built-in DataSource attribute to read data from a database, excel file, or xml file. See the documentation here for more information.
    See this article for sample code that uses an XML file as a data source.