~testplan-team/testplan/source-collection

« back to all changes in this revision

Viewing changes to selenium-core-1.0.1/tests/events/TestRadioEvents.html

  • Committer: edA-qa mort-ora-y
  • Date: 2009-07-02 09:23:56 UTC
  • Revision ID: eda-qa@disemia.com-20090702092356-w9rxifuvlva3bk31
upgradingĀ selenium

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<!--
 
3
Copyright 2004 ThoughtWorks, Inc
 
4
 
 
5
 Licensed under the Apache License, Version 2.0 (the "License");
 
6
 you may not use this file except in compliance with the License.
 
7
 You may obtain a copy of the License at
 
8
 
 
9
     http://www.apache.org/licenses/LICENSE-2.0
 
10
 
 
11
 Unless required by applicable law or agreed to in writing, software
 
12
 distributed under the License is distributed on an "AS IS" BASIS,
 
13
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
14
 See the License for the specific language governing permissions and
 
15
 limitations under the License.
 
16
-->
 
17
<html>
 
18
<head>
 
19
  <meta content="text/html; charset=ISO-8859-1"
 
20
 http-equiv="content-type">
 
21
  <title>Test Radio Button Events</title>
 
22
  <script language="JavaScript" type="text/javascript" src="../../core/scripts/selenium-browserdetect.js"></script>
 
23
  <script language="JavaScript" type="text/javascript" src="../../tests/filter-tests-for-browser.js"></script>
 
24
</head>
 
25
<body>
 
26
<table cellpadding="1" cellspacing="1" border="1">
 
27
  <tbody>
 
28
    <tr>
 
29
      <td rowspan="1" colspan="3">Test Radio Button Events<br>
 
30
      </td>
 
31
    </tr>
 
32
    <tr>
 
33
      <td>open</td>
 
34
      <td>../tests/html/test_form_events.html</td>
 
35
      <td>&nbsp;</td>
 
36
    </tr>
 
37
    <tr>
 
38
      <td>verifyValue</td>
 
39
      <td>theRadio1</td>
 
40
      <td>off</td>
 
41
    </tr>
 
42
    <tr>
 
43
      <td>verifyValue</td>
 
44
      <td>theRadio2</td>
 
45
      <td>off</td>
 
46
    </tr>
 
47
    <tr>
 
48
      <td>verifyValue</td>
 
49
      <td>eventlog</td>
 
50
      <td>&nbsp;</td>
 
51
    </tr>
 
52
        
 
53
   <tr>
 
54
      <td>click</td>
 
55
      <td>theRadio1</td>
 
56
      <td>&nbsp;</td>
 
57
    </tr>
 
58
    <tr>
 
59
      <td>verifyValue</td>
 
60
      <td>theRadio1</td>
 
61
      <td>on</td>
 
62
    </tr>
 
63
    <tr>
 
64
      <td>verifyValue</td>
 
65
      <td>theRadio2</td>
 
66
      <td>off</td>
 
67
    </tr>
 
68
    <tr>
 
69
      <td>verifyValue</td>
 
70
      <td>eventlog</td>
 
71
      <td>{focus(theRadio1)} *</td>
 
72
    </tr>
 
73
    <tr>
 
74
      <td>verifyValue</td>
 
75
      <td>eventlog</td>
 
76
      <td>*{click(theRadio1)}*</td>
 
77
    </tr>
 
78
    <tr if="!browserVersion.isSafari">
 
79
      <td>verifyValue</td>
 
80
      <td>eventlog</td>
 
81
      <td>*{change(theRadio1)}*</td>
 
82
    </tr>
 
83
    
 
84
 
 
85
    <tr>
 
86
      <td>type</td>
 
87
      <td>eventlog</td>
 
88
      <td>&nbsp;</td>
 
89
    </tr>
 
90
    <tr>
 
91
      <td>click</td>
 
92
      <td>theRadio2</td>
 
93
      <td></td>
 
94
    </tr>
 
95
    <tr>
 
96
      <td>verifyValue</td>
 
97
      <td>theRadio1</td>
 
98
      <td>off</td>
 
99
    </tr>
 
100
    <tr>
 
101
      <td>verifyValue</td>
 
102
      <td>theRadio2</td>
 
103
      <td>on</td>
 
104
    </tr>
 
105
    <tr>
 
106
      <td>verifyValue</td>
 
107
      <td>eventlog</td>
 
108
      <td>{focus(theRadio2)} *</td>
 
109
    </tr>
 
110
    <tr>
 
111
      <td>verifyValue</td>
 
112
      <td>eventlog</td>
 
113
      <td>*{click(theRadio2)}*</td>
 
114
    </tr>
 
115
    <tr if="!browserVersion.isSafari">
 
116
      <td>verifyValue</td>
 
117
      <td>eventlog</td>
 
118
      <td>*{change(theRadio2)}*</td>
 
119
    </tr>
 
120
   
 
121
 
 
122
    <tr>
 
123
      <td>type</td>
 
124
      <td>eventlog</td>
 
125
      <td>&nbsp;</td>
 
126
    </tr>
 
127
    <tr>
 
128
      <td>click</td>
 
129
      <td>theRadio2</td>
 
130
      <td></td>
 
131
    </tr>
 
132
    <tr>
 
133
      <td>verifyValue</td>
 
134
      <td>theRadio1</td>
 
135
      <td>off</td>
 
136
    </tr>
 
137
    <tr>
 
138
      <td>verifyValue</td>
 
139
      <td>theRadio2</td>
 
140
      <td>on</td>
 
141
    </tr>
 
142
    <tr>
 
143
      <td>verifyValue</td>
 
144
      <td>eventlog</td>
 
145
      <td>{focus(theRadio2)} {click(theRadio2)}</td>
 
146
    </tr>
 
147
  </tbody>
 
148
</table>
 
149
</body>
 
150
</html>