How to Copy Steps

Learn how to save time by copying steps within a test or from an embedded test.

In addition to adding, editing, and moving steps, you can copy them as well. The goal with tests is to make them as easy to edit and maintain as possible. Make sure you are familiar with the benefits and how to use the Visual Editor Embedded Tests.

Copy steps within a test instead of embedding another test if there are variations between steps or you want to change items. For example, let’s say you have a form where you need to fill in multiple similar fields such as email, but the addresses are unique. In that case, copying steps is more efficient.

Copying Steps within a Test

After opening your test, ensure Preview is not running.

  1. Select the step or steps to copy
  2. Click the Edit button at the top.
  3. Select “Copy selection.”
  4. Click the Clipboard icon on the step where you want to paste.
Copying steps within a test.Copying steps within a test.

Copying steps within a test.

👍

Copying Multiple Steps

  • You can select multiple steps for copying.
  • Steps don’t need to be sequential. For example, you could select Steps 1, 3, and 5.
  • If you mistakenly copied a step, you can click Cancel.
  • If you incorrectly pasted a step, select the step and click Delete.

Copying Steps from an Embedded Test to the Parent

  1. Select the step or steps to copy from the embedded test.
  2. Click the Edit button at the top.
  3. Select “Copy selection.”
  4. Click the Clipboard icon on the step where you want to paste.
    Note: To cancel the action, click the Cancel button.
Copying steps from an embedded test.Copying steps from an embedded test.

Copying steps from an embedded test.

👍

Copying from an Embedded Test

  • If the embedded test is closed but selected, all steps are copied.
  • You can select specific steps from an embedded test.
  • You can select from any embedded test, regardless of its nesting level.

Cutting-and-Pasting to Create an Embedded Test

As you write your tests, you might find it would be better to move some steps into an embedded test. See Visual Editor Embedded Tests for more information.

  1. Select the steps to move.
  2. Click the Edit button at the top.
  3. Select “Create embed from selection.”
  4. Name the extracted test and click the Extract button.
  5. Make sure to save the parent test.
Cutting-and-pasting to create an embedded test.Cutting-and-pasting to create an embedded test.

Cutting-and-pasting to create an embedded test.

👍

About Embedded Tests

  • You can cut one or more steps from the original test and move them to an embedded test.
  • The embedded test is placed in the parent where the first cut step was located.
  • The embedded test inherits the Delay between actions timing from the parent.
  • You can edit the embedded test, change its position in the parent, and use it in any other test.

If you have any questions, reach out to us at [email protected] or via the chat bubble below.


Related Articles & Links
Did this page help you?