TimeTrex/vendor/phpunit/phpunit-selenium/selenium-1-tests/html/test_select.html

50 lines
1.8 KiB
HTML
Raw Normal View History

2022-12-13 07:10:06 +01:00
<html>
<!--
Copyright 2006 ThoughtWorks, Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html">
</head>
<body>
<img style="width: 644px; height: 41px;" alt="banner" src="banner.gif"><br>
<h3>Test for selecting options from a Selection.</h3>
<br>
<form name="myform">
<select name="theSelect" id="theSelect">
<option value="option1" id="o1">First Option</option>
<option value="option2" id="o2" selected="true">Second Option</option>
<option value="option3" id="o3">Third Option</option>
<option value="option4" id="o4">Fourth Option</option>
<option value="option5" id="o4">Fifth Option</option>
<option value="option6" id="o6">Sixth Option</option>
<option value="" id="o7">Empty Value Option</option>
<option value="option8" id="o8"></option>
</select>
<br>
<input name="theInput">
<select name="secondSelect" id="secondSelect">
<option value="option1">First Option</option>
<option value="option2" selected="true">Second Option</option>
</select>
<select id="selectWithOptgroup">
<optgroup>
<option value="1">First</option>
<option value="2">Second</option>
</optgroup>
</select>
</form>
</body>
</html>