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
Automation testing using integration of Selenium, PHPUnit, Ant and create reports
June 4th, 2012
Garry Executing and Creating Selenium RC automation test cases using PHPUnit (by Sebastian Bergmann)
June 4th, 2012
Garry 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 [...]
Executing and Creating Selenium RC automation test cases using Pear Selenium package
June 4th, 2012
Garry 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 [...]
How to setup Selenium webdriver and execute automation script
May 28th, 2012
Garry 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 [...]
Difference between classic Selenium and Webdriver (part of Selenium 2)
May 28th, 2012
Garry Selenium 1 used Javascript to control browser. It was fine for simple web apps, but the more ajax/other javascript logic was embedded in application the more problems it created. Webdriver (now integral part of Selenium2) uses native browser extension (each browser needs its own implementation) which is controlled by test script. Webdriver tests script can [...]
Drupal- What is the difference between Page.tpl.php and Node.tpl.php in drupal?
October 4th, 2010
Garry 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..
Drupal- How to include a file in drupal template, theme like common Header, Footer
October 3rd, 2010
Garry 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.
Drupal- How to add a drop down menu to your website using CSS SuckerFish Menu
October 3rd, 2010
Garry 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.
Drupal- How to place a “name” attribute anchor link in menu item
October 3rd, 2010
Garry 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-
Drupal- List of Top most useful Drupal Modules, add on modules
October 3rd, 2010
Garry 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 [...]
Drupal- How to disable “Submitted by” author, date in Content Pages, Content Types
October 3rd, 2010
Garry 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.
Javascript Lightweight News Ticker, Scroller CSS Based Customisable
August 29th, 2010
Garry There are many news headline scrollers, tickers available, but, this is a pure javascript lightweight news ticker/scroller for a website. Easy to use and 100% customizable using CSS. Following are the features you can look for in this ticker-
Jquery Scrolling News Ticker, Jquery Headlines Ticker Customizable
August 21st, 2010
Garry 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 [...]
Install PHPUnit On Wamp / Xamp Manually without Pear
May 16th, 2010
Garry 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 [...]
Parse / Read RSS Feed using PHP
December 31st, 2009
Garry 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 [...]
RSS Feed
Twitter
Posted in
Tags: