Selenium
文章平均质量分 85
a69843251
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Selenium的等待方式
线程等待方式public void sleepTime(long time) { try { Thread.sleep(time); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } }隐式等待public void implycitlyWait...原创 2018-04-02 12:31:53 · 221 阅读 · 0 评论 -
TESTNG注解
一:TestNG常用注解 package com.lh.practice.testng; import org.testng.annotations.AfterClass; import org.testng.annotations.AfterMethod; import org.testng.annotations.AfterSuite; import org.testng.annotat...原创 2018-06-11 17:21:31 · 350 阅读 · 0 评论 -
Selenium不同的定位方式
driver.findElement(By.id("ID值")); driver.findElement(By.name("name值")); driver.findElement(By.linkText("链接的全部文字内容")); driver.findElement(By.partialLinkText("链接的部分文字内容")); driver.findElement(By.xpa...原创 2018-06-13 11:12:06 · 743 阅读 · 0 评论 -
TestNG+Selenium+Mybatis+Log4j测试框架的初步集成
一、结构 1、dao 2、entity 3、keyword 4、pageobject 5、test 6、testScripts 7、tool 二、结构说明 1、dao包 mybatis使用的接口 2、entity 反欺诈使用的实体类 3、keyword 使用的枚举值 4、pageobject 封装每个页面的元素对象,方便使用人的维护 5、test 纯粹的测试 测试mybatis log4j的使用等...原创 2018-08-27 09:46:50 · 924 阅读 · 0 评论 -
seleniumIE驱动Chrome驱动Firefox驱动与其兼容的fireox浏览器安装包
https://pan.baidu.com/s/1WCBufG-ZousL0RZAF48o4g ivs2 maven对应jar包各版本 <dependencies> <dependency> <groupId>org.testng</groupId> <artifact...原创 2019-05-15 16:11:46 · 367 阅读 · 0 评论
分享