Versions Compared

Key

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

  • Purpose

  • Overview

  • Planning Phase Activities

  • Design Phase Activities

  • Execute Phase Activities

  • Reporting Phase Activities

...

  1. Click on Plan from left pane.

  2. Select User Story option.

  3. Click on Add Epic button.

  4. Enter Details :

    1. Name

    2. Description (Optional)

  5. Click on Save button.

  6. Click on Add Story button.
    User Story Details form will be displayed.

  7. Enter the user story meta data :

    1. User Story Title

    2. Select sprint from Planned in Sprint drop down in which user story is planned (Optional)

    3. Select sprint from Completed in Sprint drop down in which the user story planned to be completed (Optional)

    4. Select type of user story Functional / Non-functional from Type drop down

    5. Enter description about user story

    6. Define Risk

    7. Define As - a <role>, I Want <feature>, So That <reason> and Acceptance Criteria <Expected>

  8. Click on Save button.

Watch a video :

The below video shows how to create an epic and user story.

...


Design Phase Activities

  1. Create Automated Functional Test Cases. 

  2. Assign Test Cases to User Stories for end to end traceability.

  3. Create Test Suites for future execution.

...

  1. Click on Design on left panel.

  2. Click on Test Case.

  3. Click on Add Module button. 
    Module Details form will be displayed. Modules are folders to organize tests. They can be nested to any level.

  4. Enter Module meta data :

    1. Enter Module Name

    2. Enter Module Description (Optional)

    3. Enter Module Priority (Optional)

  5. Click on Save.

  6. Click on Add Test button.
    Test Case Details form will be displayed.

  7. Enter Test Case meta data.

    1. Enter the test case Objective : a single liner to define what the test is supposed to test.

    2. Select Automated from the dropdown Manual : Bq supports both Automated and Manual tests.

    3. Select the Priority of the test case

    4. Select the Designer and Reviewer : This is used to send notifications at appropriate stages of the workflow. 

    5.  Enter the test case Summary : Add a description for this test so others can understand what this test is doing.

    6. Select test case Type : UI / API : Bq categorizes tests as either UI or API tests. Any functional test from end user perspective will be a UI test. For testing your backend REST APIs use API tests.

    7. Select the test case Category

    8. Select Test Path

    9. Select the Data file if you are using an external excel file for data.

    10. Select the checkbox(s) for test case category : Smoke, Integration, Regression or Partial Regression

    11. Select Sprint in which the test case is being worked upon.

    12. Select the checkbox for Generate manual steps if you wish to generate the manual steps for the automated test case

  8. Click on Save button.

Watch a video :

The below video shows how to create a simple test case.

...

Record a Test Case

  1. Click on the Test Step tab.

  2. Click on Record button at the bottom.

  3. In the popup that opens,

    1. Leave "Port Number" blank for now

    2. Select "Web" as the Application Type 

    3. Enter the URL of the application you want to create the test for

  4. BQ Genie will start with the Recorder and a browser window.

  5. Click "Start" button on the Genie window to start capturing your actions.

  6. Work on the application as you would manually, performing actions that you want to be recorded.

  7. Notice your actions are getting captured in the Genie Recorder Window.

  8. As you go along, make sure you keep adding "Friendly Names" and "Screen Names" in the recorder window.

    1. Friendly Name is your key to the UI elements with an easy to remember identifier. Genie makes the best effort to automatically create a name for you, but in situations where it is unable to do so, you will need to add a friendly name.

    2. "Screen Name" is the name of the screen this element appears on. This helps you to keep your Element Repository organized and also helps the Genie Scanner to automatically identify any changes in your screen.

  9. After you are done, click on "Save" button in the Genie recorder window. Your test will be saved and the BQ App Window will automatically update to show your recorded steps.

  10. Save the Test Case.

...

You can mark the tests as per their status (In-Progress, Completed, On-Hold, Block) by selecting one of these options after clicking on the Mark Test button.

Watch a video :

The below video shows how to record test steps for a test case.

...

