码迷,mamicode.com
首页 >  
搜索关键字:selenium 常用操作封装    ( 6258个结果
WebDriver 操作 HTML5 中的 video
测试播放,停止播放http://www.videojs.com/示例:package com.learningselenium.html5;import static org.junit.Assert.*;import org.junit.*;import org.openqa.selenium.*...
分类:Web程序   时间:2015-06-05 15:15:41    阅读次数:231
selenium测试框架篇,页面对象和元素对象的管理
selenium测试框架
分类:其他好文   时间:2015-06-05 00:20:35    阅读次数:360
[Selenium]Turn Page By Scroll Bar
Description:Need to turn page by operating scroll bar and find out the element in the current page.Previous page will not exist in DOM structure when ...
分类:其他好文   时间:2015-06-04 19:00:18    阅读次数:137
selenium如何解决window安全验证问题
解决办法IE浏览器:1.使用autoit,捕捉到控件后,编写au3脚本,生成exe,然后java调用exeau3脚本Dim $account = "username"Dim $pwd = "password"Dim $dialogTitle = "Windows 安全"WinActivate($di...
分类:Windows程序   时间:2015-06-04 15:23:13    阅读次数:703
selenium+python 环境搭建(windows)
用的selenium2.0selenium2.0=selenium1.0+WebDriver安装:1、下载、安装python,我使用的是python3.3.22、配置环境变量Path,在字符串末尾加一个分号 ";",然后输入python的安装路径 设置好环境变量后,在cmd里面输入python会看....
分类:编程语言   时间:2015-06-04 11:28:37    阅读次数:189
查看selenium python的api小记录
早晨练习python时想查看api,试了半天都不没成功,最后只能通过笨方法进入文件夹查看源文件了::>_<::网上搜索找到方法步骤:1.dos命令窗口输入:python -p pydoc -m 45672.在浏览器中输入:http://localhost:4567查看具体的http://localh...
分类:编程语言   时间:2015-06-03 18:58:11    阅读次数:152
selenium编写脚本时遇到windows身份验证
使用selenium写自动化脚本过程中,遇到了windows验证提示框,折腾了好久才解决,记录一下,待后查询O(∩_∩)O~试了两种方法:1.dr.get(user:pwd@url)eg: dr.get('http://user:pwd@xxx.com')这里要注意查看页面跳转,实验过程中出现了用户...
分类:Windows程序   时间:2015-06-03 17:07:53    阅读次数:172
Junit Test With Selenium Driver
Junits 和 Selenium ? ? Junits 处理的是unit level 的测试;Selenium 处理的是 functional leve 的测试。虽然它们是完全不同,但仍然可以用Junit 来写 Selenium 测试。 一个完整的例子 import?java.util.con...
分类:其他好文   时间:2015-06-02 23:35:12    阅读次数:337
fix org.openqa.selenium.NoSuchWindowException when find element on windows8.1 ie11.
Steps:1.I was able to resolve the issue after adding the site URL under trusted sites of IE. The same worked for every other machine I tried running s...
分类:Windows程序   时间:2015-06-01 16:31:49    阅读次数:174
Robot Framework 经验谈 - 撰写元素xpath表达式并且通过Chrome F12开发者工具进行验证
F12开发者工具有console标签,在期内执行命令可以交互性验证css或者xpath表达式效果 假如一个 xpath用$x(),将表达式用引号括起来放进去,回车执行命令,如果成功产生非空输出的匹配元素列表(可以点击自动框选定位、可以展开子元素查看),举例: $x("//table[@id='simpleWithNested']/tbody/tr/*") 对于引...
分类:其他好文   时间:2015-06-01 00:51:07    阅读次数:3114
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!