0
Selenium IDE에 테스트 케이스를 구축했습니다. Netbeans에서 실행할 테스트 케이스를 구현하는 가장 간단한 방법은 무엇입니까?Netbeans에서 Selenium 테스트 실행 방법
내 Netbeans 버전은 7.2입니다. Selenium 서버가 Netbeans 서비스에서 실행 중입니다. 이것은 Google 검색에 대한 간단한 테스트 사례입니다. Java/Junit 파일로 내보내기를 시도했습니다. 넷빈즈는 클래스 경로가 누락되었음을 보여줍니다.
<?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://www.google.co.in/" />
<title>google_search</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">google_search</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>id=gbqfq</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>id=gbqfq</td>
<td>selenium</td>
</tr>
</tbody></table>
</body>
</html>