• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Java CommandProcessor类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中com.thoughtworks.selenium.CommandProcessor的典型用法代码示例。如果您正苦于以下问题:Java CommandProcessor类的具体用法?Java CommandProcessor怎么用?Java CommandProcessor使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



CommandProcessor类属于com.thoughtworks.selenium包,在下文中一共展示了CommandProcessor类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: fixtureFor

import com.thoughtworks.selenium.CommandProcessor; //导入依赖的package包/类
/** {@inheritDoc} */
public Fixture fixtureFor(Object target) {
	if(!(target instanceof CommandProcessor))
		throw new IllegalArgumentException("Can only get a SeleniumFixture for an instance of CommandProcessor.");
	
	return new SeleniumFixture((CommandProcessor)target);
}
 
开发者ID:strator-dev,项目名称:greenpepper,代码行数:8,代码来源:SeleniumFixture.java


示例2: xtestCanRunSeleniumCommands

import com.thoughtworks.selenium.CommandProcessor; //导入依赖的package包/类
public void xtestCanRunSeleniumCommands() throws Throwable {
	Fixture fixture = sud.getFixture("selenium", "localhost", "4433",
			"*firefox", "http://www.google.com");
	CommandProcessor processor = (CommandProcessor) fixture.getTarget();
	try {
		processor.start();
		Message assertTitleMessage = fixture.check("assertTitle");
		Object result = assertTitleMessage.send("Google");
		assertEquals("OK", result);
	} catch (Throwable t) {
		if (processor != null)
			processor.stop();
	}
}
 
开发者ID:strator-dev,项目名称:greenpepper,代码行数:15,代码来源:SeleniumSystemUnderDevelopmentTest.java


示例3: setUp

import com.thoughtworks.selenium.CommandProcessor; //导入依赖的package包/类
@Override
protected void setUp() throws Exception {
	super.setUp();
	
	commandProcessor = context.mock(CommandProcessor.class);
	fixture = new SeleniumFixture(commandProcessor);
}
 
开发者ID:strator-dev,项目名称:greenpepper,代码行数:8,代码来源:SeleniumFixtureTest.java


示例4: AbstractSeleniumCommand

import com.thoughtworks.selenium.CommandProcessor; //导入依赖的package包/类
public AbstractSeleniumCommand( StoredVars storedVars, CommandProcessor commandProcessor, String command,
                                String param1 )
{
    this.storedVars = storedVars;
    this.commandProcessor = commandProcessor;
    this.command = command;
    this.param1 = param1;
    this.param2 = "";
}
 
开发者ID:play1-maven-plugin,项目名称:play1-maven-plugin,代码行数:10,代码来源:AbstractSeleniumCommand.java


示例5: QAFWebDriverBackedSelenium

import com.thoughtworks.selenium.CommandProcessor; //导入依赖的package包/类
/**
 * @param commandProcessor
 */
public QAFWebDriverBackedSelenium(com.thoughtworks.selenium.CommandProcessor commandProcessor) {
	super(commandProcessor);
}
 
开发者ID:qmetry,项目名称:qaf,代码行数:7,代码来源:QAFWebDriverBackedSelenium.java


示例6: IsSeleniumImpl

import com.thoughtworks.selenium.CommandProcessor; //导入依赖的package包/类
/**
 * @param processor
 */
public IsSeleniumImpl(CommandProcessor processor) {
	super(processor);
}
 
开发者ID:qmetry,项目名称:qaf,代码行数:7,代码来源:IsSeleniumImpl.java


示例7: BooleanSeleniumCommand

import com.thoughtworks.selenium.CommandProcessor; //导入依赖的package包/类
public BooleanSeleniumCommand( StoredVars storedVars, CommandProcessor commandProcessor, String command,
                               String param1 )
{
    super( storedVars, commandProcessor, command, param1 );
}
 
开发者ID:play1-maven-plugin,项目名称:play1-maven-plugin,代码行数:6,代码来源:BooleanSeleniumCommand.java


示例8: AssertSelectedStep

import com.thoughtworks.selenium.CommandProcessor; //导入依赖的package包/类
public AssertSelectedStep( StoredVars storedVars, CommandProcessor commandProcessor, String param1, String param2 )
{
    super( new StringSeleniumCommand( storedVars, commandProcessor, "getSelectedLabel", param1 ), param2 );
}
 
开发者ID:play1-maven-plugin,项目名称:play1-maven-plugin,代码行数:5,代码来源:AssertSelectedStep.java


示例9: StringSeleniumCommand

import com.thoughtworks.selenium.CommandProcessor; //导入依赖的package包/类
public StringSeleniumCommand( StoredVars storedVars, CommandProcessor commandProcessor, String command,
                              String param1 )
{
    super( storedVars, commandProcessor, command, param1 );
}
 
开发者ID:play1-maven-plugin,项目名称:play1-maven-plugin,代码行数:6,代码来源:StringSeleniumCommand.java


示例10: VoidSeleniumCommand

import com.thoughtworks.selenium.CommandProcessor; //导入依赖的package包/类
public VoidSeleniumCommand( StoredVars storedVars, CommandProcessor commandProcessor, String command, String param1 )
{
    super( storedVars, commandProcessor, command, param1 );
}
 
