Forum Discussion
- t3st3r1n10 years agoNew Contributor
Hi!
between the <div> tags comes a table. The source from the browser:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Server Status</title>
<link rel="stylesheet" type="text/css"
href="/path/css/default.css" /><script type="text/javascript"
src="/path/js/jquery-1.11.0.min.js"></script><script type="text/javascript">
$(document).ready(function() {
$("#up").click(function() {
$("#uploadForm").slideDown();
});
$("#down").click(function() {
window.location.href="downloadCurrent";
});
$(document).click(function(e) { // when any click is received
var form = $("#uploadForm");
var up = $("#up");
if (
(form != e.target) && (up != e.target) &&// the target element is not the wrapper
(!form.has(e.target).length) && (!up.has(e.target).length)// and the wrapper does not contain the target element
) {
form.slideUp();
}
});
});
</script></head>
<body>
<div id="wrapper">
<div class="label activeLabel">Active configuration</div><div id="hostList">
<table class="datagrid">
<thead>
<tr>
<th>Info 1</th>
<th>Info 2</th>
<th>Info 3</th>
<th>Info 4</th>
<th>Info 5</th>
<th>Info 6</th>
</tr>
</thead>
<tbody>
<tr>
<td>A</td>
<td>B</td>
<td>*</td>
<td>*</td>
<td>*</td>
<td>https://myurl1.com</td>
</tr>
<tr>
<td>A</td>
<td>B</td>
<td>*</td>
<td>*</td>
<td>*</td>
<td>https://myurl2.com</td>
</tr>
<tr>
<td>A</td>
<td>B</td>
<td>*</td>
<td>*</td>
<td>*</td>
<td>https://myurl2.com</td>
</tr>
<tr>
<td>A</td>
<td>B</td>
<td>*</td>
<td>*</td>
<td>*</td>
<td>https://myurl3.com</td>
</tr>
<tr>
<td>A</td>
<td>B</td>
<td>*</td>
<td>*</td>
<td>*</td>
<td>https://myurl4.com</td>
</tr>
<tr>
<td>A</td>
<td>B</td>
<td>*</td>
<td>*</td>
<td>*</td>
<td>https://myurl5.com</td>
</tr>
<tr>
<td>A</td>
<td>B</td>
<td>*</td>
<td>*</td>
<td>*</td>
<td>https://myurl6.com</td>
</tr>
<tr>
<td>A</td>
<td>B</td>
<td>*</td>
<td>*</td>
<td>*</td>
<td>https://myurl7.com</td>
</tr>
<tr>
<td>A</td>
<td>B</td>
<td>*</td>
<td>*</td>
<td>*</td>
<td>https://myurl8.com</td>
</tr>
<tr>
<td>A</td>
<td>B</td>
<td>*</td>
<td>*</td>
<td>*</td>
<td>https://myurl9.com</td>
</tr>
<tr>
<td>A</td>
<td>B</td>
<td>*</td>
<td>*</td>
<td>*</td>
<td>https://myurl10.com</td>
</tr>
</tbody>
</table>
</div>
<div id="options">
<div id="images">
<div id="up">
<img src="/path/img/upload.png" />
<div class="label">Upload new configuration</div>
</div>
<div id="down">
<img src="/path/img/download.png" />
<div class="label">Download current configuration</div>
</div>
</div>
</div><div id="uploadForm">
<p>Upload configuration file:</p>
<form id="formUpload" action="/path/hostnames/update?execution=e1s1" method="post" enctype="multipart/form-data">
Select file: <input type="file" name="xmlFile" />
<input type="hidden" name="_eventId" value="process" />
<input type="submit" value="Upload" />
</form>
</div></div>
</body>
</html>I just want to read the information in the table but in SoapUI I can't reach it. It's just empty :S
Thanks a lot!
Related Content
- 2 years ago
- 13 years ago
- 4 years ago
Recent Discussions
- 20 hours ago