120 likes | 291 Views
How others do Automated Testing. CA Plex Track - 3:15pm-4:00pm Wednesday, November 13, 2013. George Jeffcock. Agenda. Introducing Black/Grey/White box automated testing Free / Open s ource initiative / Register to down load group model Don’t expect Bells and Whistles
E N D
How others do Automated Testing CA PlexTrack - 3:15pm-4:00pm Wednesday, November 13, 2013 George Jeffcock
Agenda • Introducing • Black/Grey/White box automated testing • Free / Open source initiative / Register to down load group model • Don’t expect Bells and Whistles • Expect to control the execution of tests and the comparison of actual outcomes to predicted outcomes. • Go to www.stellatools.com • Model API • AutoTestBox • Tricks and Tips
Outline • Overview of Automated Testing • Overview of technical solution • Demo using \Documents\CA\Plex\X.X\Samples\Library Books • Limitations – Wish List • Q&A
Overview of Automated Testing “Why Automate Testing?” could be written as “Why test?” • http://lmgtfy.com/?q=why+automate+testing • Anecdotal • Knowledge Transfer • “How do I test this function” • “What data do I need to pass this function” • “What is this function used for” • Documentation • File Changes • Improves Error Handling
Overview of technical solution • http://www.stellatools.com/autotestbox • Issue • How to support calling java, winc, winnt, rpg, .net (Dynamic fnc call) • Parameter Marshalling • Support Versions • Support multiple database connections • Solution • Power of CA Plex: ability of WinC to call all platforms and Dynamic Partitioning • WinC stub/wrapper or Runtime source • Dedicated database • Fnc Interface • Tests (4 hierarchical design: Suite / Case / Test / Step) • Input data • Record predicated outcome vs actual outcome
Overview of technical solution • ATB Stub • StellaTools group model added as library or imported • WinC scoped to Test function • Register scoper function interface • Test Runtime: fetch input and record output • Test Runtime: Call scoperfnc
Overview of technical solution • ATB Stub Wizard • 4 Steps • Validate • G&B Stub • Register Interface • Set Default Data • No source editing • No manual steps • Invoked by Add-in • Some interesting stuff under the covers… • http://www.stellatools.com/autotestbox/stub-wizard/stellawiz1
Overview of technical solution • ATB Application • Lets get to the DEMO already! • For post conference simply visit www.stellatools.com and YouTube clips are everywhere
DEMO Samples\Library Books
Limitations – Wish List • Limitations • CA Plex 6.1 Build35 and onwards. • Model API • https://support.ca.com/irj/portal/anonymous/kbproblem?productcd=CPLEX&problemnbr=1859 • Structured Fields • Input Arrays • Future Goals • Life back! • CA Certified • User group, Open source initiative • Commitment Control • Bells and Whistles!
Tip • Back up your AutoTestBox databases