-
Notifications
You must be signed in to change notification settings - Fork 185
Testing
Jan Odvarko edited this page Aug 3, 2015
·
1 revision
How to run automated HAR Viewer tests using Selenium.
- PHPUnit 3.0 - http://www.phpunit.de
- Selenium - http://pear.php.net/
- Java 5 (1.5.0) is needed for Selenium RC - http://java.sun.com
- Selenium Remote Control (RC) - http://openqa.org/
- Set your HAR viewer server base path in selenium/tests/config.php, e.g.:
$harviewer_base = "http://legoas/har/viewer/";
- HAR Viewer must be installed on your server in
/har/viewer/
directory, e.g:http://<your-domain>/har/viewer/
- Run Selenium using:
selenium/start-server.bat
- Change directory to:
cd selenium/tests/
- Run PHP tests:
phpunit allTests.php