I am the lone Perl coder in a QA group. In order to make the others more productive without having to force them to learn Perl (I can't figure out why they don't want to???), I want to write a test engine that reads from files they write using keywords and test data. An example would be:
open browser <optional machine info>
goto <some url>
verify page <some info to verify>
set form <field1=value1,field2=value2,...>
submit form <optional button or image to click>
verify page <some info to verify>
etc...
Each keyword would map to a function or to a file containing other keywords, so that 'add user' might be used as part of multiple test files and the steps to 'add user' would be defined in its own test file.
Does anyone know of a module that handles this type of functionality, the parsing of the keyword-based file and mapping to other files and/or functions?
Alternatively, does anyone have any suggestions on how to go about finding the file that contains the sub functionality like 'add user'? One thing that would be nice is if the keyword module could also handle things like program flow control such as for and while loops, next, last, and if conditionals. I'm probably hoping for something that isn't out there, but I had to ask before tilting at it myself.
Thanks in advance for any info and/or ideas on this one!
"Peace, love, and Perl...well, okay, mostly just Perl!" --me
Apprentice