Categories
Uncategorized

Automation Framework Generations.

Automation Frameworks in Testing?
We can divide automation frameworks into below major categories it is like different generations of evolvement of Computers, on the same track we can define various improvements in automation testing as generations of Automation frameworks. 

Generations of Automation Frameworks

Human evolves like Framework
Human Evolution


First Generation:-

  •  This refers to Record/Replay (Capture/Playback) as publicized by different automation testing tools.
  •  Thus our 1st generation represents the basic selling point for sales team of automation product companies.
  •  In reality this mode is never used, in case it may be applied at beginner learning level, to check the coding generated by tools like UFT/Selenium or how tool works.
  •  In advance it can be applied as Low level or Analog recording modes in UFT or to find the identification properties in Selenium.
  •  Major flaws of this framework are non reusable code, difficult to maintain and application flow dependent.


Second Generation:-

  • Also called as Data Driven Framework, as the name indicates it is basically used to run the same test cases with varying test data.
  • This data can be stored in Datatable( ONLY in UFT) or external databases like Excel, Access(Selenium or UFT).
  • The idea is to separate coding part from the data portion.
  • It provides flexibility to tester to modify data easily rather than going to the code part and changing the data at each point.


Third Generation:-

  • It refers to Keyword Driven /Hybrid frameworks .
  • As the name indicates Hybrid means mix of two or more frameworks.
  • It can be modular in approach, separate SET of  data and driven by keywords.
  • This framework summarizes all the above generations, it requires initial application effort but gives long term returns.
  • This is frequently implemented framework in the  testing world.We all know as there are no predefined set of guidelines for any framework and we as testers apply the most robust framework, mixed with our own flavors as per the project requirements.



Fourth Generation: –

  • Known with the name MBT (Model Based Testing).
  • Key approach is focusing on building a model, with specified input test data, estimated output results, run the tests and after running compare actual with expected result to decide the future course of action. 

Fifth Generation:-

  • This is the upcoming framework called as Script less/Codeless Framework.
  • Approach is to use UI interface to record the objects and build the tests.
  • The key to a 5th gen framework is building the pieces in memory at runtime.Like object building using Descriptive Programming in UFT(browser.page.object)

@PhotoCredit

Leave a Reply

Your email address will not be published. Required fields are marked *