Table of Contents





TrendIC B.V., Waddinxveen | The Netherlands | +31 182 613945 | https://www.trendic.nl | support@trendic.nl
+31 182 613945 | https://www.trendic.nl | support@trendic.nl


ICTestAutomation Application Configuration Notes

This chapter contains a description and examples of most of the configuration settings applicable to the various ICTestAutomation applications.

Be careful in changing these configuration settings as they influence the behavior of the ICTestAutomation applications!

ICDefine module

ICDefine application config

The ICDefine application config file is located in the ICDefine program folder and is named TrendIC.ICDefine.exe.config.
The file is in XML format and the application config settings are located in the <appSettings> section. Below are the most used settings and their explanation.
The general format of a configuration setting is

<add key="<key>" value="<value>" />

Any keys present in the <appSettings> section but not mentioned in the description below are not intended to be changed by the customer unless specifically instructed by TrendIC Support or TrendIC Consultancy.

BaseDir

Path to the SUT tree

C:\WorkSpaces\User\CitraTest\SUT

IniFile

Name of the SUT release config file

tft-citratest.ini

TimeOut

Maximum runtime of a single testrun in milliseconds

600000 

Autosave

Automatically save test case after editing before it runs

True 

HelpURL

URL to the (online) helpfile

http://wiki.trendic.nl/doku.php?id=start:[START_ID]&amp;u=citratest&amp;p=ICTest2c#

FunctionKeyCaptureImage

Shortkey for image capture

F8

FunctionKeyQuickBuild

Shortkey for Quick Build function

F9

FunctionKeyAutoRun

Shortkey to run test case, see also AutoSave

CTRL+F10

FunctionKeyAutoRunMovie

Shortkey to run test case and record movie

CTRL+SHIFT+F10

Runner

Full path and filename of the CitraTest Runner program

C:\Program Files (x86)\ICTestAutomation\ICRunner\TftCitraTestRunner.exe

EditMovieApplic

Full path and filename of the movie editor program

C:\Program Files (x86)\Blueberry Software\BB FlashBack\Express 5\FlashBack Player.exe

DebugLogDll

Create debug logfile of test case run (True) or not (False)

False

AutoFillLabelProperty

Automatically fill function description field while editing test case

True

<FunctionName>

Automatically fill the specified function's description field; see also AutoFillLabelProperty

Key {} and Enter

If AutoFillLabelProperty is True the editor fills the function's Description field as specified by <value> replacing {} by the contents of the object, e.g.:

Function: Key
Text:     Example

.

results in:

Description: Key Example and Enter

Note that the {} identifier may occur anywhere in the description string or it may be omitted. If the object is a memory or .ini variable, the identifier is not replaced.

SUT release config

The SUT release config file is located in the SUT\<sut>\Releases\<release>\config folder; its default name is tft-citratest.ini.
The file is in standard .ini format, so consists of section headers, keywords and values, e.g.:

[<section x>]
<keyword 1>=<value 1>
<keyword 2>=<value 2>
...
[<section y>]
<keyword 8>=<value 8>
<keyword 9>=<value 9>
... 

Any sections or keywords present in the .ini file but not mentioned in the description below are not intended to be changed by the customer unless specifically instructed by TrendIC Support or TrendIC Consultancy.

[environment] section

testDataFile

Full path and filename of the testdata file

C:\WorkSpaces\User\CitraTest\SUT\Tests_8.4\Testdata\testdata.ini

UseColorTransitions

Apply CitraTest enhanced image color transition (1) or not (0 )

1

ColorTolerance

Specifies the CitraTest enhanced image color tolerance

70

PercentageError

Specifies the maximum allowable percentage of pixel mismatches during image comparison

2


[appstart] section

startapplic

Activates the specified application at test case start (1) or not (0)

1

application

The full path and filename of the application to be started before test case run

C:\Program Files\Internet Explorer\iexplore.exe

arguments

Any argument to be passed to the specified application at startup

https://www.trendic.nl

startupDirectory

Startup directory of the specified application

C:\Program Files\Internet Explorer\

app-available

Name of image file to check if specified application is started

AppStarted.bmp

app-active

Name of image file to check if specified application is active

AppActive.bmp

app-not-active

Name of image file to check if specified application is inactive

AppInactive.bmp

username

The username to login specified application, if any

password

The password to login specified application, if any

ICConsole module

ICConsole application config

The ICConsole application config file is located in the ICConsole program folder and is named TrendIC.ICConsole.exe.config.
The file is in XML format and the application config settings are located in the <appSettings> section. Below are the most used settings and their explanation.
The general format of a configuration setting is

<add key="<key>" value="<value>" />

Any keys present in the <appSettings> section but not mentioned in the description below are not intended to be changed by the customer unless specifically instructed by TrendIC Support or TrendIC Consultancy.

RunnerFilePath

Full path and filename of the CitraTest Runner program

C:\Program Files (x86)\ICTestAutomation\ICRunner\TftCitraTestRunner.exe

RunnerExecutionTimeOutInSeconds

Maximum runtime of a single testrun in seconds

3600

ExecuteBacklogScheduledTestRunsInMinutes

Maximum backlog in minutes of scheduled but not yet executed testruns

60

QueryScheduledScenariosInSeconds

Interval in seconds between queries for scheduled scenarios

45

QueryKilledTestRunsInSeconds

Interval in seconds between queries for killed testruns

60

DebugLogDll

Create debug logfile of test case run (True) or not (False)

False


ICPortal module

ICPortal web application config

The ICPortal web application config file is located in the ICPortal application folder (which defaults to C:\inetpub\wwwroot\ICPortal) and is named web.config.
The file is in XML format and the application config settings are located in the <appSettings> section. Below are the most used settings and their explanation.
The general format of a configuration setting is

<add key="<key>" value="<value>" />

Any keys present in the <appSettings> section but not mentioned in the description below are not intended to be changed by the customer unless specifically instructed by TrendIC Support or TrendIC Consultancy.

ICPortalBaseDirWorkspaces

Path to the SUT tree

S:\WorkSpaces\User\CitraTest\SUT

ICPortalVirtualDirScreenFailures

Links the virtual directory to the actual directory for screen captures at test run failure

/ScriptFailScreenCaptures/

ICPortal Maintenance application config

Depending the run type of the ICPortal Maintenance application, it uses one of two possible config files, which are located in the ICPortal Maintenance application folder. Run type Batch uses the config file named TrendIC.Portal.Maintenance.Batch.exe.config and run type Service uses the config file named TrendIC.Portal.Maintenance.Service.exe.config.
Either file is in XML format and the application config settings are located in the <appSettings> section. The only used setting for both run types and its explanation is listed below.
The general format of a configuration setting is

<add key="<key>" value="<value>" />

Any keys present in the <appSettings> section but not mentioned in the description below are not intended to be changed by the customer unless specifically instructed by TrendIC Support or TrendIC Consultancy.

NumberOfDaysToKeepData

Test results older than the specified number of days are deleted from the ICPortal database

180

ICPortal RunNow application config

The ICPortal RunNow application config file is located in the ICPortal RunNow application folder and is named TrendIC.ICPortal.RunNow.exe.config.
The file is in XML format and the application config settings are located in the <appSettings> section. Below is the only config setting and its explanation.
The general format of a configuration setting is

<add key="<key>" value="<value>" />

Any keys present in the <appSettings> section but not mentioned in the description below are not intended to be changed by the customer unless specifically instructed by TrendIC Support or TrendIC Consultancy.

WebApiBaseURL

URL to the ICPortal web application

http://TRENDIC-1/ICPortal/