demos/test.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://github.com/" />
<title>newtest</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">newtest</td></tr>
</thead><tbody>
<tr>
<td>store</td>
<td>10</td>
<td>x</td>
</tr>
<tr>
<td>gotoLabel</td>
<td>target1</td>
<td></td>
</tr>
<tr>
<td>runScript</td>
<td>alert("This should not appear")</td>
<td></td>
</tr>
<tr>
<td>label</td>
<td>target1</td>
<td></td>
</tr>
<tr>
<td>store</td>
<td>14</td>
<td>y</td>
</tr>
<tr>
<td>gotoIf</td>
<td>${y} > ${x}</td>
<td>target2</td>
</tr>
<tr>
<td>runScript</td>
<td>alert("This also should not appear");</td>
<td></td>
</tr>
<tr>
<td>label</td>
<td>target2</td>
<td></td>
</tr>
<tr>
<td>echo</td>
<td>"Compare : "+${x}+" vs "+${y}</td>
<td></td>
</tr>
<tr>
<td>while</td>
<td>${x} <= ${y}</td>
<td></td>
</tr>
<tr>
<td>storeEval</td>
<td>eval(${x} + 1)</td>
<td>x</td>
</tr>
<tr>
<td>echo</td>
<td>Compare : ${x} vs ${y}</td>
<td></td>
</tr>
<tr>
<td>endWhile</td>
<td></td>
<td></td>
</tr>
<tr>
<td>echo</td>
<td>Finished with x = ${x} and y = ${y}</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>