Versions Compared

Key

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

...

Decide carefully, what you need to create for the application, a business component or a module and follow the below steps accordingly.

Info

Please note
Components are test cases. The only thing that makes a business component unique is that it is reusable and can be called in a test case created within module.

Creating a component :

  1. Click on the Design Menu from the left pane and click on Test Cases.

    Image RemovedImage Added


    The following screen will be made available to you.

    Image RemovedImage Added

  2. Click on Add Component button to create a reusable component within Business Component folder.

    Image RemovedImage Added

  3. A new screen will appear where you need to enter details (metadata) about this business component.
    Fill in the mandatory details that include Title, Type, Priority, Test Path, Category, Designer and Reviewer of this test case and save the component. 

    Image RemovedImage Added

  4. Click on the Test Steps tab.

    Image RemovedImage Added

  5. This screen allows you to add steps for your test.
    Steps can either be recorded using the Bqurious Recorder or added in the extremely easy grid like interface.

    Image RemovedImage Added

Creating a test case within a module

Pre-requisite :
User should already be on the Test case creation screen.

  1. Click on Add Module button to create a module.

    Image RemovedImage Added

  2. Fill in the details and save the module.

    Image RemovedImage Added

  3. Once the module is saved, click on Add Test button to add a test case to the module.

    Image RemovedImage Added


    The below screen will be made available to you.

    Image RemovedImage Added


    Enter the details mainly the test case Title, Type, Priority, Test Path, Category, Designer and Reviewer.

  4. Save the test case.

  5. Click on the Test Steps tab.
    This below screen allows you to add steps for your test. Steps can either be recorded using the Bqurious Recorder or added manually.

    Image RemovedImage Added

Additional features : 

  • It is quite easy to take a screenshot of the test case execution, just select the checkbox for screenshot under Test Steps tab of test creation.  

  • Also, if you wish to stop the execution automatically after a certain step (for debugging), simply select the checkbox of breakpoint for that particular step and you are good to go.

  • BQ also provides the facility to add notes / comments for each test step, in the test creation window itself.

  • The type of technology used can also be viewed in the Test case screen itself. For ex., if you have selected Web as the application type, the test case creation screen will show the type as WEB in front of each  step. While if you have selected the type as Mobile Native,  the test case creation screen will show the type as MOB in front of each step.

  • 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.

Info

Test Cases are organized into Business Components and Modules.
Business Components are a collection of Reusable Test Cases that can be included as an Action in other Test Cases. One caveat of Business Components is that they can not contain other business component.
Modules allow you to structure your test cases in logical groups.



Using the Recorder

Let’s use the Bqurious Recorder to Record our first test. Click on the Record button to record the steps.
In the following popup, enter the URL to your application. For example, httphttps://www.snapdeal.com is used here for demonstration.
                                                    Image Removed

...


A new browser window will open with the site you entered in the previous popup. Separate Bqurious Action Recorder windows will also popup.
Click on the Record Button in the Action Recorder to start your recording (highlighted in the image below).                                                    Image Removed  

...

As you perform actions on the browser window, you’ll see your actions being captured in the Action Recorder Grid. Bqurious Recorder is intelligent enough to correctly identify the Application Screensapplication screens, action performed and the object on which action is performed. It will also suggest “Friendly Names” for the identified objects for you to easily refer to them in your tests. These “Friendly” Names are editable.
Once you are done with your recording, click on the “Save” button and close the Bqurious Recorder and Browser Window.
Click on (“Refresh” icon button) to see your recorded steps.
                                                   
Notice all your steps are now recorded and there is clear distinction between Web UI elements and actions. This separation of concerns is an important aspect for keeping your tests easy to maintain. If any of your Web Elements Element changes, you just need to go the Object Container and update the Object properties. All tests will automatically reflect this change.

...

Note: Do not forget to add a “launchApp” action as the first step in your test. This prompts the system to open a new browser window for execution.                                                    
                                 

Info

BqGenie does not capture passwords. The user needs to enter the password manually in the test script.

Creating Test Suite
How to execute a Test Case via Test Suite?
Understanding Execution Screen