QSpy and Recorder

QSpy

QSpy is an individual component that allows testers and automation engineers to inspect and identify various elements within an application's user interface. These elements include buttons, text fields, dropdowns, and more. Using QSpy, users can retrieve properties and attributes of specified elements. This information, such as element names, values, and positions, is crucial for creating accurate test scripts.

Prerequisite: QSpy must be installed and launched. Users can install the QSpy application from the Qyrus dashboard.

QSpy Install

User Actions under QSpy Application:

Always On Top

By selecting/checking this checkbox, the user has the ability to keep the Object QSpy dialog always on top of other windows.

Always On Top

Highlight

By selecting/checking this checkbox, the user can highlight elements on the application under test when hovering over them with the mouse.

Highlight

Mouse Coordinates

This feature allows users to find the coordinates of elements within the application.

Mouse Coordinates

Hover

Inspect Elements: Hover the mouse cursor over the element you want to inspect within the application under test. QSpy will highlight the selected element in the application's user interface.

View Element Properties: In the QSpy (Object Spy) dialog, you can view the properties and attributes of the selected element.

Copy

Users can manually select and copy the property values from the QSpy dialog to use them for executing scripts.

Copy

Close

It will close the QSpy Dialog.

Recorder

The Recorder captures user interactions with an application's graphical user interface (GUI). These interactions can include mouse clicks, keyboard inputs, button presses, and form submissions.

User Actions from Qyrus Desktop and QloudBridge Application:

Launch Recorder

Prerequisite:

  • Previously Created Project

  • Previously Created Module

  1. In the Qyrus Desktop Application, open an existing Test script or create a new one, depending on your testing requirements.

  2. On the right side panel, click on the "Record steps using Qloudbridge."

Launch Recorder
  1. Click on the "Open QloudBridge app." The user will be directed to the QloudBridge application.

Launch

Start

  1. Open Test: Open an existing test project, depending on your testing requirements.

Start
  1. Enable Record Mode: To start recording, you need to enable the "Record" mode by clicking on the "Start" button under the "Record Test" tab.

Start Rec
Start

Stop

Once the user has finished recording the required interactions, they can halt the recorder by clicking the 'Stop' button. Upon stopping the recorder, it will present the recorded steps in the test script. Subsequently, you can review and make any necessary edits to the generated script.

Stop

Delete Grid

By clicking on the "Delete Grid" button, the user can delete the entire steps of the test script.

Delete Grid

Add Grid

By clicking on the "Add Grid" button, the user has the option to either initiate a new recording session or begin the process of building a test script.

Add Grid
Add Grid

Clear Row(s)

By clicking on "Clear Row(s)" button, the user can clear/delete the selected row/step from the test script.

Clear Row
Clear Row

Save

It will save the recorded test steps to the cloud.

Save
Save

The Recorder supports the following action types:

Launch

The Launch action enables the user to open an application on the machine.

Attach To Window

Execution will be attached to the window specified. When you attach to a window, you are specifying which part of the application's user interface you want to interact with or monitor.

Click here to know more about Attach To Window

Click

The "Click" action simulates a user clicking on an element within the attached window. This could be a button, a menu item, or any interactive element in the user interface.

Set

The "Set" action allows you to configure or change specific parameters, properties, or values within the attached window or component.

Send Virtual Keys

"Send Virtual Keys" enables you to send virtual key codes to the attached window or interface.

Click here to know more about Click, Set, and Send Virtual Keys actions

Last updated