SHARED_DATA

SHARED_DATA <FullIniFilePath\xxxFile.ini> <SectionName>

Creates a chunk of shared memory for use within test servers or test steps. The arguments are an ini file name and a section name. The section within the ini file must have parameters in the following format for creating the shared data:

  • shared_data_num = <number of shared data objects>, where the number of shared data objects is provided.

  • shared_name_x = <name>, where x in the parameter name is replaced by the shared data number and the name of the shared data is the value.

The shared objects thus created are accessible within test steps through the methods provided in CTestStep.

Note: If your system drive is other than C: drive, use the SYSDRIVE variable with the absolute file path to point to the system drive.

SHARED_DATA <${SYSDRIVE}\FullIniFilePath\xxxFile.ini> <SectionName>