IBM® DevOps Test UI (Test UI) uses its default script
templates to format and provide basic information when you create a script. You can customize
the information and format by customizing the script templates.
To customize a script template, use the Test UI
Script Templates Property Page. In Test UI,
Eclipse Integration, you can also use the Java™ editor,
which provides simple formatting of the template and help with the Java syntax. In Test UI,
Microsoft Visual Studio .NET Integration, you can use the Code editor.
-
Right-click a functional test project in the Projects view,
click Properties from the pop-up menu.
The Properties for <project_name> dialog is
displayed.
-
Click Functional Test Script Templates.
The Functional Test Script Templates page is
displayed.
- In the Select template type list,
click the script template to customize.
-
Edit the script template:
-
Edit the script template using the appropriate placeholder.
-
Click Apply and Close to save all edits to all
script templates.
You can also edit a script template with the Java
editor in Test UI,
Eclipse Integration or the Code Editor in Test UI, Microsoft
Visual Studio .NET Integration. Click Open current template in
Editor to open the template in the appropriate editor.
Tip: To omit associated punctuation for any null properties, enclose
the placeholder in a pair of carets (^). For example:
^%map:contextComment%^