Map a Test Case to User Story

  1. Click on the Story Mapping tab.
    The created Epic and User story will be displayed under 'Select Story to map with this test' section.

  2. Select the checkbox for the desired User Story.
    Story details and type will be displayed.

  3. Click on Save button.

Watch a video :

A single test case can be mapped to a single or multiple user stories.

Watch a video :

The below video shows how to map a test case to a user story.

...

To verify that the test case has been mapped to the user story, navigate to User Story and click on Associated Test Cases tab.
The Module and mapped Test Case will be displayed.

...

  1. Click on Design.

  2. Click on Test Suite.

  3. Click on Add Test Suite button.

  4. Add details in Suite Details screen :

    1. Title

    2. Description (Optional)

  5. Click on Save button.

  6. Click on the Test Cases tab.
    Module with created test cases will be displayed under 'Associate Test Cases to Suite' section.

  7. Select the checkbox(s) for the test cases that you wish to add to the Test Suite.

  8. Click on Save button.

Watch a video :

The below video shows how to create a test suite and add test to that suite for execution.

...

Execute Phase Activities

  1. Execute Test Suite or Individual Test Cases.

...

  1. Navigate to the test case screen by clicking on DESIGN > Test Case.

  2. Select the test case you wish to execute.

  3. Click on Test Steps tab.

  4. Click on Run button.

  5. On the Execution pop up window, select the browser and tag (if any).

  6. Click on Go button. 
    The Local Executor window will be displayed with the below buttons :

    1. Play/Pause button : Used to pause the execution at a particular step or resume the execution.

    2. Step Over button : Used to run a single step in order to understand the issue better.

Watch a video :

The below video shows how to perform local execution in order to debug a test.

...

Execute the test cases via Test Suite

  1. Click on Execute.

  2. Click on Execute Automated Test.

  3. Select the Suite that you wish to execute. You should be able to view the 'list of test cases' under that suite along with its 'Last Execution Details'.

  4. Select the test cases that you wish to execute.

  5. In the Execution Details section, please enter/select the below details. 

    • Run Name

    • Executing in Sprint (select the sprint in which you are executing the test cases)

    • Build Number

    • Browser instance (the number of browse instances you wish to run the test cases on)

    • Distributed across Machines (select the check box if you wish to distribute tests on various connected machines)

    • Execution Tags (if used any in the test cases)

    • Execute Tag First (if you wish to execute the tests tag wise)

    • Email execution Report To (email id to send the execution report to)

  6. If you expand the Advanced Settings section, you will see two options Uninstall App (Mobile) and Clear App Data (Mobile).
    Clear App Data (Mobile) checkbox will be checked by default. 

    The Request Capture section will also be displayed with the following fields :

    1. Enable Proxy checkbox

    2. Proxy Port

    3. Allow URL

  7. When you expand the Execution machine(s) section, you will see the Desktop/Device(s) section, where you should be able to view the connected machine's name & the browsers available on that machine (for Web) or the connected simulator/ emulator/ real devices (for Mobile).

  8. Select the browser/device on which you wish to execute the test case.

  9. Click on Run Selected button (if you have wish to execute selective test cases) or either click on Run All button (if you have wish to execute all test cases in the suite).

Watch a video :

The below video shows how to perform remote execution.

...

Reporting Phase Activities

  1. Generating Reports

Export Execution Results

...

Info

Please note that HMTL reports do not show screenshots.

Watch a video :

The below video shows how to export reports from execution results.

...

Generate a specific report

...

Multiple applications can be selected in the Select Application field.
The generated report will display the data for different applications with different colors to differentiate between them.

Watch a video :

The below video shows how to export reports from Analytics.

...

Related articles :

Understanding Bq Genie Recorder
Advanced Recording
Test Parameterization
Debugging Tests
Understanding Execution Screen
How to work with dynamic properties?
/wiki/spaces/BSD/pages/31522823
How to use Loops in a test?
Integrating with CI/CD pipeline
How to integrate with Jira
API Testing
Automating TvOS
How to use multiple technologies in a single Test?
How to use data from MS Excel ?
How to setup mail connection?
How to Run the same test on both Android and iOS
Running tests on real iOS device