Posts Tagged ‘PHP’

Tutorial on how to create a theme in Drupal or create custom theme in Drupal

Tutorial on how to create a theme in Drupal or create custom theme in Drupal Following is the step by step guide to create a theme in drupal. Lets say name of your new theme is “mytheme“. Where to place the theme? All custom themes are generally places in “sites/all/themes/” folder. Create a “themes” folder […]

Automation testing using integration of Selenium, PHPUnit, Ant and create reports

Prerequisites for the integration of automation suit Selenium, PHPUnit and Ant are as below- http://www.unclecode.com/2010/05/install-phpunit-on-wamp-xamp-manually-without-pear/ http://www.unclecode.com/2012/05/how-to-setup-selenium-webdriver-and-execute-automation-script/ http://www.unclecode.com/2012/06/executing-and-creating-selenium-rc-automation-test-cases-using-phpunit-by-sebastian-bergmann/ Install Ant Download ant from http://ant.apache.org/bindownload.cgi “zip” file for windows. Follow all the steps for installation http://ant.apache.org/manual/install.html and  also optionally install the libraries as mentioned Automation testing using integration of Selenium, PHPUnit and Ant Run Selenium through command […]

Executing and Creating Selenium RC automation test cases using PHPUnit (by Sebastian Bergmann)

Setup PHPUnit framework http://www.unclecode.com/2010/05/install-phpunit-on-wamp-xamp-manually-without-pear/ assuming PHP 5.2.x is already installed in your system. If not download wamp to install PHP or browse php.net download section to install PHP. Make sure your PHP path is set in your environment so that you can execute PHP through command prompt. For reference check step 3 and 4 of […]