Automation Framework Generations. – User friendly Tech help

Automation Frameworks in Testing?
nWe 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. 
n
nGenerations of Automation Frameworksn

n

n

n

n

n

n

n

Human Evolution

n

nFirst Generation:-

n

    n

  •  This refers to Record/Replay (Capture/Playback) as publicized by different automation testing tools.
  • n

  •  Thus our 1st generation represents the basic selling point for sales team of automation product companies.
  • n

  •  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.
  • n

  •  In advance it can be applied as Low level or Analog recording modes in UFT or to find the identification properties in Selenium.
  • n

  •  Major flaws of this framework are non reusable code, difficult to maintain and application flow dependent.
  • n

n

nSecond Generation:-

n

    n

  • Also called as Data Driven Framework, as the name indicates it is basically used to run the same test cases with varying test data.
  • n

  • This data can be stored in Datatable( ONLY in UFT) or external databases like Excel, Access(Selenium or UFT).
  • n

  • The idea is to separate coding part from the data portion.
  • n

  • It provides flexibility to tester to modify data easily rather than going to the code part and changing the data at each point.
  • n

n

nThird Generation:-

n

    n

  • It refers to Keyword Driven /Hybrid frameworks .
  • n

  • As the name indicates Hybrid means mix of two or more frameworks.
  • n

  • It can be modular in approach, separate SET of  data and driven by keywords.
  • n

  • This framework summarizes all the above generations, it requires initial application effort but gives long term returns.
  • n

  • 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.
  • n

n

n
nFourth Generation: –
n

n

    n

  • Known with the name MBT (Model Based Testing).
  • n

  • 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. 
  • n

n

Fifth Generation:-

n

    n

  • This is the upcoming framework called as Script less/Codeless Framework.
  • n

  • Approach is to use UI interface to record the objects and build the tests.
  • n

  • 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)
  • n

n

@PhotoCredit

Was this article helpful?
YesNo

Similar Posts