Skip to end of metadata
Go to start of metadata

Control Panel is the recording panel of Q7. It opens in a separate window and provides full access to recording options for new and existing test cases.

How to: Open

Control Panel can be open in two ways:

  • With the Record a Snippet button on the main toolbar. It allows you to start recording a new Test Case or a fragment of a test script right away.
  • With the Record  button in the Test Editor. It allows you to record/edit an existing Test Case.

The default tab of the Control Panel is the Script tab. The [ECL script] is recorded along with your test actions on-the-go so that you can review it. Once Recording is stopped, you can edit your script or clear the tab using the Clearbutton.

Note that if you edit your existing Test Case with the Record option, your existing script will be run first in order to check that the test passes successfully.


How to: Connect to AUT

Before opening the Control Panel you can launch your Application Under Test (AUT) or connect to a remote AUT, which is launched externally, in the Applications tabs.

If no active connection is found, you will be asked to select your AUT from the list or add a new one before recording starts.

You can either select the needed application and hit OK or add a new one using the Add button. As soon as the application is launched/connected, you are good to go.

How to: Record/Replay

If you open the Control Panel directly from the main toolbar, it starts recording immediately. You can select from one of the recording modes, switch between them during recording and review the ECL script appearing in the Script tab of the Control Panel. You can stop recording at any time with the Stopbutton.

If you launch the Control Panel from the Test Editor while recording/editing a Test Case, it starts replaying the existing script first. If the test passes successfully, you can continue with recording and your new test script will be added to the existing one. If the test fails, the recording is not possible.

How to: Choose a Recording Mode

Q7 Platform supports two recording modes: the Recording mode and the Assertion mode. You can select any of them by clicking on the corresponding button of the the Control Panel toolbar. You can also use hotkeys to switch between them, which is useful for some cases when a mouse click affects the current state of any AUT elements. The hotkey hint is shown in the bottom of the Control Panel window.


When you open the Control Panel, the default mode is Recording.

How to: Save/Close

1. If you record your test from scratch, you can save it as a new test using the Save As option in the Save menu. The option to Save file will be grayed out.

While saving a new Test Case, you have to choose the parent project to assign your Test Case to any of the existing projects via the standard New Test Case Wizard. You can also create a new project using the Create New Project button in the Select Location dialog.

Upon saving the Test Case, you can continue with Record/Replay or close the Control Panel and go back to Q7 by clicking the Home  button or with the Close button (the red X icon in Windows).

If you attempt to close an unsaved Test Case, you will be prompted to save or dismiss it.

2. If you recorded a new part of an existing Test Case or rewrote it, you can simply save your changed test with the Save option.

How to: Add a Context

On the Contexts tab of the Control Panel you can see the list of the Contexts assigned to the current Test Case or add a new one.

In order to add a new Context, you can click the Add button and select an existing Context from the list or create a new one. You can find more info on how to work with contexts in our [Contexts] section.

How to: Add a Description

Every Test Case can have a description added directly in the Control Panel. It helps with test identification, it can serve as an addition to the Test Script explaining the test steps, it may contain the expected test results and/or its acceptance criteria. Descriptions for all test cases can later be easily added to the test plan or become an extension of the current one.

All you have to do is to open the Descriptions tab and enter the Test Case description in the plain text format. This tab is active during Recording so that you can put down comments on your test steps right away.

How to: Change Core And Runtime Features

On the Options tab you can change some of the runtime features: recording some mouse-specific actions and using the text for partial identity.