The definitions of “marketing framework” can be understood as a visual representation or a logical flow of your marketing plans and strategies.
In general, a framework is a concept of a structure that is intended to serve or support or guide for business to building something that expands the structure into something useful. Depends on that, definitions of the word “marketing framework” can be understood as a visual representation or a logical flow of your marketing plan. |
In this post, I will show you how to implement Data Driven Framework in your business. Maybe you’ll reach the new concepts of Selenium Web Drive. But don’t worry, you’ll know them clearly through this article.
And if you don’t know about what Data Driven is? Please take a look at this previous post. What is data driven marketing? Why Data-driven Marketing is Important?
The data-driven framework is a different way of saying different types of frameworks. Data in an application flow across different modules and layers of the application. It allows us to create test automation scripts bypassing different sets of test data.
The test data set is kept in the external files or resources such as MS Excel Sheets, MS Access Tables, SQL Database, XML files, etc., By using this framework we could easily make the test scripts work properly for different sets of test data. In this post, we’ll focus on test data, we would talk about how to input and output data through an Automation framework.
We usually place all our test data in excel sheets which we use in our test runs. Assume, we need to run a test script (Say, login test) with multiple test data. If we run the same test with multiple test data sets manually is time-consuming, and error-prone.
In general, data driven framework is used in financial and healthcare sector as an important piece of IT system.
In fact, we usually already have data in an existing format. And then we want to reuse set values during Automation. It’ll bring to different data formats. The number of layers in an integrated application, depending on data at each layer. It can become tricky as each layer managed by a different team. Each team has different timelines and priorities.
So, we already have capabilities to parse data in the following formats.
In simple words, we adopt Data Driven Framework when we have to execute the same script with multiple sets of test data.
The words “Data-driven testing” means a way of running test scripts repeatedly, using data stored in some external file or storage location. The storage location can be any database, an XML file, a spreadsheet, etc. Then whenever we need to run the test script, we may do so by using these input data iteratively. The process of Data-Driven Testing was described in the image below.
A test automation tool is simply a framework or in simple terms, it can be thought of as a zone that has its own set of specifications. The automation tool has its own set of coding standards, ways to handle tests, etc.
|
Input/Output from and to a file is a very critical part of the software testing process. Hence the concept of using inputs from external data sources proves to be an advantage. The major benefit that it offers is, one has the option of saving input values in any data source of their choice, as our automation framework offers the necessary drivers associated with a specific data source. Thus data-driven testing in automation is quite maintainable and efficient.
Do you have any questions about data driven framework? Let us know in the comments below.