Generate new business components out of manual tests to reuse the steps in the manual tests for business process testing.
-
In the menu, click
.
-
Select one or more manual tests in the
Tests tree.
-
Right-click your selection and select
Generate Business Component.
-
Specify how you want to handle the steps in the new business components.
- Click
Copy the steps from the manual tests to copy the steps of each selected manual test into a corresponding new business component. Future changes to the steps of
the manual test will not affect the steps of the corresponding business component and the other way round.
- Click
Share and reuse the steps of the manual tests to copy the steps of each selected manual test into a corresponding new shared steps asset. Each shared steps asset is then
used by both the manual test and the new business component. Future changes to a shared steps asset will affect both the manual
test and the business component.
-
Choose the location where you want to place the new business components in the
Libraries tree.
-
Click
OK.
Silk Central creates a new business component for each selected manual test.
Example
For example, suppose you have selected the manual tests
Test 1 and
Test 2, and you want to create two new business components out of these manual tests.
- If you choose to generate business components out of these tests by copying the steps from the manual tests,
Silk Central generates two new components with the names
Test 1 and
Test 2. The new component
Test 1 has the same steps as the manual test
Test 1, and the new component
Test 2 has the same steps as the manual test
Test 2.
- If you choose to generate business components and to reuse the steps of the manual tests,
Silk Central performs the following actions:
- It generates two new shared steps with the names
Test 1 and
Test 2.
- It replaces the steps in the manual test
Test 1 with the new shared step
Test 1.
- It replaces the steps in the manual test
Test 2 with the new shared step
Test 2.
- It generates two new business components with the names
Test 1 and
Test 2. The new business component
Test 1 has the new shared step
Test 1
and the new business component
Test 2 has the new shared step
Test 2.