Lesson 8 Topic 2 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 2
1. Using Data Filter Oerrides in Test Scheduler
If we want to override the Data Filters at the Run time, the Test Scheduler has an option to override Data Filters as well, this helps us to use multiple data filters on the same Data File for multiple purposes either simultaneously or sequentially or selectively.
A Business use-case for this is let's say, in an eCommerce application, 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. If you want to apply the Data Filters for US & US either simultaneously or sequentially, then, the Test Runner/Scheduler is very useful.
The structure of the data inputs is current Data File details, replacement Data File details and current Data Filter details, replacement Data Filter details, which is in JSON format.
In case any changes are made to the Data File or Data Filter in the Bind Summary screen, it is important to remember that you update the value.
When the tests are executed using the Test Scheduler, it will override the values at the Run time but not replace the values in the original source (in this case, Data Filters).