Global Parameters

LegiTest ›› Tutorials ›› Using Parameters ››
Parent Previous Next

Global Parameters


Global Parameters are parameters applied to all test suite executions on a machine. When modifying a settings file, removing the applicableTestSuiteId creates a global settings file. The most common use would be between publishing LegiTest assemblies to LegiTest Server.


<?xml version="1.0" encoding="utf-8" ?>

<ParameterSet>

<Parameters>

<Parameter name="HigherEdDW_ConnectionString" type="System.String" value="Data Source=localhost;Initial Catalog=HigherEdDWTesting;Integrated Security=True" />

<Parameter name="DataSource" type="System.String" value="localhost" />

<Parameter name="InitialCatalog" type="System.String" value="HigherEdDWTesting" />

</Parameters>

</ParameterSet>


Global parameters allow the establishment of commonly named parameters across all environments. After publishing to a new environment, future executions use that environment's settings file. The most common use would be redirecting connection strings between database deployments.


Important Note:

Pragmatic Works recommends using the Program Data location for global legitestSettings files. Though users can have more, we recommend only one global file per machine.