开发者ID:play1-maven-plugin,项目名称:play1-maven-plugin,代码行数:5,代码来源:VoidSeleniumCommand.java


示例11: SimpleStoreStep

import com.thoughtworks.selenium.CommandProcessor; //导入依赖的package包/类
public SimpleStoreStep( StoredVars storedVars, CommandProcessor commandProcessor, String param1, String param2 )
{
    super( new VoidSeleniumCommand( storedVars, commandProcessor, "storeExpression", param1, param2 ) );
}
 
开发者ID:play1-maven-plugin,项目名称:play1-maven-plugin,代码行数:5,代码来源:SimpleStoreStep.java


示例12: VerifySelectedStep

import com.thoughtworks.selenium.CommandProcessor; //导入依赖的package包/类
public VerifySelectedStep( StoredVars storedVars, CommandProcessor commandProcessor, String param1, String param2 )
{
    super( new StringSeleniumCommand( storedVars, commandProcessor, "getSelectedLabel", param1 ), param2 );
}
 
开发者ID:play1-maven-plugin,项目名称:play1-maven-plugin,代码行数:5,代码来源:VerifySelectedStep.java


示例13: setCommandProcessor

import com.thoughtworks.selenium.CommandProcessor; //导入依赖的package包/类
void setCommandProcessor(CommandProcessor commandProcessor) {
	this.commandProcessor = commandProcessor;
}
 
开发者ID:jguglielmi,项目名称:OASIS-Maven,代码行数:4,代码来源:ScreenCapture.java


示例14: startWebDriverCommandProcessor

import com.thoughtworks.selenium.CommandProcessor; //导入依赖的package包/类
private CommandProcessor startWebDriverCommandProcessor(String browserUrl, WebDriver webDriver) {
	browserUrl = removeAnchorTag(browserUrl);
	return new WebDriverCommandProcessor(browserUrl, webDriver);
}
 
开发者ID:jguglielmi,项目名称:OASIS-Maven,代码行数:5,代码来源:XebiumLoadFixture.java


示例15: setCommandProcessor

import com.thoughtworks.selenium.CommandProcessor; //导入依赖的package包/类
void setCommandProcessor(CommandProcessor commandProcessor) {
	this.commandProcessor=commandProcessor;
	screenCapture.setCommandProcessor(commandProcessor);
	locatorCheck = new LocatorCheck(commandProcessor);
	LOG.info("Started new command processor (ramp-up period: " + count + "ms, timeout: " + timeout + "ms, step delay: " + stepDelay + "ms, poll interval: " + pollDelay + "ms)");
}
 
开发者ID:jguglielmi,项目名称:OASIS-Maven,代码行数:7,代码来源:XebiumLoadFixture.java


示例16: getCommandProcessor

import com.thoughtworks.selenium.CommandProcessor; //导入依赖的package包/类
public CommandProcessor getCommandProcessor() {
	return commandProcessor;
}
 
开发者ID:jguglielmi,项目名称:OASIS-Maven,代码行数:4,代码来源:XebiumLoadFixture.java


示例17: LocatorCheck

import com.thoughtworks.selenium.CommandProcessor; //导入依赖的package包/类
public LocatorCheck(CommandProcessor commandProcessor) {
	super();
	this.commandProcessor = commandProcessor;
}
 
开发者ID:jguglielmi,项目名称:OASIS-Maven,代码行数:5,代码来源:LocatorCheck.java


示例18: setCommandProcessor

import com.thoughtworks.selenium.CommandProcessor; //导入依赖的package包/类
void setCommandProcessor(CommandProcessor commandProcessor) {
	this.commandProcessor = commandProcessor;
	screenCapture.setCommandProcessor(commandProcessor);
	locatorCheck = new LocatorCheck(commandProcessor);
	LOG.info("Started new command processor (timeout: " + timeout + "ms, step delay: " + stepDelay + "ms, poll interval: " + pollDelay + "ms)");
}
 
开发者ID:jguglielmi,项目名称:OASIS-Maven,代码行数:7,代码来源:SikuliWebDriverFixture.java


示例19: startWebDriverCommandProcessor

import com.thoughtworks.selenium.CommandProcessor; //导入依赖的package包/类
private CommandProcessor startWebDriverCommandProcessor(String browserUrl, WebDriver webDriver) {
	browserUrl = removeAnchorTag(browserUrl);
	WebDriverCommandProcessor driver = new WebDriverCommandProcessor(browserUrl, webDriver);
	addMissingSeleneseCommands(driver);
	return driver;
}
 
开发者ID:jguglielmi,项目名称:OASIS-Maven,代码行数:7,代码来源:SeleniumDriverFixture.java


示例20: SeleniumFixture

import com.thoughtworks.selenium.CommandProcessor; //导入依赖的package包/类
/**
 * <p>Constructor for SeleniumFixture.</p>
 *
 * @param processor a {@link com.thoughtworks.selenium.CommandProcessor} object.
 */
public SeleniumFixture(CommandProcessor processor) {
	this.processor = processor;
}
 
开发者ID:strator-dev,项目名称:greenpepper,代码行数:9,代码来源:SeleniumFixture.java



注:本文中的com.thoughtworks.selenium.CommandProcessor类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java MockMvc类代码示例发布时间:2022-05-22
下一篇:
Java FetcherException类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap