Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

About Qualitia Automation Studio Recorder

Qualitia Automation Studio Recorder automates and simplifies the process of creating test cases. It lets you create record test cases for web or mobile applications, or a combination of both. The recorder captures the actions that you perform on the application as steps and stores them as objects, along with the associated actions and parameters.

You can access the Qualitia Automation Studio Recorder from the Test Case Editor screen. You can record the steps for an existing test case or for a new test case.

On this Page:

Table of Contents
Info

Qualitia Recorder does not support all the actions in this release. Before you start using the recorder, see the list of supported actions by the recorder here: Actions Supported in Qualitia Automation Studio Recorder

Recording a Test Case for a Web Application

Before you begin recording, ensure that you have selected the browser type in the System Execution Profile dialog box. For instructions on how to specify a browser, see Configuring the System Execution Profile Settings.

InfoQualitia Web Recorder does not support Internet Explorer for recording a web application

You can record a web application using Google Chrome, Firefox, or Internet Explorer.

To record a test case for a web application:

  1. Create a new scenario or select an existing scenario that has the test case for which you want to record the steps. For instructions on how to create a scenario, see ​Creating a Scenario.

  2. Create a new empty test case or select an existing test case for which you want to record the steps.
    For instructions on how to create a test case, see ​

Creating
  1. Adding a Test Case Manually.

On
  1. Do one of the following:

    • To create a new test case, click the Start Web Recording button on the Test Case Editor screen.

    • To add new steps to an existing test case or a new test case that already has some steps, do the following:

      • To add the new steps after the last step, click

Start Recording>Web, enter the application URL, and then click the Arrow button. A browser opens the web application
      • the Record button on the Test Case Edition Button panel.

      • To add the new steps after a specific step, select the step, right-click and select Start Recording on Web.
        Note: If you start recording on a step that does not have an object and an action, or does not have an object and the action is set to NoOps, the recorder overrides the selected step with the recorded steps.

  1. Do the following in the order listed:

    1. Click the Web Recorder tab.

    2. Select the browser that you want to use for recording.
      Note: If you have selected Internet Explorer to record any web application for the first time, Qualitia Automation Web recorder prompts you to install the IE recorder. For instructions on how to install the IE recorder, refer to Installing the IE Recorder .

    3. Enter the URL of the web application that you want to test, in the Website URL text box,

    4. Click Start Recording.
      The recorder controls toolbar appears on

the screen
    1. the application.

  1. Start performing the actions that you want to record. Each action that you perform is recorded as a step along with the associated objects, actions, and parameters. For more information, refer to Web Actions.

  2. (Optional) Click the > icon on the recorder controls toolbar to see the object actions that you can enable for recording. Enabling the actions for recording let you choose the actions associated with the objects when you click on them while recording.
    Select one of the following actions that you want to enable for recording.

Action

Description

Lets you record the Verify actions for objects.

Lets you record the Wait actions for the objects.

Lets you record the Mouseover action for the objects.

Start performing the actions that you want to record. The recorder captures the actions that you perform on the application as steps and stores them as objects, along with the associated actions and parameters.
Image Added

Lets you record the Keyboard actions.

Info

You can enter values for the objects that have WebEdit class, such as text boxes, even if this option is disabled.

Image Added

Lets you customize the sequence of locator types for recording the web objects.

Select a locator type and use move up or move down arrow buttons to change the sequence.

The default sequence of the locator types for a native application is as follows:

  • Link

  • Name

  • ID

  • XPath

  • CSS

  1. Click Pause to pause the recording at any point of time.

  2. Click Stop Recording to finish recording the test case. All the steps that you performed are stored as steps under a single task that you selected.

You can now use the Test Case Editor to group the steps under separate tasks. Simply select the test case step you want to convert to Task, right-click and select Add New Task, enter a name and description and then click OK.

Recording a Test Case for a Mobile application

Qualitia Mobile Recorder enables you to record test cases on a mobile application. It supports Android and iOS platforms and works with most of the popular mobile brands. You can record a mobile application in an environment that can be a virtual device (Emulator or Simulator), or a real device.

Before you begin recording a test case, ensure that you have to:

