I have some experiences in generic programming in python and .Net but I'm quite new to ruby. I want to test a web app using watir. There are many forms with similar structure which have to be filled with data. So my idea was to create a YAML file which holds the location of a form, the type of the form and the data to be filled in.
My problem is, that I don't see on how to create dynamicaly a single test for each entry in the yaml file!? Am I not yet thinking in ruby? Could somebody guide me to the right direction on how to solve this task?
I have some experiences in generic programming in python and .Net but I'm quite new to ruby. I want to test a web app using watir. There are many forms with similar structure which have to be filled with data. So my idea was to create a YAML file which holds the location of a form, the type of the form and the data to be filled in.
My problem is, that I don't see on how to create dynamicaly a single test for each entry in the yaml file!? Am I not yet thinking in ruby? Could somebody guide me to the right direction on how to solve this task?