Quick Test: Updating a Script to Match Last Run

Prev Next

This article is about Quick Tests.

Click here to learn how to record automation scripts using ScriptBuilder.

When executing a Quick Test, it is possible to perform additional activities or even introduce new transactions.
The new flow can then replace the original script or be saved as a new Quick Test script.

Step 1 - Record the additional activities

  1. Execute a Quick Run.
  2. Run the test in either Step or Transaction mode.
  3. While running the test, perform the additional activity or run the newly introduced transactions.
  4. Continue with the remaining activities of the test as you would regularly.
  5. In Panaya Test Player, only hit Save when you have completed performing all additional activities.
  6. Select the appropriate step after saving the test run and click Show Evidence.
    Check to see that the additional activities appear in the evidence as expected.


Step 2 - Update the Quick Test script (or Save As a new script)

  1. Select the relevant Planned Run and click on the View button.
  2. Select the All Runs tab.
  3. Highlight the relevant run and select Save as or Update script.
    Save as will save the highlighted run as a new Quick Test script. The new activity will be automatically saved in the same location in the tree.
    The updated script will overwrite the original script, including all additional activities captured in the highlighted run.

To replace a step or transaction in the Quick Test script -
Record the additional activities and update the script, then delete the unnecessary steps or transactions