1/14/2016
- Datatable Driven - Excel has web elements and data used for the web element
- Keyword Driven --Excel has business component methods and respective web elements(double check)
- Hybrid level - combination of datadriven and keyword driven
Normally Framework has list of folders, so that you could categorize your code and put it in seperate folder for easy understanding.
- RunManager. This is an excel file that has 'Yes' or 'No' for each test case.
- Datatable. This has keywords of web elements and also the test data for each web element.
- Business components. This has functional and verification components. Each component has only methods declared, for each business flow like for login, apply, logout etc. Does this have java files each with multiple classes ???
- Pageobjectclasses. This has implemented methods for the web elements in a specific page. These method names matches with the methods mentioned in the Business components.
Additional things framework will have is:
- Parallelthreadclasses
- Property configuration files
- Datatable Driven - Excel has web elements and data used for the web element
- Keyword Driven --Excel has business component methods and respective web elements(double check)
- Hybrid level - combination of datadriven and keyword driven
Normally Framework has list of folders, so that you could categorize your code and put it in seperate folder for easy understanding.
Folders include in Framework:
- Allocator. Main class the execution will start with.- RunManager. This is an excel file that has 'Yes' or 'No' for each test case.
- Datatable. This has keywords of web elements and also the test data for each web element.
- Business components. This has functional and verification components. Each component has only methods declared, for each business flow like for login, apply, logout etc. Does this have java files each with multiple classes ???
- Pageobjectclasses. This has implemented methods for the web elements in a specific page. These method names matches with the methods mentioned in the Business components.
Additional things framework will have is:
- Parallelthreadclasses
- Property configuration files
Is Page Object Model a framework?
ReplyDeleteNot sure if POM is a framework. But I remember when I worked on POM, I had following following folders and clases in it.
Delete- Pages
- Setup
1. Driver Script class
2. Excel access and reader class
-