Simple Data Driven Framework script
Why use Data driven Framework? We go for data driven framework, to test application behavior for different sets of data. So in this, script remains the same only the data on which the script will work changes as manual testing scenarios. One basic example would be to test login functionality. Typical test case for login functionality have the test cases wherein only data changes are present and basic steps remain the same. Example basic login test cases: Verify that for valid credentials, user is granted access to system. Verify that for invalid credentials, user is denied access to system. Verify that after successful login user is presented with correct landing page. Basic steps in all above test cases would as given below: Navigate to Application Under Test URL Enter user name Enter password Click on Login/Submit button Verify result When above scenario is to be automated then the best solution is to implement it using Data Driven Framework. ...