json-schema/seleniumTests/optionalProperty
2008-12-11 12:56:29 +00:00

98 lines
1.9 KiB
XML

<?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="" />
<title>optionalProperty</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">optionalProperty</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/validator.html</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>json</td>
<td>{<br />&nbsp;&nbsp;&quot;number&quot;: &quot;1.4&quot;<br />} </td>
</tr>
<tr>
<td>type</td>
<td>schema</td>
<td>{<br />&nbsp;&nbsp;&quot;type&quot;:&quot;object&quot;,<br />&nbsp;&nbsp;&quot;properties&quot;:{<br />&nbsp;&nbsp;&nbsp;&nbsp;&quot;number&quot;:{&quot;type&quot;:&quot;string&quot;,&quot;optional&quot;:false}<br />&nbsp;&nbsp;}<br />} </td>
</tr>
<tr>
<td>click</td>
<td>bt-validate-js</td>
<td></td>
</tr>
<tr>
<td>waitForTextPresent</td>
<td>JSON:</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>JSON: VALID</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>bt-validate-php</td>
<td></td>
</tr>
<tr>
<td>waitForTextPresent</td>
<td>JSON:</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>JSON: VALID</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>json</td>
<td>{}</td>
</tr>
<tr>
<td>click</td>
<td>bt-validate-js</td>
<td></td>
</tr>
<tr>
<td>waitForTextPresent</td>
<td>JSON:</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>JSON: INVALID</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>bt-validate-php</td>
<td></td>
</tr>
<tr>
<td>waitForTextPresent</td>
<td>JSON:</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>JSON: INVALID</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>