Import Actions Overview
Users can bring in specific actions from Page Objects and other test cases in the same Project with the Import Action feature.
Importing a Page Object:
- Open your Test
- Click on the Import Actions button
-
Select the Source Type of your import: Page Object
- Select the Page Object from the drop-down menu
-
The left panel will display the selected Page Object as a high-level, single tile without the detailed Page Object steps
- Drag the Page Object from the left panel to the desired location on the right panelNOTE: the Page Object can only be dropped between Instructions, not between Steps.
- Release the Action and make adjustments as needed
- Click Save
-
Modify Parameters pop-up appears where User can add Parameterization to the Page Object, as needed or just click Cancel if parameterization is not needed
- The Page Object has been added with a new tag to the Test for the upcoming execution
Importing Actions from a Test Case:
- Open your Test
-
Click on the Import Actions button
-
Select the Source Type of your import: Test Cases
-
Select the Test Case from the drop-down menu
-
The left panel will display the selected test's action log
- Scroll through each test to find the Action you want to import on the left panel and determine where you want to insert it on the right panel
- Drag the Action from the left panel to the desired location on the right panel
- Release the Action and make adjustments as needed
- Click Save
- A new action is now added with a NEW tag into the test for the next execution