资源简介

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.xml
     目录           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\meta-INF\
     目录           0  2016-06-10 13:28  omelet-developer\omelet-archetype-simple\src\main\resources\meta-INF\maven\
     文件        2227  2016-06-10 13:28  omelet-developer\omelet-archetype-simple\src\main\resources\meta-INF\maven\archetype-metadata.xml
     目录           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.xml
     目录           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\pageobjects\
     文件        1703  2016-06-10 13:28  omelet-developer\omelet-archetype-simple\src\main\resources\archetype-resources\src\main\java\pageobjects\GooglePage.java
     文件        1092  2016-06-10 13:28  omelet-developer\omelet-archetype-simple\src\main\resources\archetype-resources\src\main\java\pageobjects\SeleniumPage.java
     目录           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\framework.properties
     文件        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.xml
     文件        1439  2016-06-10 13:28  omelet-developer\omelet-archetype-simple\src\main\resources\archetype-resources\src\test\resources\Mapping.xml
............此处省略168个文件信息

评论

共有 条评论