Frame Work is the model or structure we follow for a Project. It is the approach that we follow to automate the Project. There are so many types of framework in QTP. 1. Datadriven frame work 2. Keyword driven frame work 3. Module driven framework 4. Hybrid driven frame work The framework you choose, depends on the model of your Project. Usually most of projects fall under hybrid driven frame work. Datadriven framework:
Here we divide the entire project in to modules and start automation by writing data driven scripting for each one of them. We will have test data either in excel sheet or flat files or from database...we will pass that test data in to the script and perform data driven testing.
Keyword driven framework: Firstly we should add the objects to repository( Shared repository is preferable) Then we can generate/write scripts for each functionality and save them as the library files ( .vbs files) Then we have to associate all these library files(which are generated to test different funtionalities) to Quick Test. Module driven frame work:
we will divide entire project in to modules and write functions or procedures for each and every module and automate the project.
Hybrid driven framework:
it is combination of Datadriven and module driven framework
No comments:
Post a Comment