I am new to MTF. I have followed the magento2 tutorial based on the following link

But When I am running the command


I am getting the following error -

Fatal error: Uncaught PHPUnit_Extensions_Selenium2TestCase_WebDriverException: nable to create new service: ChromeDriverService Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:13:22 693Z' System info: host: 'WTW-HP', ip: '', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '10.0.2'

Driver info: driver.version: unknown in C:\wamp64\www\magento2252\dev\tests\func tional\vendor\phpunit\phpunit-selenium\PHPUnit\Extensions\Selenium2TestCase\Driv er.php:165 Stack trace:

0 C:\wamp64\www\magento2252\dev\tests\functional\vendor\phpunit\phpunit-seleniu

m\PHPUnit\Extensions\Selenium2TestCase\Driver.php(71): PHPUnit_Extensions_Seleni um2TestCase_Driver->curl('POST', Object(PHPUnit_Extensions_Selenium2TestCase_URL ), Array)

1 C:\wamp64\www\magento2252\dev\tests\functional\vendor\phpunit\phpunit-seleniu

m\PHPUnit\Extensions\Selenium2TestCase\SessionStrategy\Isolated.php(67): PHPUnit _Extensions_Selenium2TestCase_Driver->startSession(Array, Object(PHPUnit_Extensi ons_Selenium2Test in C:\wamp64\www\magento2252\dev\tests\functional\vendor\phpun it\phpunit-selenium\PHPUnit\Extensions\Selenium2TestCase\Driver.php on line 165

My goal is to learn the MTF and integrate the tests into My custom module

  • 1
    First of all, Windows is not a support env for Magento 2. Still, if you want to run on windows, you need to update to chrome-driver from the binaries available at Google, and setup Selenium Server. Dec 9 '19 at 12:37

You need to install chrome drivers for selenium.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.