Hi everybody,
i have a problem with jwebunit 1.4.1. I am checking if a certain button
is present, but the button isn't found.
Neither
assertSubmitButtonPresent("Anpassen");
works, nor
assertButtonPresentWithText("Anpassen");
does.
You find the source code below. As you can see there are several forms
in it, which all contain a submit-button with the text "Anpassen".
Am I doing anything wrong?
Best regards,
Abid
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Übersicht Verlaufspläne</title>
<link href="/modulverwaltung/css/format.css" rel="stylesheet"
type="text/css" />
</head>
<body>
<h1>Übersicht Verlaufspläne</h1>
<p> </p>
<h4>Öffentliche Verlaufspläne:</h4>
<table>
<tr>
<td>
<ul>
<li><a
href="/modulverwaltung/controller?action=ShowCourseTable&planOfStudyId=4">Master
Algorithmen</a></li>
</ul>
</td>
<td>
<form method="post"
action="/modulverwaltung/controller?action=CreateCourseTable">
<input type="submit" value="Anpassen" /><input type="hidden"
name="planOfStudyId" value="4" /><input type="hidden"
name="adapt"
value="true" /></form>
</td>
</tr>
<tr>
<td>
<ul>
<li><a
href="/modulverwaltung/controller?action=ShowCourseTable&planOfStudyId=7">ID
Security Technologies</a></li>
</ul>
</td>
<td>
<form method="post"
action="/modulverwaltung/controller?action=CreateCourseTable">
<input type="submit" value="Anpassen" /><input type="hidden"
name="planOfStudyId" value="7" /><input type="hidden"
name="adapt"
value="true" /></form>
</td>
</tr>
<tr>
<td>
<ul>
<li><a
href="/modulverwaltung/controller?action=ShowCourseTable&planOfStudyId=22">Test
3</a></li>
</ul>
</td>
<td>
<form method="post"
action="/modulverwaltung/controller?action=CreateCourseTable">
<input type="submit" value="Anpassen" /><input type="hidden"
name="planOfStudyId" value="22" /><input type="hidden"
name="adapt"
value="true" /></form>
</td>
</tr>
<tr>
<td>
<ul>
<li><a
href="/modulverwaltung/controller?action=ShowCourseTable&planOfStudyId=5">Bachelor
Informatik</a></li>
</ul>
</td>
<td>
<form method="post"
action="/modulverwaltung/controller?action=CreateCourseTable">
<input type="submit" value="Anpassen" /><input type="hidden"
name="planOfStudyId" value="5" /><input type="hidden"
name="adapt"
value="true" /></form>
</td>
</tr>
<tr>
<td>
<ul>
<li><a
href="/modulverwaltung/controller?action=CreateCourseTable">Neuen
Verlaufsplan erstellen</a></li>
</ul>
</td>
</tr>
</table>
<p> </p>
<form method="post" action="/modulverwaltung/controller?action=Overview">
<input type="submit" value="Zur Übersicht" /></form>
</body>
</html>
--
Abid Hussain
Mail: [EMAIL PROTECTED]
Web: http://www.abid76.de
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
JWebUnit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users