Maintain Location

Refer to Function: StellaTools.AutoTestBox.UI.Abstract._MaintainLocation

Overview

ATB application uses the default remote INI file settings for the ATB server components, if the test functions are also deployed to the same platform (model configuration set to 'SAME' for example "IBM Server SAME") you can instruct the ATB runtime to use another remote location at runtime for each registered model configuration.

 [Remote]
[RemoteWinNT]
[RemoteUnix]
[RemoteJava]
[Remote C#]
 These sections contain settings that control connection to the default System i, NT, UNIX, or Java system respectively

Note that any number of additional sections can be created to record the details of other systems available to the application. For more information, see Logical Location Environment Settings



For example classic AS400 server deployment
  • ATB application server objects deployed to library StellaTool on the production box (best to have the ATB application backed up as the time invested in creating test cases and registering is of value)
[Remote]
;Settings for the default System i server - In this case ATB
System=PROD
Protocol=TCPIP
OpSys=AS400
Program=YOBSYRPC
Library=PLEX
Job Description=STELLATOOL/STELLATOOL
Buffer Size=4
Port=61000
UserId=MYUSER
Password=*********
Code Page=101
TCPIP Dialog=0
Path=
  • Test server functions are located on the development box
[MyLocationRemote]
;Settings for Dev/Test/Prod objects
System=TEST
Protocol=TCPIP
OpSys=AS400
Program=YOBSYRPC
Library=PLEX
Job Description=MYLIB/MYJOBD
Buffer Size=4
Port=61000
UserId=MYUSER
Password=*********
Code Page=101
TCPIP Dialog=0
Path=

As with CA Plex there are literally millions of platform permutations but providing this functionality it is hoped many scenarios can be catered for out of the box.

The ramifications of this setting can be seen:

Refer to Function: _ShellAutoTestBoxStub.AutoTestBox [StellaTools]



For example ODBC Same deployment (Both test Application and ATB database using ODBC Settings)

  • ATB application must be built for config 'ODBC server SAME'
  • Host model must have StellaTL library set to config 'ODBC server SAME'

[ODBC Settings]
;Settings for WinC client-side data access
SAVE DSN=False
DSN=AutoTestBox
Userid=
Password=
Database=AutoTestBox
Errorlog=True
Default Connect=False


[MyApp]
;Settings for WinC client-side data access
SAVE DSN=False
DSN=StellaDemo
Userid=george
Password=
Database=StellaDemo
Errorlog=True
Default Connect=False