Test Automation Framework / test-automation-framework / target / test-results / com / sqanta / testautomation / framework / Configuration.html

<?xml version="1.0" encoding="UTF-8"?><html xmlns:c="http://www.concordion.org/2007/concordion">

<head><script type="text/javascript">
function show(id) {
  document.getElementById(id).style.visibility = 'visible';
}

function hide(id) {
  document.getElementById(id).style.visibility = 'hidden';
}
function showScreenshotOn(e) {
  var targ;
  if (!e) var e = window.event;
  if (e.target) targ = e.target
  else if (e.srcElement) targ = e.srcElement
  if (targ.nodeType == 3) // defeat Safari bug
    targ = targ.parentNode;
  if (targ.nodeName == 'P')
    targ = targ.parentNode;
  return (targ.className.indexOf('stackTrace') != 0);
}</script><style>
.screenshot {
  position:absolute;
  visibility:hidden;
  border:solid 1px black;
  z-index:30;
}
</style><style>* {
  font-family: Arial;
}
body {
  padding: 32px;  
}
pre {
  padding: 6px 28px 6px 28px;
  background-color: #E8EEF7;
}
pre, pre *, code, code *, kbd {
  font-family: Courier New, Courier;
  font-size: 10pt;
}
h1, h1 * {
  font-size: 24pt;	
}
p, td, th, li, .breadcrumbs {
  font-size: 10pt;
}
p, li {
  line-height: 140%;
}
table {
  border-collapse: collapse;
  empty-cells: show;
  margin: 8px 0px 8px 0px;
}
th, td {
  border: 1px solid black;
  padding: 3px;
}
td {
  background-color: white;
  vertical-align: top;
}
th {
  background-color: #C3D9FF;
}
li {
  margin-top: 6px;
  margin-bottom: 6px; 
}


.example {
  padding: 2px 12px 6px 12px;
  border: 1px solid #C3D9FF;
  margin: 6px 0px 28px 0px;
  background-color: #F5F9FD;
}
.example h3 {
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 12pt;
}

p.success {
  padding: 2px;
}
.success, .success * {
  background-color: #afa !important;
}
.success pre {
  background-color: #bbffbb;
}
.failure, .failure * {
  background-color: #ffb0b0;
  padding: 1px;
}
.failure .expected {
  text-decoration: line-through;
  color: #bb5050;
}
.ignored, .ignored * {
  background-color: #f0f0f0 !important;	
}

ins {
  text-decoration: none;	
}

.exceptionMessage {
  background-color: #fdd;
  font-family: Courier New, Courier, Monospace;
  font-size: 10pt;
  display: block;
  font-weight: normal;
  padding: 4px;
  text-decoration: none !important;
}
.stackTrace, .stackTrace * {
  font-weight: normal;
}
.stackTrace {
  display: none;
  padding: 1px 4px 4px 4px;
  background-color: #fdd;
  border-top: 1px dotted black;
}
.stackTraceExceptionMessage {
  display: block;
  font-family: Courier New, Courier, Monospace;
  font-size: 8pt;
  white-space: wrap;
  padding: 1px 0px 1px 0px;
}
.stackTraceEntry {
  white-space: nowrap;
  font-family: Courier New, Courier, Monospace;
  display: block;
  font-size: 8pt;
  padding: 1px 0px 1px 32px;
}
.stackTraceButton {
  font-size: 8pt;
  margin: 2px 8px 2px 0px;
  font-weight: normal;
  font-family: Arial;
}

.special {
  font-style: italic;
}
.missing, .missing * {
  background-color: #ff9999;
}
.surplus, .surplus * {
  background-color: #ff9999;
}
.footer {
  text-align: right;
  margin-top: 40px;
  font-size: 8pt;
  width: 100%;
  color: #999;
}
.footer .testTime {
  padding: 2px 10px 0px 0px;
}

.idea {
  font-size: 9pt;
  color: #888;
  font-style: italic;	
}
.tight li {
  margin-top: 1px;
  margin-bottom: 1px; 
}
.commentary {
  float: right;
  width: 200px;
  background-color: #ffffd0;
  padding:8px;
  border: 3px solid #eeeeb0;	 
  margin: 10px 0px 10px 10px;	 
}
.commentary, .commentary * {
  font-size: 8pt;
}
</style>
    <title>Configuration</title>
    <link href="concordion.css" rel="stylesheet" type="text/css" />
</head>

<body><span class="breadcrumbs"><a href="Framework.html">Framework</a> &gt;</span>
<h1>Configuration</h1>

<p>
    There are two types of configuration — framework configuration and tests
    <a href="RunConfiguration.html">Run Configuration</a>.
    This page is about framework configuration.
</p>

<p>
    Framework configuration is set in <b c:execute="setConfigFileName(#TEXT)">configuration.properties</b> file at the
    root of <b>test-automation-framework</b> module and defines general framework aspects, such as:
</p>
<ul>
    <li><b c:assertTrue="testResultsOutputDirectory()" class="success"> Test Results Output Directory</b> — relative or absolute
        path where automated test results should be saved.
    </li>
    <li><b c:assertTrue="testConcordionExtensions()" class="success">Concordion Extensions</b> — list of Concordion extensions
        that should be used. Read more about
        <a href="http://www.concordion.org/Extensions.html">Concordion Extensions</a>.
    </li>
    <li>
        <b c:assertTrue="testDefaultBrowserType()" class="success">Default Browser Type</b> — specifies which browser type should be used
        for web application testing. See <a href="pages/PageFactory.html">Page Factory</a> for more details.
    </li>
    <li>
        <b c:assertTrue="testDefaultElementTimeout()" class="success">Default Element Timeout</b> — specifies how long WebDriver should wait for element to be found on the page in seconds. If values is not specified WebDriver will not wait at all.
    </li>
    <li>
        <b c:assertTrue="testDefaultEnvironment()" class="success">Default Test Environment</b> — optional parameter, specifies which
        <a href="TestEnvironments.html">Test Environment</a> should be used by default. If parameter is not set then value from run configuration will be used.
    </li>
    <li>
        <b c:assertTrue="testDefaultTestData()" class="success">Default Test Data Set</b> — optional parameter, specifies name of default
        <a href="TestData.html">Test Data Set</a> file name without .xml extension. If not specified then default.xml will be used.
    </li>
</ul>


<p>
    If configuration.properties file is missing <span c:assertTrue="testExceptionThrownWhenMissingConfiguration(#TEXT)" class="success">InstantiationError</span> is thrown.
</p>

<p>If mandatory configuration properties are missing from configuration file
    <span c:assertTrue="testExceptionThrownWhenMissingProperties(#TEXT)" class="success">InstantiationError</span> is thrown.
</p>

<h3>Further Information</h3>

<p>
    More information about configuration system can be found in <code>Configuration</code> class and in
    <b>configuration.properties</b>
    file.
</p>
<div class="footer">Results generated by <a href="http://www.concordion.org"><img src="../../../../image/concordion-logo.png" alt="Concordion" border="0" /></a><div class="testTime">in 420 ms on 21-Sep-2011 at 14:29:08 MSD</div></div></body>
</html>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.