I am currently working with QTP Automated testing..
People generally follow a crude approach with just start to write functions without design. This type of coding finally ends in a crappy test suite which does not work after some time. hence the approach should be well formed and designed, this design is called framework.
Automation Framework in qtp are mainly modular, data driven,keyword driven and hybrid.
Modular is just modularizing your code into different functions.
Data driven is the input are driven by the data.
Keyword driven is writing keywords which will drive your code.
keywords are generally a common english words which are used to call a chunck of code.
e.g. you write keywords in excel file which will drive your or call the specific functions in the code.
now keywords can be written at very low level like "Click_on_button" or at application business level like Login,create_message, verify_message etc..
people ususally use a mixture of keyword and data driven approach which is also called as a hybrid framework.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment