The user must have a Create/Edit permission for Test Case. See Roles and Permissions for more details. |
You can create a Test Case Fragment (TCF) in two ways:
- Extracting a TCF from a Test Case:
- Select the required lines within a test case and click the "Extract" button.
- Set a name and click Save.
- A new TCF is created, containing the selected lines exactly as they were. If the "Replace source lines with the fragment call?" flag is set during extraction, the selected block of lines is removed from the original test case and replaced with the statement When I run fragment <tcf key>.
- Creating a New TCF from the TCF Library Panel:
- Click the "New Test Case Fragment" icon on the TCF Library panel, or right-click the panel and select "New Fragment" from the context menu.
- The Create Test Case Fragment modal will be displayed, allowing you to define and save a new TCF.
Comments
0 comments
Please sign in to leave a comment.