![]() CA Plex6.1 (Build 43.035) is mandatory because of a following generation fix that makes the whole thing possible: ++Cast To meta when "+For Each Variable" loop through via optional function meta-variable. Step1 - Model ConfigurationDecide your AutoTestBox deployment platform and set the local model configuration accordingly.If you plan to have AutoTestBox database on the ISeries and your test functions ALSO access data on the ISeries then you should look at setting the local model configuration to "IBM Server SAME"
If you plan to have AutoTestBox database on the ISeries and your test functions accessing data NOT on the ISeries then you should look at setting the local model configuration to "IBM Server DIFFER"
We are all CA Plex developers here so please look in the model Function: _ShellAutoTestBoxStub.AutoTestBox [StellaTools] and Subject area: StellaTools0_Variants and see the ramification of these settings in terms of generation time and runtime.
Step2 - Register ActiveXStep3 - Register Model API
Step4 - Edit OBCORE.HCue Banners and DisableProcessWindowsGhosting ( WINAPI Function) can not be compiled until CA Plex supplied C:\Program Files (x86)\CA\Plex\6.1\include\OBCORE.H file is edited from:
// LAYRO01 BEGIN .NET migration // Stop "C4005: '_WIN32_WINNT' : macro redefinition" Warning //#define _WIN32_WINNT 0x0400 #define _WIN32_WINNT 0x0400 #endif // LAYRO01 END .NET migration to
// LAYRO01 BEGIN .NET migration // Stop "C4005: '_WIN32_WINNT' : macro redefinition" Warning //#define _WIN32_WINNT 0x0400 //#define _WIN32_WINNT 0x0400 #define _WIN32_WINNT 0x0600 #endif // LAYRO01 END .NET migration If you don't edit the header file you will get the following Visual Studio 2005 compile errors:
------------------------------------------------------------------------------------------ Starting Build of StellaTools.AutoTestBox.UI.Wizard.Wizard - Release COMPILE : error C3861: 'DisableProcessWindowsGhosting': identifier not found c:\PlexLocal\STELLA\Gen\StellaWiz.CPP - Line 1059 COMPILE : error C2039: 'SetCueBanner' : is not a member of 'CEdit' c:\PlexLocal\STELLA\Gen\StellaWiz.CPP - Line 5933 Finished Build of StellaTools.AutoTestBox.UI.Wizard.Wizard - Release with 2 error(s), 0 warning(s) ------------------------------------------------------------------------------------------ Step5 - Gen&Build Settings"/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='X86' publicKeyToken='6595b64144ccf1df' language='*'" Use Pre-built C++ libraries
C:\StellaTools V1.0\Objects\Lib\Plex6.1\ob600PlexExt.lib;C:\StellaTools V1.0\Objects\Lib\Plex6.1\PDate.lib;C:\StellaTools V1.0\Objects\Lib\Plex6.1\Version.rct C:\StellaTools V1.0\Objects\Headers Resource Directories
C:\StellaTools V1.0\Objects\Images\Tools Step6 - Generate and Build subject areasSubject area: StellaTools1_InternalsWinC
Subject area: StellaTools2_ExternalsWinC[Tool] Subject area: StellaTools2_ExternalsWinC[ATB] Subject area: StellaTools3_FncExeWinC
Subject area: StellaTools4a_ServerTable
Subject area: StellaTools4b_ServerView
Subject area: StellaTools4c_ServerFnc
If you get the following build error you have not registered the tssBalloonTip2.dll 'regsvr32 tssBalloonTip2.dll' ****************************************************************************************** START Build Summary for C:\Project\StellaTools\Gen\StellaTools.obl Submitted by XXX on Thu Dec 05 15:03:53 2013 ****************************************************************************************** ------------------------------------------------------------------------------------------ Starting Build of _StellaTools Precompiled Header - Release Finished build of _StellaTools Precompiled Header - Release successfully. ------------------------------------------------------------------------------------------ Starting Build of tssBalloonTip222tssBalloonTip222_pkg - Release COMPILE : fatal error C1083: Cannot open type library file: '': No such file or directory c:\project\stellatools\gen\tssBalloonTip222.h - Line 30 Finished Build of tssBalloonTip222tssBalloonTip222_pkg - Release with 1 error(s), 0 warning(s) ****************************************************************************************** END Build Summary 1 error(s), 0 warning(s)
Refer to Source code: StellaTools.AutoTestBox.UI.AutoTextBox.INI settings[StellaTools Options]
Configuration=
[StellaExeDspCase:NativeControls]
SingleLineEdit=0
[StellaExeDspSuite:NativeControls]
SingleLineEdit=0
[StellaExeDspTest:NativeControls]
SingleLineEdit=0
[StellaExeRunDialog:NativeControls]
SingleLineEdit=0
RadioButton=0
[StellaBackground:NativeControls]
SingleLineEdit=0
AND YOUR REMOTE settings to connect to AutoTestBox database
Refer to Source code: StellaTools.AutoTestBox.UI.Wizard.Wizard.INI settings[StellaTools Options]
PromptDocLink=True
ShowAbout?=Y
AND YOUR REMOTE settings to connect to AutoTestBox database
Step9 - Add-Ins settings[ADDINS] NameX=AutoTestBox [StellaTools] IconX=C:\MyStellaToolsInstallationDirectoryFullPath\StellaAutoTestBox.EXE CommandX=C:\MyStellaToolsInstallationDirectoryFullPath\StellaAutoTestBox.EXE ParametersX= NameZ=AutoTestBox StubWiz [StellaTools] IconZ=C:\MyStellaToolsInstallationDirectoryFullPath\AutoTextBoxPlexIDE.ico CommandZ=C:\MyStellaToolsInstallationDirectoryFullPath\StellaWiz.EXE ParametersZ=StellaWiz StellaWiz RS $ObjRef |