Skip to main content

Using of data-driven framework in automation web or mobile testing


Software testing is increasingly getting complex and tough given the challenging business scenarios. Application Testers are under pressure to adopt proven test automation methods and techniques to improve the quality of testing outcomes. Amongst the many types of test automation frameworks practiced by the professionals, data-driven test automation stands out.
When the input and output values for the test are fetched from data files which are saved outside the testing script, which can be Excel files, CVS files, ADO objects, DAO objects or any ODBC source etc. you are adopting a data-driven automation framework for your testing. To sum it, the Test Scripts retain the test case logic, while the Test Data is disparate and present outside.  

What’s the benefit of using data-driven testing framework?
  • Re-use of Code, leading to increased efficiency and faster execution
  • Test Data remains unaltered, in spite of changes in Test Scripts
  • Possibility to test a variety of test scenarios by just varying the Test Data in external file. 
 Example of using data-driven framework in automated web testing is discussed here http://services.focusinfotech.com/data-driven-framework/

Comments

Popular posts from this blog

Identify Web Elements using Selenium Xpath Locator

As we all know, Web elements are present diversely (Dropdown, Check Box, Text Box, Radio Button, etc.) in a Web page. And locators are our saviours, right from helping us identify a Web element uniquely within the page to enunciate its HTML properties and informing Selenium about the action to be performed. For example, the Dropdown mandatory field “Highest Qualification” is not with Select Class in the Web page. It is difficult to find the Web element for that field. To resolve this, one may use Xpath Locator and find the element for the “Highest Qualification” field. Also they should try to select the Dropdown field value “Masters” making use of the Action Class. You can find the script but in that, using the Action Class to find the element for the mandatory “Highest Qualification” field will not be fruitful. You may have to apply the Contains text method to find out the element for the Xpath. Identifying Web elements is always a sensitive area and mandates a pr...

Future Focus Infotech Digital Business & Transformation | Introduction

About Us Future Focus Infotech Pvt. Ltd. (FFI) – an established IT solutions provider for 20 years – offers innovative software services . Resources define the competency of an IT services organization and we have proven track record of operating a successful offshore/onshore model. The US office (Focus America Inc) was established in 2000 and the UAE (Future Focus Infotech FZE) in 2011. Our large pool of resources include 3,500+ skilled/trained employees in IT Solutions and Infrastructure Management – who are available offshore in India, US, and UAE with a “ready-to-serve” attitude. With such a diverse presence, we are successfully expanding into other markets proving ourselves as a global professional services firm. A unique combination of our quality processes, information security standards and ISO certifications brings us repeat business for high-class projects from our Tier 1 clients. Being ISO 9001 certified since 2005, our approach is always quality led. Our Qualit...

Manual Testing Vs Automated Testing

Software testing is done to ensure a defect free application while meeting all the requirements in terms of quality, functionalities and performance as laid in the SLA. However, as the testing parameters get complex software testing gets tougher and challenging. Accurately deciding the testing option, whether Manual or Automated, is easier said than done. Let’s see what they offer. In manual testing, test cases are executed manually without any support from tools or scripts. It is a process in which the software’s features and functionalities are tried like an end user to find whether it meet the goals. On the other hand, Automated testing is executed with the help of software tools, scripts and is performed by repeating pre-defined actions. It is more reliable with high degree of accuracy compared to manual testing.  You can execute test cases significantly faster as multiple tests can be run in parallel, made possible by distributing test cases across di...