Skip to content
On this page

BVT Features

The BVT Features page is where you can define features of your target application and have the BVT AI generate test automation scripts.

Use the BVT Features page to:

  • Provide descriptions of your application features to test.
  • Manage different test scenarios for your features.
  • Generate test automation scripts for your scenarios using the BVT AI.
  • Optionally, fine-tune the code generated by BVT using the BVT Recorder.

Add New Features

Follow these steps to add new features to test in BVT:

  1. Login to the BVT dashboard and navigate to the Features page.

    Feature

  2. Select your BVT project from the project dropdown. The Features page displays.

  3. Click + Add Feature. The New Feature form displays.

  4. Enter the Feature name and description, and click Create. The new feature is created.

Next Step

Add scenarios to your newly created feature.

Add Scenarios to Features

The test scenario is a detailed test case document covering an application's feature in linear statements. Users can define a test scenario using Gherkin syntax, which uses a set of special keywords to give structure and meaning to executable test cases.

Follow these steps to add a scenario to your feature:

  1. Login to the BVT dashboard and navigate to the Features page.

    Feature

  2. Select your BVT project from the project dropdown. The Features page displays.

  3. Hover over the feature name and click Plus (+) . The new scenario form displays.

  4. Enter a scenario name and description, and click Create. The scenario is added to the feature.

  5. Click Edit ✏️ at the top right. The scenario input changes to edit mode.

  6. Enter the Gherkin scenario description into the input box and click check ☑️ at the top right to save changes.

    An example scenario outline for testing repository creation on GitHub.

    gherkin
    Scenario Outline: Create a new Github repository
    """
    Create a new GitHub repository and verify it is present in the top repositories list.
    """
    # The repository should be private
    Given Create a new repository name "<repo>", description "<description>", and README file
    When Navigate to the home page
    When filter the top repository with "<repo>"
    Then Verify the repository name "<repo>" can be found under Top Repositories
    Examples:
            | repo                 | description        |
            | {{string.alpha(10)}} | description 1      |

Note

We currently only support Feature, Given, When, Then, And, Scenario Outline, and Examples keywords for defining a scenario.

Next Step

Generate Automation Scripts for your scenario outlines.