Professional Documents
Culture Documents
Readme
Notes on Installation and Usage
Please read the notes carefully since important information for installation and use TIA Portal
Test Suite is included for you.
Note when printing the file that the left and right margins are set to a width of 25
millimeters for A4 portrait format.
Security information
Siemens provides products and solutions with industrial security functions that support the secure
operation of plants, systems, machines and networks.
In order to protect plants, systems, machines and networks against cyber threats, it is necessary to
implement - and continuously maintain - a holistic, state-of-the-art industrial security concept.
Siemens’ products and solutions only form one element of such a concept.
Customer is responsible to prevent unauthorized access to its plants, systems, machines and
networks. Systems, machines and components should only be connected to the enterprise network or
the internet if and to the extent necessary and with appropriate security measures (e.g. use of firewalls
and network segmentation) in place.
Additionally, Siemens’ guidance on appropriate security measures should be taken into account.
Siemens’ products and solutions undergo continuous development to make them more secure.
Siemens strongly recommends to apply product updates as soon as available and to always use the
latest product versions. Use of product versions that are no longer supported, and failure to apply latest
updates may increase customer’s exposure to cyber threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed under
https://www.siemens.com/industrialsecurity.
1
Contents
1. Scope of delivery
2. System Requirements
3. Prior knowledge
4. What’s new in TIA Portal Test Suite V18
5. Notes on handling
2
Scope of delivery/Function overview
The software TIA Portal Test Suite Advanced V18 is an optional package for
TIA Portal V18 and it includes the following components:
• Styleguide
• Application test
• System test
TIA Portal Test Suite Advanced is provided with the following user interface
languages
• English
• German
• Chinese
3
Installation notes
Software requirements
TIA Portal Test Suite V18 Advanced is a TIA Portal optional package, which requires
the following products to be installed:
To use the Application test concept, you also need the following package to be installed
• All the hardware and system requirements of STEP 7 Professional V18 and if
applicable, S7-PLCSIM Advanced V5
• You can find the system requirements of STEP 7 Professional in the following
documentation:
• To configure and using OPC UA server and its interface files in TIA.
4
What’s new in TIA Portal Test Suite V18?
Compatibility
To import style guide rule sets exported from Test Suite V16, an additional
<Rules>/</Rules> node must be added to the XML file before importing it into Test
Suite V18. For more information, see the online help.
• System test
In addition to application test via the S7-PLCSIM Advanced API, the Test Suite now
offers automated tests via S7-1200 / S7-1500 OPC UA Server interface. When the test
is started, then Test Suite connects to the specified server address as an OPC UA client
and executes the test step by step.
The system test enables the execution of the following tests:
o Black-Box-Tests via OPC UA interface - PLC project is not required
Please refer “TIA Portal Test Suite ➔ System test” in TIA information system.
Also, the above test is also possible using Openness APIs, please refer “Functions for
System Test” in TIA information system.
• Style guide :
o An additional property with a specific condition can now be added for a
style guide rule. The rule is then only evaluated if the additional
condition is met. The following conditions are available:
▪ Variable type
▪ Data type
▪ Block type
5
With the help of these conditions, the application of a style guide rule can
be restricted, for example, to a specific data type (Boolean, Integer, etc.)
or variable type (Multi-instance, Array, Struct, etc.).
Enhancements
• Style guide:
o In the object selector, the application of style guide rules can now also
be restricted to organization blocks, functions or function blocks.
o The "Prefix/Suffix" and "Name contains" rule types can now optionally
be made case-sensitive
o Test results message improvements
• Application test:
o Variables of WChar, String and WString data type can now also be
used in the Application test.
o Application test - RUN with condition:
The RUN command can be used with an optional parameter for
conditional execution of the test case. Once the optional parameter
reaches the value specified by the user or the maximum number of
cycles is reached, the execution is terminated.
Syntax: RUN( Cycles := <value>, <optional_parameter> = <value>);
o You will be now able to see the below additional information in Test
Results
▪ Assert statement type during the test
▪ List of passed Assert statements
6
Notes on handling
Contents
Information that could not be included in the online help and important information about
product characteristics.
About Application test usage:
Application test uses SIMATIC S7-PLCSIM Advanced and its APIs in order to run the
test cases.
• Minimum and Maximum cycle time values are always taken from TIA Portal project.
Please refer the function manual of SIMATIC S7-PLCSIM Advanced in section 8.13
• Performing tests for unpublished variables of Software units are not supported.
Execution will be terminated with an error.
• Usage of arrays in test case editor are only supported with single dimensions.
• For more information, please refer the "TIA information system" under chapter
TIA Portal Test Suite ➔Application test ➔Test Case Execution Failure
About Style guide usage:
• “Go to” a block property violation from a log file within “Common data\Logs”
is not supported
• Shortcut <Ctrl+G> for navigation from Test Results tab / log file will not
respond for the very first time.
7
About System test usage:
• Please use either of the below hints for the faster test execution
o Enable “Accessible from HMI/OPA UA/Web API” for only the
variables/Data blocks you want to test.
o Create your own server interface(s) for the blocks/application you want
to test using “OPC UA Communication ➔ Server interfaces” in TIA
• Make sure to update the server interfaces files used to define the tests for any
changes in the Step7 application.
• It is not possible to copy test cases from one TIA Portal instance to another
TIA instance / Reference projects.
• While generating SIMATIC standard server interface file with array elements,
please use the default option “Export array elements as Separate node“