0
我无法打开从硒IDE之前导出为jar文件 步骤测试用例文件:可以从硒IDE没有打开jar文件
1)开放硒IDE和记录测试用例
2)出口测试用例作为jar文件
3)靠近硒IDE
4)再次打开硒IDE
5)文件 - >开> file.jar
它会告诉你以下错误:错误加载试验情况下,没有命令发现
任何帮助吗?
我无法打开从硒IDE之前导出为jar文件 步骤测试用例文件:可以从硒IDE没有打开jar文件
1)开放硒IDE和记录测试用例
2)出口测试用例作为jar文件
3)靠近硒IDE
4)再次打开硒IDE
5)文件 - >开> file.jar
它会告诉你以下错误:错误加载试验情况下,没有命令发现
任何帮助吗?
保存Selenium IDE记录的默认格式是HTML。例如:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="https://en.wikipedia.org/" />
<title>selenium</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">selenium</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/wiki/Main_Page</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>id=searchInput</td>
<td>selenium software</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>id=searchButton</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//div[@id='mw-content-text']/div/ul/li/div/a/span[2]</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
该文件可以在Selenium IDE(选项File-> Open)中加载,但不能加载JAR。更多信息here。
是的,但我的问题是我需要modefy代码。在html中,我不能写一个脚本例如我需要阅读一个文本框,并确保是正确的,所以我需要在java或python中编写不在HTML –