Skip to content

Instantly share code, notes, and snippets.

@deepaknverma
Created February 11, 2015 00:29
Show Gist options
  • Save deepaknverma/ca2b0363a92fc6d4f604 to your computer and use it in GitHub Desktop.
Save deepaknverma/ca2b0363a92fc6d4f604 to your computer and use it in GitHub Desktop.
JAVA-JDK ( software development kit)
apt-get install openjdk-7-jdk
---------------------------------------------------------------------------------------------------------------
INSTALL SELENIUM
mkdir /home/ubuntu/selenium
cd /home/ubuntu/selenium
http://selenium-release.storage.googleapis.com/2.41/selenium-server-standalone-2.41.0.jar
--------------------------------------------------------------------------------------------------------------
RUN SELENIUM STANDALONE SERVER
to run rc server:
java -jar selenium-server-standalone-2.41.0.jar
------------------------------------------------------------------------------------------------------------
WEBDRIVER FRAMEWORK
phpUnit: --------------------->
we will use php unit but you can use anything according to programming language you using like junit for java
sudo apt-get install curl libcurl3 libcurl3-dev php5-curl php5-cli php-pear
sudo apt-get install phpunit
sudo pear upgrade pear
sudo pear channel-discover pear.phpunit.de
sudo pear channel-discover components.ez.no
sudo pear channel-discover pear.symfony.com
sudo pear install --alldeps phpunit/PHPUnit
jUnit: -------------------------->
sudo apt-get install junit
you might need to compile junit which is stored in /usr/share/java/
java -cp .:/usr/share/java/junit4-4.10.jar TestBasicLinkedList
---------------------------------------------------------------------------------------------------------------
now include the library in your test suite and start writing test cases
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment