Advertisement

Softonic review

Visual Regression Test - How Does It Work?

As mentioned in our previous article, a visual regression test is the main idea behind this extension. This is a tool that verifies your code by comparing screenshots between new code and old code. The developers of the tool suggest that it is an effective method for testing software, because it allows you to test the same code with the same data, without having to use the production system.

How is this tool designed to work?

The tool can record the interactions of the user inside the page, in any way they may occur, which includes keyboard, mouse and touchscreen actions. All interaction is recorded, including clicks, drag, scrolling, scrolling, focus and blur events, among others. Then, after the developer generates the test steps, it is possible to generate a JSON file that describes the instructions that have been recorded in the form of a test step, which is the most common format for describing the instructions for automated tests.

To be able to generate the test steps, we have implemented a library called libvbot, which is a library that facilitates the recording of UI interactions. This library was designed to be used for recording the interaction of the user inside the page.

When the developer generates the test steps, it is possible to compare the screenshots between the new test and baseline, which allows you to check the changes that have been made to your application.

Program available in other languages



User reviews about VBot Recorder

Have you tried VBot Recorder? Be the first to leave your opinion!


Advertisement