My question is about phpunit+selenium usage.
The standard usage of this union is
class BlaBlaTest extends PHPUnit_Extensions_SeleniumTestCase
{... }
OR
class BlaBlaTest extends PHPUnit_Extensions_Selenium2TestCase
{...}
The first one (PHPUnit_Extensions_SeleniumTestCase
) is not very convinient to use
(e.g. there is no such thing as $this->elements('xpath')
).
Second(PHPUnit_Extensions_Selenium2TestCase
) also has limited functionality
(e.g. there is no such functions as waitForPageToLoad()
or clickAndWait()
,
and using something like $this->timeouts()->implicitWait(10000)
looks for me like
complete nonsense).
Is it possible to use the functional
PHPUnit_Extensions_SeleniumTestCase + PHPUnit_Extensions_Selenium2TestCase
in one test class? Maybe smb knows good alternatives to phpunit+selenium?