Selenese selenese = Selenese.builder()
.setHtmlTestsInClasspath("project-bulk-update-keys",
"/projectAdministration/ProjectAdministrationTest/project-update-keys/bulk-update-impossible-because-duplicate-keys.html",
- "/projectAdministration/ProjectAdministrationTest/project-update-keys/bulk-update-impossible-because-no-input.html",
"/projectAdministration/ProjectAdministrationTest/project-update-keys/bulk-update-impossible-because-no-match.html",
"/projectAdministration/ProjectAdministrationTest/project-update-keys/bulk-update-success.html"
).build();
+++ /dev/null
-<?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"/>
- <title>bulk-update-impossible-because-no-input</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
- <tbody>
- <tr>
- <td>open</td>
- <td>/sessions/logout</td>
- <td></td>
-</tr>
-<tr>
- <td>open</td>
- <td>/sessions/login</td>
- <td></td>
-</tr>
-<tr>
- <td>type</td>
- <td>login</td>
- <td>admin</td>
-</tr>
-<tr>
- <td>type</td>
- <td>password</td>
- <td>admin</td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>commit</td>
- <td></td>
-</tr>
-<tr>
- <td>open</td>
- <td>/dashboard/index/com.sonarsource.it.samples:multi-modules-sample</td>
- <td></td>
-</tr>
-<tr>
- <td>click</td>
- <td>css=#context-navigation .navbar-admin-link</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>link=Update Key</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>link=Update Key</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>id=bulk_update_button</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForText</td>
- <td>css=#content #error</td>
- <td>*The two fields can not be blank for the bulk update.*</td>
-</tr>
-</tbody>
-</table>
-</body>
-</html>