20.08.2015 Views

TestArchitect

LogiGear MAGAZINE

LogiGear MAGAZINE

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

RELATED ARTICLESTest design focused on expeditingfunctional test automationBy David W. JohnsonTest organizations continue to undergo rapidtransformation as demands grow for testingefficiencies. Functional test automation is oftenseen as a way to increase the overallefficiency of functional and system tests. Howcan a test organization stage itself forfunctional test automation before aninvestment in test automation has even beenmade? Further, how can you continue toharvest the returns from your test designparadigm once the test automationinvestment has been made? In this article wewill discuss the factors in selecting a test designparadigm that expedites functional testautomation. We will recommend a test designparadigm and illustrate how this could beapplied to both commercial and open-sourceautomation solutions. Finally, we will discusshow to leverage the appropriate test designparadigm once automation has beenimplemented in both an agile (adaptive) andwaterfall (predictive) system developmentlifecycle (SDLC).Test design - selection criteriaThe test design selection criteria should begrounded in the fundamental goals of anyfunctional automation initiative. Let us assumethe selected test automaton tool will enableend-users to author, maintain and executeautomated test cases in a web-enabled,shareable environment. Furthermore, the testautomation tool shall support test case design,automation and execution "best practices" asdefined by the test organization. To harvest themaximum return from both test design and testautomation the test design paradigm mustsupport:Manual test case design, executionand reportingAutomated test case design, executionand reportingData-driven manual and automated testcasesReuse of test case "steps" or"components"Efficient maintenance of manual andautomated test casesTest design – recommended paradigmOne paradigm that has been gainingmomentum under several guises in the last fewyears is keyword-based test design. I havestated in previous articles that:"The keyword concept is founded on thepremise that the discrete functional businessevents that make up any application can bedescribed using a short text description(keyword) and associated parameter valuepairs (arguments). By designing keywords todescribe discrete functional business events thetesters begin to build up a common library ofkeywords that can be used to create keywordtest cases. This is really a process of creating alanguage (keywords) to describe a sequenceof events within the application (test case)."The Keyword concept is not a silver bullet but itdoes present a design medium that leads toboth effective test case design and ease ofautomation. Keywords present the opportunityto design test cases in a fashion that supportsour previous test design selection criteria. Itdoes not guarantee that these test cases willbe effective but it certainly presents thegreatest opportunity for success. Leveraging atest design paradigm that is modular andreusable paves the road for long termautomation – not only that, it moves most ofthe maintenance to a higher level ofabstraction: the keyword. The keyword nameshould be a shorthand description of whatactions the keyword performs. The keywordname should begin with the action beingwww.logigearmagazine.com Page 6 of 14 January 2011 | Volume V

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!