Changeset 43a4b711 in vaadin


Ignore:
Timestamp:
Feb 23, 2012 11:54:29 AM (3 years ago)
Author:
Leif Åstrand <leif@…>
Branches:
master, 7.0, 7.1, 7.2, 7.3, 7.4
Children:
ec992f0d9
Parents:
e896a349
git-author:
Leif Åstrand <leif@…> (02/23/12 11:52:39)
git-committer:
Leif Åstrand <leif@…> (02/23/12 11:54:29)
Message:

Remove java envelope from test script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/testbench/com/vaadin/tests/fieldgroup/BooleanTextField.html

    r68ba830d r43a4b711  
    1 package com.vaadin.tests.fieldgroup; 
    2  
    3 public class BooleanTextField_html { 
    4     <?xml version="1.0" encoding="UTF-8"?> 
    5     <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
    6     <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 
    7     <head profile="http://selenium-ide.openqa.org/profiles/test-case"> 
    8     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
    9     <link rel="selenium.base" href="" /> 
    10     <title>New Test</title> 
    11     </head> 
    12     <body> 
    13     <table cellpadding="1" cellspacing="1" border="1"> 
    14     <thead> 
    15     <tr><td rowspan="1" colspan="3">New Test</td></tr> 
    16     </thead><tbody> 
    17     <tr> 
    18         <td>open</td> 
    19         <td>/run/com.vaadin.tests.fieldgroup.BasicPersonForm?restartApplication</td> 
    20         <td></td> 
    21     </tr> 
    22     <tr> 
    23         <td>screenCapture</td> 
    24         <td></td> 
    25         <td>initial</td> 
    26     </tr> 
    27     <tr> 
    28         <td>mouseClick</td> 
    29         <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[3]/VTextArea[0]</td> 
    30         <td>90,38</td> 
    31     </tr> 
    32     <tr> 
    33         <td>enterCharacter</td> 
    34         <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[3]/VTextArea[0]</td> 
    35         <td>Dover</td> 
    36     </tr> 
    37     <tr> 
    38         <td>click</td> 
    39         <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[10]/VButton[0]/domChild[0]/domChild[0]</td> 
    40         <td></td> 
    41     </tr> 
    42     <tr> 
    43         <td>assertText</td> 
    44         <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::PID_SLog_row_0</td> 
    45         <td>1. Person [firstName=John, lastName=Doe, email=john@doe.com, age=64, sex=Male, address=Address [streetAddress=John street, postalCode=11223, city=John's town, country=USA], deceased=false, salary=null, salaryDouble=null, rent=null]</td> 
    46     </tr> 
    47     <tr> 
    48         <td>drag</td> 
    49         <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[7]/VTextField[0]</td> 
    50         <td>108,9</td> 
    51     </tr> 
    52     <tr> 
    53         <td>drop</td> 
    54         <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]</td> 
    55         <td>0,587</td> 
    56     </tr> 
    57     <tr> 
    58         <td>mouseClick</td> 
    59         <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[7]/VTextField[0]</td> 
    60         <td>-18,9</td> 
    61     </tr> 
    62     <tr> 
    63         <td>enterCharacter</td> 
    64         <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[7]/VTextField[0]</td> 
    65         <td>false</td> 
    66     </tr> 
    67     <tr> 
    68         <td>mouseClick</td> 
    69         <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/domChild[0]/domChild[8]</td> 
    70         <td>239,14</td> 
    71     </tr> 
    72     <!--error indicator--> 
    73     <tr> 
    74         <td>assertCSSClass</td> 
    75         <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/domChild[0]/domChild[7]/domChild[0]/domChild[1]</td> 
    76         <td>v-errorindicator</td> 
    77     </tr> 
    78     <tr> 
    79         <td>assertValue</td> 
    80         <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[7]/VTextField[0]</td> 
    81         <td>false</td> 
    82     </tr> 
    83     <!--show bean values--> 
    84     <tr> 
    85         <td>click</td> 
    86         <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[10]/VButton[0]/domChild[0]/domChild[0]</td> 
    87         <td></td> 
    88     </tr> 
    89     <tr> 
    90         <td>assertText</td> 
    91         <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::PID_SLog_row_0</td> 
    92         <td>2. Person [firstName=John, lastName=Doe, email=john@doe.com, age=64, sex=Male, address=Address [streetAddress=John street, postalCode=11223, city=John's town, country=USA], deceased=false, salary=null, salaryDouble=null, rent=null]</td> 
    93     </tr> 
    94     <!--error message in tooltip--> 
    95     <tr> 
    96         <td>showTooltip</td> 
    97         <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[7]/VTextField[0]</td> 
    98         <td>0,0</td> 
    99     </tr> 
    100     <tr> 
    101         <td>assertText</td> 
    102         <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::Root/VTooltip[0]/FlowPanel[0]/VErrorMessage[0]/HTML[0]</td> 
    103         <td>Could not convert value to Boolean</td> 
    104     </tr> 
    105     <tr> 
    106         <td>mouseClick</td> 
    107         <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[7]/VTextField[0]</td> 
    108         <td>66,6</td> 
    109     </tr> 
    110     <tr> 
    111         <td>type</td> 
    112         <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[7]/VTextField[0]</td> 
    113         <td>YAY!</td> 
    114     </tr> 
    115     <!--no error indicator--> 
    116     <tr> 
    117         <td>assertNotCSSClass</td> 
    118         <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/domChild[0]/domChild[7]/domChild[0]/domChild[1]</td> 
    119         <td>v-errorindicator</td> 
    120     </tr> 
    121     <tr> 
    122         <td>click</td> 
    123         <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[8]/VButton[0]/domChild[0]/domChild[0]</td> 
    124         <td></td> 
    125     </tr> 
    126     <tr> 
    127         <td>closeNotification</td> 
    128         <td>//body/div[2]</td> 
    129         <td>0,0</td> 
    130     </tr> 
    131     <!--commit last name and new deceased status--> 
    132     <tr> 
    133         <td>click</td> 
    134         <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[10]/VButton[0]/domChild[0]/domChild[0]</td> 
    135         <td></td> 
    136     </tr> 
    137     <tr> 
    138         <td>assertText</td> 
    139         <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::PID_SLog_row_0</td> 
    140         <td>4. Person [firstName=John, lastName=Dover, email=john@doe.com, age=64, sex=Male, address=Address [streetAddress=John street, postalCode=11223, city=John's town, country=USA], deceased=true, salary=null, salaryDouble=null, rent=null]</td> 
    141     </tr> 
    142     </tbody></table> 
    143     </body> 
    144     </html> 
    145      
    146 } 
    147  
     1<?xml version="1.0" encoding="UTF-8"?> 
     2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
     3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 
     4<head profile="http://selenium-ide.openqa.org/profiles/test-case"> 
     5<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
     6<link rel="selenium.base" href="" /> 
     7<title>New Test</title> 
     8</head> 
     9<body> 
     10<table cellpadding="1" cellspacing="1" border="1"> 
     11<thead> 
     12<tr><td rowspan="1" colspan="3">New Test</td></tr> 
     13</thead><tbody> 
     14<tr> 
     15        <td>open</td> 
     16        <td>/run/com.vaadin.tests.fieldgroup.BasicPersonForm?restartApplication</td> 
     17        <td></td> 
     18</tr> 
     19<tr> 
     20        <td>screenCapture</td> 
     21        <td></td> 
     22        <td>initial</td> 
     23</tr> 
     24<tr> 
     25        <td>mouseClick</td> 
     26        <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[3]/VTextArea[0]</td> 
     27        <td>90,38</td> 
     28</tr> 
     29<tr> 
     30        <td>enterCharacter</td> 
     31        <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[3]/VTextArea[0]</td> 
     32        <td>Dover</td> 
     33</tr> 
     34<tr> 
     35        <td>click</td> 
     36        <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[10]/VButton[0]/domChild[0]/domChild[0]</td> 
     37        <td></td> 
     38</tr> 
     39<tr> 
     40        <td>assertText</td> 
     41        <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::PID_SLog_row_0</td> 
     42        <td>1. Person [firstName=John, lastName=Doe, email=john@doe.com, age=64, sex=Male, address=Address [streetAddress=John street, postalCode=11223, city=John's town, country=USA], deceased=false, salary=null, salaryDouble=null, rent=null]</td> 
     43</tr> 
     44<tr> 
     45        <td>drag</td> 
     46        <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[7]/VTextField[0]</td> 
     47        <td>108,9</td> 
     48</tr> 
     49<tr> 
     50        <td>drop</td> 
     51        <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]</td> 
     52        <td>0,587</td> 
     53</tr> 
     54<tr> 
     55        <td>mouseClick</td> 
     56        <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[7]/VTextField[0]</td> 
     57        <td>-18,9</td> 
     58</tr> 
     59<tr> 
     60        <td>enterCharacter</td> 
     61        <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[7]/VTextField[0]</td> 
     62        <td>false</td> 
     63</tr> 
     64<tr> 
     65        <td>mouseClick</td> 
     66        <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/domChild[0]/domChild[8]</td> 
     67        <td>239,14</td> 
     68</tr> 
     69<!--error indicator--> 
     70<tr> 
     71        <td>assertCSSClass</td> 
     72        <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/domChild[0]/domChild[7]/domChild[0]/domChild[1]</td> 
     73        <td>v-errorindicator</td> 
     74</tr> 
     75<tr> 
     76        <td>assertValue</td> 
     77        <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[7]/VTextField[0]</td> 
     78        <td>false</td> 
     79</tr> 
     80<!--show bean values--> 
     81<tr> 
     82        <td>click</td> 
     83        <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[10]/VButton[0]/domChild[0]/domChild[0]</td> 
     84        <td></td> 
     85</tr> 
     86<tr> 
     87        <td>assertText</td> 
     88        <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::PID_SLog_row_0</td> 
     89        <td>2. Person [firstName=John, lastName=Doe, email=john@doe.com, age=64, sex=Male, address=Address [streetAddress=John street, postalCode=11223, city=John's town, country=USA], deceased=false, salary=null, salaryDouble=null, rent=null]</td> 
     90</tr> 
     91<!--error message in tooltip--> 
     92<tr> 
     93        <td>showTooltip</td> 
     94        <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[7]/VTextField[0]</td> 
     95        <td>0,0</td> 
     96</tr> 
     97<tr> 
     98        <td>assertText</td> 
     99        <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::Root/VTooltip[0]/FlowPanel[0]/VErrorMessage[0]/HTML[0]</td> 
     100        <td>Could not convert value to Boolean</td> 
     101</tr> 
     102<tr> 
     103        <td>mouseClick</td> 
     104        <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[7]/VTextField[0]</td> 
     105        <td>66,6</td> 
     106</tr> 
     107<tr> 
     108        <td>type</td> 
     109        <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[7]/VTextField[0]</td> 
     110        <td>YAY!</td> 
     111</tr> 
     112<!--no error indicator--> 
     113<tr> 
     114        <td>assertNotCSSClass</td> 
     115        <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/domChild[0]/domChild[7]/domChild[0]/domChild[1]</td> 
     116        <td>v-errorindicator</td> 
     117</tr> 
     118<tr> 
     119        <td>click</td> 
     120        <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[8]/VButton[0]/domChild[0]/domChild[0]</td> 
     121        <td></td> 
     122</tr> 
     123<tr> 
     124        <td>closeNotification</td> 
     125        <td>//body/div[2]</td> 
     126        <td>0,0</td> 
     127</tr> 
     128<!--commit last name and new deceased status--> 
     129<tr> 
     130        <td>click</td> 
     131        <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[10]/VButton[0]/domChild[0]/domChild[0]</td> 
     132        <td></td> 
     133</tr> 
     134<tr> 
     135        <td>assertText</td> 
     136        <td>vaadin=runcomvaadintestsfieldgroupBasicPersonForm::PID_SLog_row_0</td> 
     137        <td>4. Person [firstName=John, lastName=Dover, email=john@doe.com, age=64, sex=Male, address=Address [streetAddress=John street, postalCode=11223, city=John's town, country=USA], deceased=true, salary=null, salaryDouble=null, rent=null]</td> 
     138</tr> 
     139</tbody></table> 
     140</body> 
     141</html> 
Note: See TracChangeset for help on using the changeset viewer.