Skip to content

Lesson 8 Topic 1 Features

This article is a part of the Self-paced Learning Series for the Course: First-Hand Experience of Worksoft SaaS.

Please refer to the link for more details on the Course.
 Introduction of Worksoft SaaS Feature/Concept :: Lesson 8 :: Topic 1


1. Data Filters
Data Filters help you to 'dynamically' feed a subset of data rows from the Data File while executing the tests. This way you will be able to use multiple data filters on the same data file instead of maintaining multiple data files.

For example, in an eCommerce application, if you are testing on multiple sites like US & Canada and let's say you have a single data file that contains Data Definition attributes like Country(Site Code), Product Category, State, Zip Code, and Tax %, then you can create one Data Filter for US and another data filter for Canada and apply on the same data file for executing tests on US and Canada sites using their respective test data.

Data Filters are used on attributes within the Data Definition and each attribute can have multiple filters.

A Filter is built using a combination of attributes and operators (hyperlink to Data Filters - Operators), that are applied to the values.

We can also use multiple attributes on the Data Filter with the help of logical operators (and/or)

There is also a Variable field, which helps in passing the values into the Data Filter and we will discuss this feature in the next Lesson.


2. Verify if your Data Filter works
It is strongly recommended for you to appropriately verify that the results of the Data Filter you created, match your expectations; this feature helps you accomplish that.

The Data file dropdown displays a list of those data files for which the Data Definitions are applicable. (This is generally the reason why you may not find a Data file you're looking for in this list).

Once the Data file is selected, you can view the filtered data by clicking 'Show Filtered data' and also view the unfiltered data by clicking the (image) button.

It is also recommended that the data filter is verified against as many relevant data files as possible before the filtered data file is bound to a Test Scenario or a Run Definition.


Feedback and Knowledge Base