You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

在Ubuntu 16.04 LTS上使用Java测试代码对接OpenTest的问题

求助:如何用Java将自动化代码接入OpenTest?

我在Ubuntu 16.04 LTS上已经装好了OpenTest,现在想跟踪自动化代码的通过率和失败率。目前我能成功连接到本地服务器,但后续该怎么操作完全摸不着头绪。

另外,我已经写好了实现登录功能的Java自动化文件,之前查到过一段示例代码,但我在自己的项目里找不到对应的org.getopentest.selenium包。我不想改用YAML,希望继续用Java开发,有没有大佬能教教我怎么把我的自动化代码接入到OpenTest中?

查到的示例代码片段:

package org.getopentest.selenium; 
import org.getopentest.selenium.core.SeleniumTestAction; 
import org.getopentest.annotations.TestActionArgument; 
import org.getopentest.annotations.TestActionClass; 
import org.getopentest.annotations.Type; 
import org.openqa.selenium.By; 
import org.openqa.selenium.WebElement;

内容的提问来源于stack exchange,提问作者BenevolentMan

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.29 06:45:19