Application Model

The Application Model is how BearQ builds and maintains an understanding of your application. As the Explorer Agent navigates through the system, it collects information about pages and how they connect. It tracks how users move from one page to another and builds a clear view of the application structure.

As BearQ discovers more pages, it organizes them into a structured model. It keeps updating this model as it finds new pages or detects changes in the application. BearQ uses this model as the base for all testing activities. It creates tests based on real user flows between pages and follows these paths during execution. When the application changes, BearQ updates the model and adjusts the tests automatically, so testing stays accurate and up to date without manual effort.

Test Coverage

Test coverage shows how much of your application BearQ tests. It measures the percentage of elements on a page that have tests linked to them. BearQ checks all the elements on a page, counts how many have tests, and calculates the coverage percentage.

At the application level, test coverage shows the percentage of pages in your Application Model that have automated tests. This helps users understand how well their application is tested. Higher coverage means BearQ validates more parts of the application, while lower coverage shows that some areas still need testing.

Application_test_coverage.png

To increase the coverage of the elements on the page, do the following:

  1. Log in to BearQ.

  2. Click Application.

    Application_button.png
  3. Move to Application Model. Select any of the pages present in the application model.

    Test_coverage_of_page.png
  4. You can see the Test coverage on the page mentioned. Click Increase.

    Increase_Test_coverage.png
  5. Click Create Test.

    Create_tests_coverage.png

The BearQ app will start creating tests for the page elements, increasing test coverage.

The Application Model acts as the foundation for how BearQ understands and tests your application. By continuously learning and updating this model through exploration, BearQ ensures that testing stays aligned with real user behavior and application changes. This allows teams to maintain accurate test coverage, reduce manual effort, and rely on a system that keeps testing relevant as the application evolves.

Publication date: