There are various types of Automation frameworks in the automation testing world as mentioned @Softpost.org
One of them is Data driven framework. This kind of framework is used when we need to test same application flows using different combinations of data. Different types of applications need different types of frameworks. We must use Data driven framework in a situation where there are limited number of Application flows but there is wide variety of data that is consumed by application.
For example - Consider a simple register functionality of a website. You need to verify that password should meet below criteria.
What do you think on above selenium topic. Please provide your inputs and comments. You can write to me at reply2sagar@gmail.com
One of them is Data driven framework. This kind of framework is used when we need to test same application flows using different combinations of data. Different types of applications need different types of frameworks. We must use Data driven framework in a situation where there are limited number of Application flows but there is wide variety of data that is consumed by application.
For example - Consider a simple register functionality of a website. You need to verify that password should meet below criteria.
- At least 8 characters in length
- Should contain alphanumeric characters
- Should contain at least one non-alphanumeric character.
- Should contains at least one lower case and one upper case letter.
All we need to do to test this functionality is write simple test which will enter values in the password textbox and verify if the password test passes. In this scenario, all steps are same except test data. That is when we should Data driven frameworks. We can store data in either excel sheet or database.
Test reads each set of data and repeats same steps.
The main difference between keyword driven and data driven frameworks is that in keyword driven frameworks we have multiple application flows and operations. Generally, in most of the projects hybrid frameworks are used as application has multiple flows and various combinations of data at the same time.
What do you think on above selenium topic. Please provide your inputs and comments. You can write to me at reply2sagar@gmail.com
No comments:
Post a Comment