Monday, January 9, 2012

Test Automation Framework - Generation 2

Second Generation : by creating a framework


Work with test specialists to understand
their testing needs
• Go beyond acceptance/regression tests--
Analyzing user-scenario test cases
• Recognize the difference between task driven and object-driven test cases


Object-Driven Framework

– Click User Name text box
– Enter your_ID
– Click Password text box
– Enter your_password
– Click Login button


Task-Driven framework

– Log in using
• User Name = your_ID
• Password = your_password


Pre-separating data and code
– Start by defining functions to be written
– Variablize data and keep variables in INCLUDE files
• Pair up a test specialist and an automation
engineer to improve communication and to
ensure that the framework design and
implementation meet the test objectives
• Train test specialists to run test scripts