Qualibrate is a test automation tool based not just on a record-and-playback system but also empowered by an easy test data management module. What does this mean?
Traditional record-and-playback systems have a big limitation: they are inflexible and the test cases are not easy to extend. With the traditional approach you can only record your business process and play it back, exactly as you have recorded it.
What if I want to change the steps of the recorded flow? And if I have multiple data sets which I need to run the same tests on? Suppose, for example, you recorded actions that input data into an application’s form. The recorded test contains only those values that you entered during the recording and, most likely, these values do not cause errors in the application, but other data may cause them. So, you need to run your test with different set of input data to ensure that the application works as expected for various input values.
Does this mean that I have to record everything again and create an individual test for each data set? That would be a lengthy and time-consuming process, not exactly in line with agile principles.
The answer is no, Qualibrate leverages on data management to overcome these issues.
How Qualibrate stores and uses data
Qualibrate is designed around the principle of making test automation simple for the non-technical user at the same time providing advanced functionality for technically oriented users.
To record a flow with Qualibrate the user simply has to click a button which opens the recorder that is extremely simple to use. With just 5 buttons on the recorder with clear instructions on what they are designed to accomplish, Qualibrate ensures the user is not lost in a ‘sea of functionality’. Throughout the recording process the user does not see a single line of code.
Let’s see what happens in the background while you are recording your business process.
While a recording is performed using Qualibrate, the input data is automatically stored in the Data Management for the test script. Automation in Qualibrate works using three components: User Action, Object and Test Data (which is optional for actions like Click on Link).
Qualibrate also has the capability of adding an extra layer, a ‘Chapter’, or task, for the action, thus encapsulating the technical actions and making it easily understandable to users without technical know-how. The step name is free text and can be entered to denote information on any level in any language.
A test case or flow in Qualibrate, is a group of steps being performed.
1. User actions
Qualibrate performs automation using keywords which are called User Actions. User Actions are what the user performs during the execution of the test manually. They are captured automatically during the recording performed with Qualibrate, without any technical knowledge needed.
Once the recording is done, the recorded flow can be easily modified by moving the steps around using drag and drop functionality.
All the actions performed in a flow can also be reused as building blocks to build an end to end ‘Scenario’. Once the scenario is built, all changes made to the flow are also applied to the scenario, as the flow in the end to end scenario is just a reference to the original flow.
The Qualibrate recorder automatically recognizes objects and picks the proper method to map them, using an advanced smart object recognition system. You don’t need any technical knowledge to know which user action has to be used for which object, as this is determined by Qualibrate during recording. However, you can still tag objects manually, using the method you prefer by using ID, name, class, link and xpath.
3. Test Data
The values the you enter during recordings are captured for that step and act as an input parameter for the step. You can view and modify these parameter values directly in the web platform. Options for modification include adding formulae for current date and time, automatically increment values eg. For unique PO numbers, as well as referencing to other parameters.
The advanced Data Management Actions in Qualibrate offers options to easily create multiple iterations of the data directly from the user interface. You also has the option to download the data to an excel file, make the necessary changes by adding formulae and then uploading the data to the data management. The uploaded data can then be used to run individual or several iterations.
The Data Management with Qualibrate is extremely user-friendly while being easy to learn, alongside, it does not require any kind of technical knowledge. If you have basic knowledge of using Excel, they can easily manage test data in Qualibrate.
Test data sources
Qualibrate provides several ways to generate test data that can act as an input to a regression test suite:
- Import excel file: you can generate test data on the system using the automation capability of Qualibrate. With Qualibrate advanced scheduling mechanism automated scripts can be scheduled to run as pre-requisites before the actual execution for the test cases begins. With this approach the user can create synthetic test data, such as vendors, materials, etc that are required for the scripts which will follow later in the execution cycle. Using the import functionality for data management the user can import data from an excel file and create iterations that will run repeatedly to create the test data. With the data flow management, this data is passed on to the test script during the execution.
- Open API: Qualibrate has an open API (Application Programming Interface) that allows the test data to be populated for any test case. The API is a series of web service calls which update the test data in the data management for the test case, the next time the test is executed. The test will then be performed with the new data pushed from the API. Even if a test has multiple iterations, the API is robust enough to ensure that the value can be updated for the desired iteration and field, not just the first row.
- Integrations: as part of the ongoing CD/CI (Continuous Delivery/Continuous Integration) method of working, Qualibrate can be integrated with tools like Attunity and other release orchestration tools. These tools can slice and dice data pulled from production and pass it on to Qualibrate using the API. Qualibrate can also be triggered to start execution the test suite once the data has been populated.
- Command Line Interface: using Qualibrate CLI, Qualibrate can be integrated with any tool. The CLI can be used to invoke execution of test scenarios on any machine connected to Qualibrate. Test data used for execution can also be manipulated through the CLI.
Advantages of data management in Qualibrate
Qualibrate orchestration, based on an easy-to-use data management system, offers many advantages:
- Increasing test coverage by testing more data more frequently
- Risk reduction: the possibility to change test data at will for instant use in testing provides QA teams with a realistic test environment that has the potential to discover defects which could otherwise remain hidden
- Reduction of redundant test cases: thanks to the modular structure, actions and set of test data can be reused in multiple test cases, avoiding duplication and complexity of automated test scripts.
- Continuous delivery: you can create test scripts when the development of an application is still going on, supporting the agile teams in delivering faster, with better quality.
- Easy to maintain test scenarios: input data are stored in the form of managed text records in the Test Data Management repository. The data sources can be easily added, configured and removed
If you want to see how Qualibrate works you can book your demo here.