Saving a live testing session

Under this section you will learn on how to bring your work from a live testing session to your test files.

Typically, you use live testing sessions for either developing a test case from scratch or debugging an existing test case or just for fun. If you are not using live testing for fun, you might want to bring the debugged/developed test case back to your test case .robot file.

Any development/debugging work done in live testing is not automatically saved to your .robot test file. All the unsaved work is lost between two separate live testing sessions.

Let’s assume that you have launched a live testing session and executed a few test steps. As of now, you are happy with the development work and you want to bring it back to your test file as a new test case.

Saving a live testing session essentially means creating a test case out of the executed test steps from the Execution Trace pane.

To save selected steps:

  • Select/highligh the steps you want to copy (or use hotkey Ctrl+A to select all recorded steps)

  • From the menubar, select Edit  Copy (or use hotkey Ctrl+C)

  • Move cursor to correct place in your test script

  • Paste the recorded steps to your script using Edit  Paste (or hotkey Ctrl+V)

  • Select Edit  Save from the menu bar to save your script (or hotkey Ctrl+S)