About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Question & Answer
Question
How to create and build a Logiscope C++ TestChecker project using Microsoft Visual Studio 6
Answer
The step by step procedure to create and build a C++ TestChecker project are :
- Open Microsoft VC++ 6.0
- Select File --> New
- Under the Projects tab select Win32 console application, key in the project name (ATM) and the location then click next
- Hit Finish --> ok
- Select build configurations and click on Add button
- Type the configuration name (ATMcon) and click ok...
- After clicking ok make sure we see the name of the configuration (ATM - Win32 ATMcon) then click close
- Select Build --> set active configurations and select your configuration and click ok again.
- Now save all
- Change the project settings as follows :
- under General select MS foundation classes as "Use MFC in shared DLL"
- under C/C++ select category as preprocessor and set the additional include directories as "C:\Program Files\ibm\Rational\Logiscope\6.6\instr\include"
- under Link --> object/library modules type "vlgtc.lib"
- under Link --> category select 'Input" and type the Additional library path as " C:\Program Files\ibm\Rational\Logiscope\6.6\instr\lib"
- Select OK
- Build the project
- Select project --> Export make file and then select the make file and click OK
- Close Microsoft VC++
Create a MakeLog.bat file with the following code in it and save it in the same location, as that of the VC++ project:
call "c:\program files\microsoft visual studio\vc98\bin\vcvars32.bat"
nmake /A /F ATM.mak CFG="ATM - Win32 ATMcon"
14. Open Logiscope create a C++ TestChecker project in the same location
15. Type in the command as cmd /c MakeLog.bat
16. Build the project in Logiscope
17. In the project settings, under the tab ‘TestChecker’ key in the path of the executable.
For example: “C:\ATM\ATMcon\ATM.exe”
18. Now, you can run tests against the C++ console application using the TestChecker interface.
Attached is the sample project (ATM.zip) for reference.
All source code and/or binaries attached to this document are referred to here as "the Program". IBM is not providing program services of any kind for the Program. IBM is providing the Program on an "AS IS" basis without warranty of any kind. IBM WILL NOT BE LIABLE FOR ANY ACTUAL, DIRECT, SPECIAL, INCIDENTAL, OR INDIRECT DAMAGES OR FOR ANY ECONOMIC CONSEQUENTIAL DAMAGES (INCLUDING LOST PROFITS OR SAVINGS), EVEN IF IBM, OR ITS RESELLER, HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. |
---|
[{"Product":{"code":"SSYQHS","label":"Rational Logiscope"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"6.6","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Was this topic helpful?
Document Information
More support for:
Rational Logiscope
Software version:
6.6
Operating system(s):
Windows
Document number:
131469
Modified date:
23 June 2018
UID
swg21410683