Dan Nessett dnessett@yahoo.com writes:
Last Friday, mah ripped out the globals and put the configuration information into the execute method of RunSeleniumTests.php with the comment "@todo Add an alternative where settings are read from an INI file." So, it seems we have dueling developers with contrary ideas about what is the best way to configure selenium framework tests.
I'm opposed to increasing global variables and I think I understand Tim's concern about configuring via a PHP file.
I plan to start work on reading the configuration from an INI file (*not* a PHP file).
Either approach works. But, by going back and forth, it makes development of functionality for the Framework difficult.
I agree.
The idea I was pursuing is to encapsulate configuration in a Selenium object that (right now) RunSeleniumTests.php will set up.
Platonides suggestion of a hook to provide configuration is also doable.
Mark.
Embrace Ignorance. Just don't get too attached.