Monthly Archives: December 2013

Using HttpUnit

First Download Apache from Configure Apache for Eclipse by following the below steps:     (i)Go to Windows->Preferences->Servers->RunTime Environment. (ii)Click Add->Apache Tomcat v7.0 and specify Tomcat Installation Directory. After this start the server as below: Go to Windows->Show View->Servers. You … Continue reading

Posted in Uncategorized | Leave a comment

Webdriver with Java basic code

package test; import org.openqa.selenium.*;import org.openqa.selenium.firefox.FirefoxDriver;import org.openqa.selenium.htmlunit.HtmlUnitDriver; /** * @author asharda * */public class Example { public static void main(String[] args) { WebDriver driver = new FirefoxDriver(); driver.get(“”); System.out.println(driver.getTitle()); driver.close(); } }

Posted in Uncategorized | Leave a comment