Selenium basic
Upcoming SlideShare
Loading in...5
×
 

Selenium basic

on

  • 2,907 views

Selenium is open source tool use for webpages automate.

Selenium is open source tool use for webpages automate.

Statistics

Views

Total Views
2,907
Views on SlideShare
2,904
Embed Views
3

Actions

Likes
3
Downloads
178
Comments
2

1 Embed 3

https://twitter.com 3

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • @shanakaf It happens by mistake. Thanks for remind me. Now you can download this presentation. :)
    Are you sure you want to
    Your message goes here
    Processing…
  • You proudly talk about open source stuff but still you don't allow others to save your slides directly. LOL
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Selenium basic Selenium basic Presentation Transcript

  • SELENIUM BASICDasun Eranthika
  • Content2  What is Selenium?  Languages supported by Selenium  Browsers supported by Selenium  OS supported by Selenium  Components of Selenium  How to install Selenium IDE  How to configure Selenium WebDriver  XPath Selenium Basic | Dasun Eranthika 11/18/2012
  • What is Selenium?3  Selenium is an open source automation testing tool for web based applications.  Languages supported by Selenium  Java (Famous)  C#  Ruby  Python  PHP  Pearl  Should know at least on programming language to digging deeper Selenium. Selenium Basic | Dasun Eranthika 11/18/2012
  • What is Selenium? (cont.)4  Browsers supported by Selenium  Mozilla Firefox(till latest version)  IE 6,7,8  Google chrome  Opera 8,9,10  Operating Systems supported by Selenium  Windows  Mac  Linux  Unix  Many more… Selenium Basic | Dasun Eranthika 11/18/2012
  • What is Selenium? (cont.)5  Components of Selenium Selenium Selenium Selenium WebDriver Grid IDE RC Selenium Basic | Dasun Eranthika 11/18/2012
  • What is Selenium? (cont.)6  Qualities of Selenium components Selenium Basic | Dasun Eranthika 11/18/2012
  • How to Install Selenium IDE7  Selenium IDE is only compatible with Mozilla Firefox.  It can directly download as an add-on to Firefox browser from Selenium official website (http://seleniumhq.org/download/).  So, it’s better to browse with Firefox. Selenium Basic | Dasun Eranthika 11/18/2012
  • How to Install Selenium IDE8 (cont.) Click Firefox> Web Developer> Selenium IDE or press Ctrl+Alt+S to get Click “Install Now” button ofitthe installIDEand and restart the browser Allow Selenium IDE to pop-up Go to http://seleniumhq.org/download/ linkmenuclick to download Selenium Selenium as Add-on IDE Selenium Basic | Dasun Eranthika 11/18/2012
  • How to configure WebDriver9  Selenium WebDriver can be downloaded from http://seleniumhq.org/download/  Also get Selenium Javadocs on the site. Javadocs will contain all the information about the architecture of WebDriver  While developing the WebDriver code, you can actually rely on that architecture and refer to them in case you are stuck in selenium.  Selenium RC has a jar file called selenium- server.jar which will be needed to start the server  In selenium WebDriver, there is no server which you need to start. Selenium Basic | Dasun Eranthika 11/18/2012
  • How to configure WebDriver10 (cont.)  In selenium WebDriver, there is no server which you need to start.  Selenium IDE is having the core engine which is based on JavaScript  can also write your own code in java script and extend the functionality of IDE (e.g.: we can read the test data from XML in IDE) Selenium Basic | Dasun Eranthika 11/18/2012
  • How to configure WebDriver11 (cont.)  Open Eclipse and configure the .jar file in particular project properties. 1. Go to the Properties of the Application>Java Build Path> Libraries 2. Click on “Add External JARs” button and add those jar files to the project. Selenium Basic | Dasun Eranthika 11/18/2012
  • How to configure WebDriver12 (cont.) Selenium Basic | Dasun Eranthika 11/18/2012
  • XPath13  XML Path Language, is a query language for selecting nodes from an XML document  addition, Xpath may be used to compute values (e.g., strings, numbers, or Boolean values) from the content of an XML document  Xpath was defined by the World Wide Web Consortium (W3C).  I’ll come with detailed slideshow about Xpath later. Selenium Basic | Dasun Eranthika 11/18/2012
  • 14  For more readings, browse http://seleniumhq.org/, the official Selenium website  To download the PDF, http://www.mediafire.com/view/?f6lcv69wnbhd6c6 Selenium Basic | Dasun Eranthika 11/18/2012
  • “The Journey Just Began”I’m in… Selenium Basic | Dasun Eranthika