Documentation

Looking for something in particular?

Automation V3: Introducing Component Based Model for Testing (CBMT)

Provar’s Component Based Model for Testing (CBMT) is generally available since the Provar Automation 3.0.0 release. It offers a range of powerful capabilities to enhance reusability, improve the robustness of locators, create custom component libraries, and custom interactions through an extensible framework for Lightning Web Components (LWC).

Note: In CBMT, the fields can be mapped either as Web Component or as Web Element.

Component Based Model for Testing (CBMT) supports:

  • Salesforce Custom Lightning Web Components (excluding tables)
  • Salesforce Screen Flows (excluding tables)
  • Vlocity Insurance (excluding tables)

Experience Cloud: Support for Salesforce OmniStudio (Industry Cloud) is planned for future releases.

Key Features

  • Improved Reusability: CBMT empowers you to build reusable testing components to reduce redundancy, save time, and streamline testing efforts.
  • Robust Locators: CBMT introduces advanced techniques to ensure the robustness and reliability of locators. You can say goodbye to brittle tests due to unstable element identification. The inbuilt component library helps make your locators more resilient, leading to more stable and reliable tests.
  • Custom Component Libraries: Take control of your testing ecosystem by creating your own NitroX package of reusable components, making it easier to maintain and reuse elements across multiple tests.
  • Extensible Framework: CBMT provides an extensible framework that allows you to extend standard components supported by Provar, tailoring NitroX components to meet your application’s specific needs. 
  • Enhanced Execution Performance: With Web Component mapping in CBMT, expect a significant boost in productivity and execution performance, resulting in faster test runs. Experience up to 50% improvement with exponentially faster execution speed allowing you to complete testing cycles more efficiently.
  • Improved Element Mapping: In the unified mapping experience, Web Component mapping and Web Element mapping is generated in your Test Project when you map an element with CBMT, and create file(s) in the /pageObjects directory within your Test Project as Web Component or Web Element.
  • Accelerated Delivery of Changes: With CBMT, enjoy automatic updates that accelerate the delivery of changes. Keep up with the evolving nature of your application and effortlessly incorporate updates into your tests, enabling faster releases and smoother workflows.

This model helps streamline complex testing scenarios and ensures more scalable, future-proof test automation.

Understanding Terms

Defined to support a particular library, platform, or technology. It contains a collection of NitroX Components as to what the package is providing the support for.

A definition of a known web element on a web page supported by Provar, which is highly extendable, enabling you to override mapped instances with your own customizations for attributes and interactions.

A NitroX package created by you and containing custom components.

A NitroX component created by you to meet your custom testing requirements using the NitroX framework.

Generated in the Test Project when you map an element with NitroX. Creates file(s) in the /nitrox directory within your Test Project.


Feedback

Was this article helpful for you?
Documentation library

Trying to raise a case with our support team?

We use cookies to better understand how our website is used so we can tailor content for you. For more information about the different cookies we use please take a look at our Privacy Policy.

Scroll to Top