O'Reilly logo

PHP Application Development with NetBeans Beginner's Guide by M A Hossain Tonu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action — running tests with Selenium

Let's run tests with Selenium through the following steps:

  1. To install the plugin, open Tools | Plugins, and install Selenium Module for PHP.
  2. In the Projects window, right-click on the project node for your Calculator project. Select New | Other. The New File wizard is opened. Select Selenium and click on Next.
    Time for action — running tests with Selenium

    The first time you create a Selenium test, a dialog box opens, asking you to set a directory for the Selenium test files. This should be a separate directory from the PHPUnit test files; otherwise, the Selenium tests will run every time you run unit tests. Running functional tests, such as Selenium, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required