Hi,
Great, that there is some further discussion and progress in Selenium testing going on.
However, up to now I have been following the manual at [1] which Markus Glaser has updated
recently but which now is out-of-date. I have figured out some of your changes and almost
got the framework working. But still, SimpleSeleniumTestSuite/SimpleSeleniumTestCase do
not work due to a "call_user_func_array()" error. Apparently, some methods
cannot be found.
I was wondering whether it would be possible to update the manual at [1] if there are any
changes to the framework concerning its usage.
Regards,
Benedikt
--
Karlsruhe Institute of Technology (KIT)
Institute of Applied Informatics and Formal Description Methods (AIFB)
Benedikt Kämpgen
Research Associate
Kaiserstraße 12
Building 11.40
76131 Karlsruhe, Germany
Phone: +49 721 608-7946
Fax: +49 721 608-6580
Email: benedikt.kaempgen(a)kit.edu
Web:
http://www.kit.edu/
KIT - University of the State of Baden-Wuerttemberg and
National Research Center of the Helmholtz Association
-----Original Message-----
From: wikitech-l-bounces(a)lists.wikimedia.org
[mailto:wikitech-l-bounces@lists.wikimedia.org] On Behalf Of Mark A. Hershberger
Sent: Tuesday, September 07, 2010 5:15 AM
To: Wikimedia developers
Subject: Re: [Wikitech-l] Selenium Framework - test run configuration data
Dan Nessett <dnessett(a)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.
--
http://hexmode.com/
Embrace Ignorance. Just don't get too attached.
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l