Automation Framework or Approaches depends on Application and Test Cases. So most of the time we cannot standardize any specific framework. In short any approach is best in automation if it has below properties:
1)Less Maintainance
2)Easy to Debug and Understandable
3)Reusable
Now for your scenario:
Use Datatable to store the inputs and being as a automater code all the scenarios in such a way so that whatever inpits BA or QA provides,it should run and give proper results.
Its true that it will need more coding part but this will help BA /QA to execute the scripts without any issues.They don't need to bother about code,only thing they need to provide correct information.
Do let me know if anything worng or not clear.
~Regards:
1)Less Maintainance
2)Easy to Debug and Understandable
3)Reusable
Now for your scenario:
Use Datatable to store the inputs and being as a automater code all the scenarios in such a way so that whatever inpits BA or QA provides,it should run and give proper results.
Its true that it will need more coding part but this will help BA /QA to execute the scripts without any issues.They don't need to bother about code,only thing they need to provide correct information.
Do let me know if anything worng or not clear.
~Regards: