Skip to content

Updating the XML File Using the GUI

chrimuno edited this page Nov 9, 2017 · 10 revisions

In order to use the GUI for this project, it requires that you have MySQL installed in your machine. If you don't already have it installed, please follow the instruction on this page.

  1. These steps assume that you already have the dependencies installed and the solution built.
  2. Open the solution in Visual Studio and press F5 to start the webapp.
  3. On the home page, click on the Test Configurations icon/button.

test configurations home page button

  1. You will see a table that contains all the configurations you have saved on your local db.
    • If you followed the installation instruction, you should automatically have one active configuration already saved.
    • The active configuration is highlighted in green.
    • There can only be one active configuration at a time.

active configuration

  1. If you want to add another configuration, simply click the Add new configuration button at the bottom.
    • Please make sure that you follow the rules for configuration as outlined in this page.
    • If you want the new configuration you are creating to be the new "active" setting, please enter 1 on the Is Active textbox for true. Otherwise enter 0 for false.

add new configuration button

  1. If you want to make an already existing configuration the active one, simple click the edit button for that row and set the Is Active value to 1 and save.
    • This will automatically set the previous active configuration to false and you will only have one active configuration.
  2. Once you have your desired active configuration, simply press the Generate App.config button at the bottom.
  3. If everything works, you should see a confirmation that reads Done! Successfully created the new App.config file.

success message

Note: If there is no active configuration, the App.config file generated will have empty values and the driver will run using the defaul settings. Please see TestSettingsReader.cs file for how default values are determined.