| A1 | <button type=submit name="button1" value="value1">ボタン1</button> |
| A2 | <button type=submit name="button1" value="value1">ボタン1</button> <button type=submit name="button2" value="value2">ボタン2</button> |
| A3 | <button type=submit name="button" value="value1">ボタン1</button> <button type=submit name="button" value="value2">ボタン2</button> |
| B1 | <input type=text name="text1" value="テキスト1"> |
| B2 | <input type=text name="text1" value="テキスト1"> <input type=text name="text2" value="テキスト2"> |
| B3 | <input type=submit name="input1" value="送信1"> |
| B4 | <input type=text name="text1" value="テキスト1"> <input type=submit name="input1" value="送信1"> |
| B5 | <input type=text name="text1" value="テキスト1"> <input type=text name="text2" value="テキスト2"> <input type=submit name="input1" value="送信1"> |
| B6 | <input type=submit name="input1" value="送信1"> <input type=submit name="input2" value="送信2"> |
| B7 | <input type=text name="text1" value="テキスト1"> <input type=submit name="input1" value="送信1"> <input type=submit name="input2" value="送信2"> |
| B8 | <input type=text name="text1" value="テキスト1"> <input type=text name="text2" value="テキスト2"> <input type=submit name="input1" value="送信1"> <input type=submit name="input2" value="送信2"> |
| C1 | <input type=hidden name="hidden" value="dummy"> <input type=button name="input1" value="送信1" onClick="submit();"> |
| C2 | <input type=text name="text1" value="テキスト1"> <input type=button name="input1" value="送信1" onClick="submit();"> |
| C3 | <input type=text name="text1" value="テキスト1"> <input type=text name="text2" value="テキスト2"> <input type=button name="input1" value="送信1" onClick="submit();"> |
操作の「送信n」は「送信n」ボタンをクリック、
「テキストn」は「テキストn」のテキストボックスで Enter を入力。
N/S はサブミットが発生してないの意。
相違のあるところは色をつけて示してある。
1つ目の相違は赤、2つ目の相違は紫。
| テスト項目 | 操作 | firefox | IE7 | IE6 | Opera9 |
|---|---|---|---|---|---|
| A1 | ボタン1 | button1=value1 | button1=ボタン1 | button1=ボタン1 | button1=value1 |
| A2 | ボタン1 | button1=value1 | button1=ボタン1 | button1=ボタン1 button2=ボタン2 | button1=value1 |
| ボタン2 | button2=value2 | button2=ボタン2 | button1=ボタン1 button2=ボタン2 | button2=value2 | |
| A3 | ボタン1 | button=value1 | button=ボタン1 | button=ボタン2 | button=value1 |
| ボタン2 | button=value2 | button=ボタン2 | button=ボタン2 | button=value2 |
| テスト項目 | 操作 | firefox | IE7 | IE6 | Opera9 |
|---|---|---|---|---|---|
| B1 | テキスト1 | text1=テキスト1 | text1=テキスト1 | text1=テキスト1 | text1=テキスト1 |
| B2 | テキスト1 | N/S | N/S | N/S | text1=テキスト1 text2=テキスト2 |
| テキスト2 | N/S | N/S | N/S | text1=テキスト1 text2=テキスト2 | |
| B3 | 送信1 | input1=送信1 | input1=送信1 | input1=送信1 | input1=送信1 |
| B4 | テキスト1 | text1=テキスト1 input1=送信1 | text1=テキスト1 | text1=テキスト1 | text1=テキスト1 input1=送信1 |
| 送信1 | text1=テキスト1 input1=送信1 | text1=テキスト1 input1=送信1 | text1=テキスト1 input1=送信1 | text1=テキスト1 input1=送信1 | |
| B5 | テキスト1 | text1=テキスト1 text2=テキスト2 input1=送信1 | text1=テキスト1 text2=テキスト2 input1=送信1 | text1=テキスト1 text2=テキスト2 input1=送信1 | text1=テキスト1 text2=テキスト2 input1=送信1 |
| テキスト2 | text1=テキスト1 text2=テキスト2 input1=送信1 | text1=テキスト1 text2=テキスト2 input1=送信1 | text1=テキスト1 text2=テキスト2 input1=送信1 | text1=テキスト1 text2=テキスト2 input1=送信1 | |
| 送信1 | text1=テキスト1 text2=テキスト2 input1=送信1 | text1=テキスト1 text2=テキスト2 input1=送信1 | text1=テキスト1 text2=テキスト2 input1=送信1 | text1=テキスト1 text2=テキスト2 input1=送信1 | |
| B6 | 送信1 | input1=送信1 | input1=送信1 | input1=送信1 | input1=送信1 |
| 送信2 | input2=送信2 | input2=送信2 | input2=送信2 | input2=送信2 | |
| B7 | テキスト1 | text1=テキスト1 input1=送信1 | text1=テキスト1 | text1=テキスト1 | text1=テキスト1 input1=送信1 |
| 送信1 | text1=テキスト1 input1=送信1 | text1=テキスト1 input1=送信1 | text1=テキスト1 input1=送信1 | text1=テキスト1 input1=送信1 | |
| 送信2 | text1=テキスト1 input2=送信2 | text1=テキスト1 input2=送信2 | text1=テキスト1 input2=送信2 | text1=テキスト1 input2=送信2 | |
| B8 | テキスト1 | text1=テキスト1 text2=テキスト2 input1=送信1 | text1=テキスト1 text2=テキスト2 input1=送信1 | text1=テキスト1 text2=テキスト2 input1=送信1 | text1=テキスト1 text2=テキスト2 input1=送信1 |
| テキスト2 | text1=テキスト1 text2=テキスト2 input1=送信1 | text1=テキスト1 text2=テキスト2 input1=送信1 | text1=テキスト1 text2=テキスト2 input1=送信1 | text1=テキスト1 text2=テキスト2 input1=送信1 | |
| 送信1 | text1=テキスト1 text2=テキスト2 input1=送信1 | text1=テキスト1 text2=テキスト2 input1=送信1 | text1=テキスト1 text2=テキスト2 input1=送信1 | text1=テキスト1 text2=テキスト2 input1=送信1 | |
| 送信2 | text1=テキスト1 text2=テキスト2 input2=送信2 | text1=テキスト1 text2=テキスト2 input2=送信2 | text1=テキスト1 text2=テキスト2 input2=送信2 | text1=テキスト1 text2=テキスト2 input2=送信2 |
| テスト項目 | 操作 | firefox | IE7 | IE6 | Opera9 |
|---|---|---|---|---|---|
| C1 | 送信1 | hidden=dummy | hidden=dummy | hidden=dummy | hidden=dummy |
| C2 | テキスト1 | text1=テキスト1 | text1=テキスト1 | text1=テキスト1 | text1=テキスト1 |
| 送信1 | text1=テキスト1 | text1=テキスト1 | text1=テキスト1 | text1=テキスト1 | |
| C3 | テキスト1 | N/S | N/S | N/S | text1=テキスト1 text2=テキスト2 |
| テキスト2 | N/S | N/S | N/S | text1=テキスト1 text2=テキスト2 | |
| 送信1 | text1=テキスト1 text2=テキスト2 | text1=テキスト1 text2=テキスト2 | text1=テキスト1 text2=テキスト2 | text1=テキスト1 text2=テキスト2 |
firefox : firefox 2.0.0.*/WinXP SP2
IE7 : IE 7.0/WinXP SP2
IE6 : IE 6.0/WinXP SP2
Opera9 : Opera 9.26/WinXP SP2
→ <button> は使いものにならないので、使わない。
→ 隠し <input type=text> を1つ以上用意して、 最初からテキストボックスが合計2つ以上になるようにして B5 の形式に丸めるのがよさそう。 隠しテキストボックスはこんな感じ。
<input type="text" name="dummy" style="display: none;">