资源简介
1、支持多并行测试
2、支持所有的云解决方案,如 BrowserStack,SauceLabs,Testingbot
3、数据驱动测试
4、一步级报告生成
5、自动屏幕快照的失败的测试步骤
6、集成的命令行支持
7、ExpectedConditionsExtended PageObjects Design 模式
8、自动重新运行失败的测试用例...
代码片段和文件信息
#set( $symbol_pound = ‘#‘ )
#set( $symbol_dollar = ‘$‘ )
#set( $symbol_escape = ‘\‘ )
package pageobjects;
import java.util.List;
import omelet.common.ExpectedConditionExtended;
import omelet.data.IProperty;
import omelet.driver.DriverUtility;
import omelet.exception.frameworkException;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.FindBys;
import org.openqa.selenium.support.PageFactory;
public class GooglePage {
private WebDriver driver;
private IProperty prop;
@FindBy(name = “q“)
private WebElement searchBar;
@FindBys(@FindBy(css = “.rc .r a“))
private List searchReturnlinks;
//Simple Test Contructor
public GooglePage(
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-06-10 13:28 omelet-developer\
文件 156 2016-06-10 13:28 omelet-developer\.gitignore
文件 15 2016-06-10 13:28 omelet-developer\.travis.yml
文件 3077 2016-06-10 13:28 omelet-developer\README.md
目录 0 2016-06-10 13:28 omelet-developer\omelet-archetype-simple\
文件 16 2016-06-10 13:28 omelet-developer\omelet-archetype-simple\.gitignore
文件 3058 2016-06-10 13:28 omelet-developer\omelet-archetype-simple\pom.xm
目录 0 2016-06-10 13:28 omelet-developer\omelet-archetype-simple\src\
目录 0 2016-06-10 13:28 omelet-developer\omelet-archetype-simple\src\main\
目录 0 2016-06-10 13:28 omelet-developer\omelet-archetype-simple\src\main\resources\
目录 0 2016-06-10 13:28 omelet-developer\omelet-archetype-simple\src\main\resources\me
目录 0 2016-06-10 13:28 omelet-developer\omelet-archetype-simple\src\main\resources\me
文件 2227 2016-06-10 13:28 omelet-developer\omelet-archetype-simple\src\main\resources\me
目录 0 2016-06-10 13:28 omelet-developer\omelet-archetype-simple\src\main\resources\archetype-resources\
文件 2377 2016-06-10 13:28 omelet-developer\omelet-archetype-simple\src\main\resources\archetype-resources\pom.xm
目录 0 2016-06-10 13:28 omelet-developer\omelet-archetype-simple\src\main\resources\archetype-resources\src\
目录 0 2016-06-10 13:28 omelet-developer\omelet-archetype-simple\src\main\resources\archetype-resources\src\main\
目录 0 2016-06-10 13:28 omelet-developer\omelet-archetype-simple\src\main\resources\archetype-resources\src\main\java\
目录 0 2016-06-10 13:28 omelet-developer\omelet-archetype-simple\src\main\resources\archetype-resources\src\main\java\pageob
文件 1703 2016-06-10 13:28 omelet-developer\omelet-archetype-simple\src\main\resources\archetype-resources\src\main\java\pageob
文件 1092 2016-06-10 13:28 omelet-developer\omelet-archetype-simple\src\main\resources\archetype-resources\src\main\java\pageob
目录 0 2016-06-10 13:28 omelet-developer\omelet-archetype-simple\src\main\resources\archetype-resources\src\main\resources\
文件 1154 2016-06-10 13:28 omelet-developer\omelet-archetype-simple\src\main\resources\archetype-resources\src\main\resources\fr
文件 2348 2016-06-10 13:28 omelet-developer\omelet-archetype-simple\src\main\resources\archetype-resources\src\main\resources\log4j.properties
目录 0 2016-06-10 13:28 omelet-developer\omelet-archetype-simple\src\main\resources\archetype-resources\src\test\
目录 0 2016-06-10 13:28 omelet-developer\omelet-archetype-simple\src\main\resources\archetype-resources\src\test\java\
目录 0 2016-06-10 13:28 omelet-developer\omelet-archetype-simple\src\main\resources\archetype-resources\src\test\java\tests\
文件 1537 2016-06-10 13:28 omelet-developer\omelet-archetype-simple\src\main\resources\archetype-resources\src\test\java\tests\SimpleGoogleTest.java
目录 0 2016-06-10 13:28 omelet-developer\omelet-archetype-simple\src\main\resources\archetype-resources\src\test\resources\
文件 417 2016-06-10 13:28 omelet-developer\omelet-archetype-simple\src\main\resources\archetype-resources\src\test\resources\FireFoxLocal.xm
文件 1439 2016-06-10 13:28 omelet-developer\omelet-archetype-simple\src\main\resources\archetype-resources\src\test\resources\Mapping.xm
............此处省略168个文件信息
- 上一篇:基于MVC新闻发布网站
- 下一篇:Java 跳棋程序
相关资源
- maven+springmvc+mybatis+log4j 入门级
- JSP+Serlvet+JavaBean+Maven+MySql 学生学籍信
- 爬虫+springmvc+maven
- Maven 搭建Spring + SpringMVC
- 图书管理系统源码非maven版
- maven+jsp+servlet+jdbc学生信息管理系统
- ssm项目.zip
- ssm+cxf(基于Maven开发的ssm框架集成c
- pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar
- java中eclipse集合maven、dubbo服务搭建流
- SpringMVC-Mybatis-Maven-MySQL 登录登出并校
- java maven gradle 3.0.1
-
JSONob
ject依赖的Jar包.rar - 基于ssm+bootstrap+maven+mysql的超市进销存
- saxon-8.7.jartestng;-results.xsl
- Maven利用Java service wrapper生成Windows服务
- 使用Spring+Maven框架通过JDBC访问数据库
- maven+spring+mybatis+junit
- 商品添加的实现(idea maven+ssh)
- selenium实现自动登陆csdn(java)
- SpringMvc+Spring+Mybatis+Maven整合
评论
共有 条评论