文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > 计算机软件及应用 > How To Setup a Selenium WebDriver Project in Eclipse
侵权投诉

How To Setup a Selenium WebDriver Project in Eclipse

How To Setup a Selenium WebDriver Project in Eclipse ?

Step 1: Download Eclipse

Step 2: Creating a New Java Project in Eclipse IDE

Step 3: Enter a Project Name E.g:SampleDemo

Step 4: Creating a New Package

Right Click on the New Java Project created → New→ Package

Step 5: Type In a New Package Name E.g:com.selenium.example

Step 6: Creating a New Java Class file.

Right Click on the Newly created Package → New → Class

Step 7:Type In a Name for your Java Class file,

click on the check box for “public static void main (String args*+)”

Click on Finish

Step 8: The Java class file is created and ready for Java Scripting.

Now, We need to add the Selenium Library files to our project

Step 9: Download the selenium server from the seleniumhq.org website.

Step 10: Click on Downloads Tab and then click on the link as highlighted in the screenshot Step 11: Save the jar file in a specific Location E.g C:/Selenium

Step 12: Configuring Build Path.

Right Click on the package → Build Path → Configure Build Path

Step 13: Click on Libraries tab → Add External Jar’s

Step 14: The jar files should be loaded from the C:/Selenium folder (or where you have saved the downloaded Jar file from Seleniumhq website) to our Eclipse Workspace and should look as in the screenshot

Step 15:We can also verify by expanding the Referenced Libraries in the Project Explorer that, whether the Jar file is added properly

第1页

你可能喜欢

热门文档

相关文档

  • selenium WebDriver之Testng学习一 Testng环境搭建

    selenium WebDriver 之 Testng 学习一 Testng 环境搭建 Selenium 自动化测试环境...安装完之后重启 Eclipse 5.4 新建 JavaProject,右键 BuildPath,添加 testng.jar...

  • 总结Selenium WebDriver中一些鼠标和键盘事件的使用

    总结Selenium WebDriver中一些鼠标和键盘事件的使用_计算机软件及应用_IT/计算机_专业资料。本文将总结 Selenium WebDriver 中的一些鼠标和键盘事件的使用,以及组合键...

  • ...for developing tests with Selenium WebDriver

    We will show how to use Eclipse for developing ...(); @Before public void setUp() throws ...project using Selenium WebDriver with other language...

  • selenium webdriver学习

    3、安装 eclipse,个人喜好。 Print to PDF without this message by purchasing novaPDF (http://www.novapdf.com/) 4、 安装 selenium webdriver。 解压下载的...

  • [转载]Selenium2.0之WebDriver学习总结(1)

    下面我们就开始进入 WebDriver 的实际应用, 首先大家下载好 eclipse, 还有从 ...(WebDriver d) { return d.getTitle().toLowerCase().startsWith("Selenium"...

  • Selenium-Webdriver安装配置

    作者:小东 Version:1.0.0.1 日期:2013 年 8 月 9 日 Windows 下安装 Selenium Webdriver ·安装 ruby 下载地址 http://rubyinstaller.org/downloads/ 管理...

  • [转载]Selenium2.0之WebDriver学习总结(2)

    [转载]Selenium2.0之WebDriver学习总结(2)_IT/计算机_专业资料。关于Selenium...WebDriver 支持使用“switchTo” 的方法实现的窗口之间切换。 driver.switchTo()...

  • Selenium 2介绍(三)--Selenium WebDriver

    project> ————————————————————...eclipse-reference 从 Selenium1.0 的移植 Migrating...(WebDriver d) { returnd.getTitle().toLowerCase(...

  • selenium webdriver学习

    4、安装selenium webdriver。解压下载的selenium webdriver包,可以在eclipse建一个...(pathToFirefoxBinary); WebDriver driver1 = new FirefoxDriver(firefoxbin,null...

  • selenium webdriver for ruby环境搭建

    selenium webdriver for ruby环境搭建_IT/计算机_专业资料。现在流行的自动化测试框架,selenium webdriver,这个文档是描述的基于ruby语言搭建开发环境的,比较详细了...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email