To record a test case for a mobile application:

  1. Create a new scenario or select an existing scenario that has the test case for which you want to record the steps. For instructions on how to create a scenario, see Creating a Scenario.

  2. Create a new empty test case or select an existing test case for which you want to record the steps.
    For instructions on how to create a test case, see Creating a Test Case Manually.On

  3. Do one of the following:

    • To create a new test case, click the Start Mobile Recording button on the Test Case Editor screen.

    • To add new steps to an existing test case or a new test case that already has some steps, do the following:

      • To add the new steps after the last step, click

    Start Recording>Mobile
      • the Record button on the Test Case Edition Button panel.

      • To add the new steps after a specific step, select the step, right-click and select Start Recording on Mobile.
        Note: If you start recording on a step that does not have an object and an action, or does not have an object and the action is set to NoOps, the recorder overrides the selected step with the recorded steps.

  4. Do the following in the order listed:

    1. Click the Mobile Recorder tab.

    2. Select the browser that you want to use for recording.

    3. Click Start Recording.
      The Mobile Recording Platform opens in the

    default
    1. selected browser

    of your computer
    1. .

      Image Modified

  5. Click CONNECT to connect to the appropriate environment.

  6. Do one of the following:

To launch a native/ hybrid application

Do one of the following:

  • To select an application that is already installed, from the Select an application drop-down list, select the appropriate application, and then click the Arrow button.

  • To install a new application, under Install New, enter the path of the mobile application package, and then click Install. After installing the application, from the Select an application drop-down list, select the application, and then click the Arrow button.

To launch a web view application

Click the Provide Web URL button, enter the mobile application URL, and then click the Arrow button.

The recorder controls toolbar appears on the screen.

  1. Start performing the actions that you want to record. Each action that you perform is recorded as a step along with the associated objects, actions, and parameters. For more information, refer to Mobile Actions.
    Note: While recording a mobile web application, Qualitia recommends to keep the size of the browser as 100%. If you Zoom In or Zoom Out the browser, the UI may distort, which makes it difficult to identify the objects.

  2. Click the > icon on the recorder controls toolbar to see the object actions that you can enable for recording.

    Enabling the actions for recording let you choose the actions associated with the objects when you click on them while testing. Select one of the following actions that you want to enable for recording.

Recording Panel Button

Description

Lets you record verify actions for an object.

Lets you record wait actions for an object.

Lets you enter text texts in text boxes.

Lets you remove texts from text boxes.

Image Added

Lets you specify customize the order sequence of locator types for recording the mobile objects.For more information on locator types, refer to Locator Priority Settings .

Select a locator type and use move up or move down arrow buttons to change the sequence.

The default sequence of the locator types is as follows:

  • UiAutomator

  • ID

  • Accessibility ID

  • Class

  • XPath

The default sequence of the locator types for a mobile web application is as follows:

  • Link

  • Name

  • ID

  • XPath

  • CSS

  1. Click Pause to pause the recording at any point of time.

  2. Click Stop to finish recording the test case.

You can now use the Test Case Editor to group the steps under separate tasks. Simply s elect the test case step you want to convert to Task, right-click and select Add New Task, enter a name and description and then click OK.

Recording a Mixed Test Case for Web and Mobile Application

You can record a single test case to capture steps on both mobile and web applications. For example, to log in to a banking web application, you need an OTP that you receive on your mobile application.

You can start recording on an application type, pause the recording, and then switch to continue recording on another application type.

A combination of mobile web application and mobile native or hybrid application is not supported.

To record a mixed test case for web and mobile application:

  1. Start You can start recording on a web or a mobile application:

    1. To start recording on a web application,refer to ​Recording a Test Case for a Web Application.

    2. To start recording on a mobile application, refer to ​Recording a Test Case for a Mobile Application.

  2. To switch to another application type, from the Test Case Editor screen, select a step from where you want to record, right-click and then select Start or Continue Recording from the appropriate application type.
    The subsequent steps are added from that step.

  3. Click Save to save the recorded steps.
    W denotes that the steps are recorded on a web application and M denotes that the steps are recorded on a mobile application.

  4. Click Stop to finish recording the test case.

You can now use the Test Case Editor to group the steps under separate tasks. Simply select the steps that you want to add to a new group, right-click and select Add New Task, enter a name and description and then click OK. A task too can be formed containing steps related to web and mobile application testing.