~t7-vla7-lz/psiphon/psiphon

« back to all changes in this revision

Viewing changes to trunk/testing/selenium_scripts/selenium/tests/TestEvilClosingWindow.html

  • Committer: Eugene Fryntov
  • Date: 2016-11-15 22:13:59 UTC
  • mfrom: (373.1.1 psiphon)
  • Revision ID: e.fryntov@psiphon.ca-20161115221359-f6s56ue1a54n4ijj
merged lp:~t7-vla7-lz/psiphon/psiphon @ 374

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 SelectWindow</title>
22
 
</head>
23
 
<body>
24
 
<table cellpadding="1" cellspacing="1" border="1">
25
 
  <tbody>
26
 
    <tr>
27
 
      <td rowspan="1" colspan="3">Test selectWindow<br>
28
 
      </td>
29
 
    </tr>
30
 
    <tr>
31
 
      <td>open</td>
32
 
      <td>../tests/html/test_select_window.html</td>
33
 
      <td>&nbsp;</td>
34
 
    </tr>
35
 
    <tr>
36
 
      <td>click</td>
37
 
      <td>popupPage</td>
38
 
      <td></td>
39
 
    </tr>
40
 
    <tr>
41
 
      <td>waitForPopUp</td>
42
 
      <td>myPopupWindow</td>
43
 
      <td>5000</td>
44
 
    </tr>
45
 
    <tr>
46
 
      <td>selectWindow</td>
47
 
      <td>myPopupWindow</td>
48
 
      <td>&nbsp;</td>
49
 
    </tr>
50
 
    <tr>
51
 
      <td>verifyLocation</td>
52
 
      <td>*/tests/html/test_select_window_popup.html</td>
53
 
      <td>&nbsp;</td>
54
 
    </tr>
55
 
    <tr>
56
 
      <td>close</td>
57
 
      <td></td>
58
 
      <td></td>
59
 
    </tr>
60
 
    <tr>
61
 
      <td>assertErrorOnNext</td>
62
 
      <td>Current window or frame is closed!</td>
63
 
      <td></td>
64
 
    </tr>
65
 
    <tr>
66
 
      <td>verifyLocation</td>
67
 
      <td>*/tests/html/test_select_window_popup.html</td>
68
 
      <td>&nbsp;</td>
69
 
    </tr>
70
 
  </tbody>
71
 
</table>
72
 
 
73
 
<p>Leave the test in a selected window - the next test should begin in the main window</p>
74
 
 
75
 
</body>
76
 
</html>