~vasilev/psiphon/sprint3-579678

« back to all changes in this revision

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

  • Committer: Adam Pritchard
  • Date: 2010-07-16 19:31:33 UTC
  • mfrom: (95.1.8 testing-2.5)
  • Revision ID: adam@adampsidev-20100716193133-n6rxnrqwt68d0ck8
Made Selenium work; added some tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html>
2
 
        <!--
3
 
        Copyright 2006 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
 
        <head>
18
 
                <title>Select Window Base</title>
19
 
                <script type="text/javascript">
20
 
                        function openWindow() {
21
 
                                myPopupWindow = window.open('./test_select_window_popup.html', 'myPopupWindow', 'height=200,width=500,top=400,left=50');
22
 
                        }
23
 
                </script>
24
 
        </head>
25
 
        <body>
26
 
                <img style="width: 644px; height: 41px;" alt="banner" src="banner.gif" /><br />
27
 
                <button id="popupPage" onclick="openWindow();">Click here to open a popup window</button>
28
 
                <button id="popupAnonymous" onclick="javascript:window.open('./test_select_window_popup.html', 'anonymouspopup', 'height=200,width=500,top=400,left=50');">Click here to open an anonymous popup window</button>
29
 
                <button id="popupBlank" onclick="javascript:window.open('./test_select_window_popup.html', '_blank', 'height=200,width=500,top=400,left=50');">Click here to open a popup window into a _blank window</button>
30
 
        </body>
 
1
<html>
 
2
        <!--
 
3
        Copyright 2006 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
        <head>
 
18
                <title>Select Window Base</title>
 
19
                <script type="text/javascript">
 
20
                        function openWindow() {
 
21
                                myPopupWindow = window.open('./test_select_window_popup.html', 'myPopupWindow', 'height=200,width=500,top=400,left=50');
 
22
                        }
 
23
                </script>
 
24
        </head>
 
25
        <body>
 
26
                <img style="width: 644px; height: 41px;" alt="banner" src="banner.gif" /><br />
 
27
                <button id="popupPage" onclick="openWindow();">Click here to open a popup window</button>
 
28
                <button id="popupAnonymous" onclick="javascript:window.open('./test_select_window_popup.html', 'anonymouspopup', 'height=200,width=500,top=400,left=50');">Click here to open an anonymous popup window</button>
 
29
                <button id="popupBlank" onclick="javascript:window.open('./test_select_window_popup.html', '_blank', 'height=200,width=500,top=400,left=50');">Click here to open a popup window into a _blank window</button>
 
30
        </body>
31
31
</html>
 
 
b'\\ No newline at end of file'