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 [...]
Archive for the ‘Web 2.0’ Category
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 [...]
Download and install latest Java JRE (if does not exist on your system) Make sure you have installed PHP and its path is set in your environment so that you can execute php through command prompt. For reference check step 3 and 4 of article http://www.unclecode.com/2010/05/install-phpunit-on-wamp-xamp-manually-without-pear/ Download Selenium server and start the server through following [...]
Selenium 2.0 includes selenium web driver compatible version. Download Selenium 2.0 from http://seleniumhq.org/download/ Install Java JRE, JDK is not required until you want to create Java programs Check java version- java –version on command prompt, to be sure you have java installed Start selenium through command prompt: java -jar selenium-server-standalone-<version-number>.jar You can also Stop Selenium [...]
There is a very basic question which everyone asks that what is the basic differences between node.tpl.php and page.tpl.php? Page.tpl.php This template holds the wireframe of the webpage/website like- blocks, regions, header, footer, css, js files and most importantly “main content” etc..
Here is how you can include a common header, footer in drupal- <?php include ($directory.”/includes/header.php”); ?> “$directory” is a variable automatically available in Drupal which holds the value of a path to your currently executed theme.
A drop down menu can be easily added to you website using basic CSS. Here we will explain that how to add a drop down menu to your drupal theme using one of the best menu system available- SuckerFish Menu.
If you are trying to place a “name” attribute in menu hyperlink then this can be accomplished by declaring a function in your template.php file as below-
When I started with drupal I installed number of modules which can be helpful in achieving a particular task. I am just listing down the top most important modules which are required for a full fledged website development using CMS- Drupal- There are no download links provided for some of the modules but they can [...]
This can be easily disabled in Themes Global Setting configuration found at- Go to Admin -> Themes -> “Configure” Tab -> Global Settings. You can find the settings in this section.
Jquery has become very popular script and first choice of many developers world wide. It is easy use, implement and shows a powerful play with few lines of code. Corporate websites always has a demand of displaying latest company news in website mostly on home page or header. This scrolling script can be easily modified [...]
All over the internet you can hundred of articles dealing with the installation of PHPUnit with Pear but rarely you will find any help for manual installation of PHPUnit with PHP or Wamp or XAMP on windows without installing Pear. There is no difference for the installation of PHPUnit if you have only PHP working [...]
Reading any RSS feed using PHP is not a complex job. RSS feed is also a kind of XML with information defined in a pre-defined format. So the task is simple. We need to read the remote RSS file, parse the XML and display the content. Thats it!!! I have observed that programmers these days [...]