Data Driven Testing, which allows to automatically run a test case multiple times with different input and validation values. As Selenium WebDriver is more an automated testing framework than a ready-to-use tool. It takes extra efforts to support data driven testing in automated tests.
This is a very often requirement in any automated test to pass data or to use same test again with different data set. And the good part is that the Cucumber inherently supports Data Driven Testing using Scenario Outline. There are different ways to use the data insertion with in the Cucumber and outside the Cucumber with external files.
In this framework, input values are read from data files and are stored into a variable in test scripts. Ddt (Data Driven testing) enables building both positive and negative test cases into a single test.
In Data-driven test automation framework, input data can be stored in single or multiple data sources like xls, XML, csv, and databases.
Testing the Login system:
Approach 1) Create 1000 scripts one for each dataset and runs each test separately one by one.
Approach 2) Manually change the value in the test script and run it several times.
Approach 3) Import the data from the excel sheet. Fetch test data from excel rows one by one and execute the script.
In the given three scenarios first two are laborious and time-consuming. Therefore, it is ideal to follow the third approach.
Thus, the third approach is nothing but a Data-Driven framework.
Why in Fu-VISION?
Fu-VISION PVT LTD, Coimbatore - Pioneers in software training programmes, which has quality training and infrastructure up to the mark of the IT industry requirements. Fu-VISION is a way proud to mention that the Job oriented IT Training is inclusive of platforms that have wider scope in the prevailing and forthcoming IT Job Market. These platforms are picked after a thorough research and analysis based upon the existing and prospective IT industry in mind and Training with Placement Assurance.
PLS CONTACTFOR MORE DETAILS CALL IMMEDIATE: 9360029290 / 9442173717
Fu-VISION TRAINING SOLUTION PVT LTD
COIMBATORE: HEAD OFFICE
NO: 96-A SREE NAGAR,
PALANI AANDAVAR ILLAM, 1nd FLOOR OPP KRISHNA SWEETS,
AVINASHI ROAD, PEELAMEDU,
HOPES COLLEGE BUS STOP,
DIAGONALLY OPP TO GANGA-YAMUNA-KAVERI THEATRE
ABOVE BAJAJ MOTORCYCLES,
GP (100FT ROAD) COIMBATORE-641012
MAIL ID: email@example.com
Website: www.fu-vision.com / www.fu-vision.in
Mobile number: 9360029290