AutomationCampus

AutomationCampus Learn Selenium ,Selenium Tutorial, Selenium Training for Beginners, WebDriver Tutorial , QTP Tutorials

04/07/2016

Hello Automation Engineers,

In order to make it easy for everyone to share and discuss day to day challenges faced in Automation as well as anything new happening in the field of automation. We have created a whatsapp group .Where professionals from many different MNCs discusses and share their knowledge .

Those Interested and want to be a part of the group can message their , Contact Details either in the comments section below or
can send me a text on +91 9643711690.

Thanks ,
Automation Campus

Setting Up Selenium RC on your System and writing first test script is Selenium RC using Javahttps://www.youtube.com/wat...
09/08/2014

Setting Up Selenium RC on your System and writing first test script is Selenium RC using Java

https://www.youtube.com/watch?v=1rU5JOv8aJM

Selenium Tutorial 1, Selenium RC Tutorial 1, Online Selenium Training

Setting Up Selenium WebDriver Introducing WebDriverThe primary new feature in Selenium 2.0 is the integration of the Web...
05/08/2014

Setting Up Selenium WebDriver

Introducing WebDriver
The primary new feature in Selenium 2.0 is the integration of the WebDriver API. WebDriver is designed to provide a simpler, more concise programming interface in addition to addressing some limitations in the Selenium-RC API. WebDriver’s goal is to supply a well-designed object-oriented API that provides improved support for modern advanced web-app testing problems.

How WebDriver is different from Selenium RC
1.) Has Wider range of APIs.
2.) Interacts directly with native automation of browser.
3.) No server start is required.
4.) Can test Iphone and Android Apps .
5.) Implements HTML Unit Driver which makes Ex*****on really fast.

Pre-Requisites to set up Selenium Webdriver on System.
1.) Install Java 6 or above.
2.) Install Firefox
3.) Eclipse IDE.
4.) Download Selenium Webdriver APIs

Steps to set up Webdriver.
1.) Open Eclipse and create a new project.
2.) Import Webdriver libraries into your project.
3.) Create a class and type the below code .you are ready with your first webdriver project.

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;


public class GoogleProblem {

/**
* args
*/
public static void main(String[] args) {
WebDriver dr = new FirefoxDriver();
dr.get("https://www.google.co.in");

System.out.println("Title of the Page is "+dr.getTitle());

dr.quit();

}

}



Above Code Launches the Browser and navigates to google.com , It prints the title of page .

Address

Delhi
110059

Alerts

Be the first to know and let us send you an email when AutomationCampus posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Share