Browse Source

By : Yonik <[email protected]>
New tests for QuickStarts test suite : Sys.Net.JsonSerialization

svn path=/trunk/mcs/; revision=82645

Yoni Klain 18 years ago
parent
commit
e2491bcd91

+ 6 - 0
mcs/class/System.Web.Extensions/Test/AUT/Selenium/QuickStarts/QuickStartTestSuite.html

@@ -82,6 +82,12 @@
 <tr>
 <td><a target="testFrame" href="Sys.Net.ConnectingEndPoints/ConnectingEndPoints.html">Sys.Net.ConnectingEndPoints-ConnectingEndPoints</a></td>
 </tr>
+<tr>
+<td><a target="testFrame" href="Sys.Net.JsonSerialization/ClientDeserializeServerSerialize.html">Sys.Net.JsonSerialization-ClientDeserializeServerSerialize</a></td>
+</tr>
+<tr>
+<td><a target="testFrame" href="Sys.Net.JsonSerialization/ClientSerializeServerDeserialize.html">Sys.Net.JsonSerialization-ClientSerializeServerDeserialize</a></td>
+</tr>
 </table>
 </body>
 </html>

+ 39 - 0
mcs/class/System.Web.Extensions/Test/AUT/Selenium/QuickStarts/Sys.Net.JsonSerialization/ClientDeserializeServerSerialize.html

@@ -0,0 +1,39 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>ClientDeserializeServerSerialize</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">ClientDeserializeServerSerialize</td></tr>
+</thead><tbody>
+<tr>
+	<td>open</td>
+	<td>/SystemWebExtensionsAUT/Sys.Net.JsonSerialization/ClientDeserializeServerSerialize.aspx</td>
+	<td></td>
+</tr>
+<tr>
+	<td>click</td>
+	<td>ServerButtonID</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>ServerResultID</td>
+	<td>{"message":"Server default color is Black ","rgb":["00","00","00"]}</td>
+</tr>
+<tr>
+	<td>click</td>
+	<td>ClientButtonID</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>ClientResultID</td>
+	<td>Server default color is Black 00,00,00</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>

+ 59 - 0
mcs/class/System.Web.Extensions/Test/AUT/Selenium/QuickStarts/Sys.Net.JsonSerialization/ClientSerializeServerDeserialize.html

@@ -0,0 +1,59 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>ClientSerializeServerDeserialize</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">ClientSerializeServerDeserialize</td></tr>
+</thead><tbody>
+<tr>
+	<td>open</td>
+	<td>/SystemWebExtensionsAUT/Sys.Net.JsonSerialization/ClientSerializeServerDeserialize.aspx</td>
+	<td></td>
+</tr>
+<tr>
+	<td>click</td>
+	<td>ClientButtonID</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>ClientResultID</td>
+	<td>{"message":"client default color is Black","rgb":["00","00","00"]}</td>
+</tr>
+<tr>
+	<td>click</td>
+	<td>ServerButtonID</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>ServerResultID</td>
+	<td>client default color is Black: 000000</td>
+</tr>
+<tr>
+	<td>select</td>
+	<td>ColorSelectID</td>
+	<td>label=Green</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>ClientResultID</td>
+	<td>{"message":"client color is Green","rgb":["00","FF","00"]}</td>
+</tr>
+<tr>
+	<td>click</td>
+	<td>ServerButtonID</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>ServerResultID</td>
+	<td>client color is Green: 00FF00</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>