I created a datadriven test with 3 iterations. Then I've broken it into different submodules and saved them as separate scripts. Then I called those scripts from the main script to run data driven test again. When it ran, the first subscript did not retrieve any data from the first iteration of the data table. Can someone suggest how to make it read the actual values from data table when data driven test ran with call statements to other sub scripts?
Check that the variables that you are using for the datasheet contain valid values in the Called Scripts.
Debug the script and check what value is returned by the first ddt function in your called script
</font><ul type="square">[*]<font size="2" face="Verdana, Arial, Helvetica">I created a datadriven test with 3 iterations. Then I've broken it into different submodules and saved them as separate scripts.</font>[/list]<font size="2" face="Verdana, Arial, Helvetica">
Hey this is the first step what frameworks make the same. So why not try a library of funktions to make your moduls handy and get a step into Keyword/data driven tests.
Just ask arraund. Some solutions are here available for free.
... and frameworks are Carsten's business! [img]images/icons/smile.gif[/img] He can talk frameworks with you until the cows come home, leave, and then come home again! [img]images/icons/smile.gif[/img]
Then I need carsten for a long (and fruitful) talk.
I am thinking of implementing a framework ( I mean no research but real work product of the task). So Carsten have you implemented any framework which is really being used in industry?