]> source.dussan.org Git - sonarqube.git/blob
2e863a48bbbbed879e705763bc29ebbca0b0673f
[sonarqube.git] /
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>copy_a_provided_profile_and_modify_a_rule_param</title>
8 </head>
9 <body>
10 <table cellpadding="1" cellspacing="1" border="1">
11   <thead>
12   <tr>
13     <td rowspan="1" colspan="3">copy_a_provided_profile_and_modify_a_rule_param</td>
14   </tr>
15   </thead>
16   <tbody>
17   <tr>
18     <td>store</td>
19     <td>javascript{'profile_'+(new Date()).getTime()}</td>
20     <td>PROFILE</td>
21   </tr>
22   <tr>
23     <td>open</td>
24     <td>/sessions/logout</td>
25     <td></td>
26   </tr>
27   <tr>
28     <td>open</td>
29     <td>/sessions/login</td>
30     <td></td>
31   </tr>
32 <tr>
33         <td>type</td>
34         <td>login</td>
35         <td>admin</td>
36 </tr>
37   <tr>
38     <td>type</td>
39     <td>password</td>
40     <td>admin</td>
41   </tr>
42   <tr>
43     <td>clickAndWait</td>
44     <td>commit</td>
45     <td></td>
46   </tr>
47   <tr>
48     <td>open</td>
49     <td>/profiles</td>
50     <td></td>
51   </tr>
52   <tr>
53     <td>answerOnNextPrompt</td>
54     <td>${PROFILE}</td>
55     <td></td>
56   </tr>
57   <tr>
58     <td>clickAndWait</td>
59     <td>copy_java_Sonar%20way</td>
60     <td></td>
61   </tr>
62   <tr>
63     <td>assertPromptPresent</td>
64     <td>Name for the new profile</td>
65     <td></td>
66   </tr>
67   <tr>
68     <td>verifyTextPresent</td>
69     <td>${PROFILE}</td>
70     <td></td>
71   </tr>
72   <tr>
73     <td>assertElementPresent</td>
74     <td>rules-java-${PROFILE}</td>
75     <td></td>
76   </tr>
77   <tr>
78     <td>clickAndWait</td>
79     <td>rules-java-${PROFILE}</td>
80     <td></td>
81   </tr>
82   <tr>
83     <td>type</td>
84     <td>searchtext</td>
85     <td>Anon Inner Length</td>
86   </tr>
87   <tr>
88     <td>clickAndWait</td>
89     <td>submit_search</td>
90     <td></td>
91   </tr>
92   <tr>
93     <td>click</td>
94     <td>link=Anon Inner Length</td>
95     <td></td>
96   </tr>
97   <tr>
98     <td>type</td>
99     <td>value</td>
100     <td>5</td>
101   </tr>
102   <tr>
103     <td>click</td>
104     <td>//input[@name='commit' and @value='update']</td>
105     <td></td>
106   </tr>
107   <tr>
108     <td>type</td>
109     <td>searchtext</td>
110     <td>Anon Inner Length</td>
111   </tr>
112   <tr>
113     <td>clickAndWait</td>
114     <td>submit_search</td>
115     <td></td>
116   </tr>
117   <tr>
118     <td>click</td>
119     <td>link=Anon Inner Length</td>
120     <td></td>
121   </tr>
122   <tr>
123     <td>waitForTextPresent</td>
124     <td></td>
125     <td>anonymous inner classes</td>
126   </tr>
127   <tr>
128     <td>assertValue</td>
129     <td>value</td>
130     <td>5</td>
131   </tr>
132   <tr>
133     <td>open</td>
134     <td>/profiles</td>
135     <td></td>
136   </tr>
137   <tr>
138     <td>chooseOkOnNextConfirmation</td>
139     <td></td>
140     <td></td>
141   </tr>
142   <tr>
143     <td>click</td>
144     <td>delete_java_${PROFILE}</td>
145     <td></td>
146   </tr>
147   <tr>
148     <td>assertConfirmation</td>
149     <td>Are you sure that you want to delete the profile '${PROFILE}' ?</td>
150     <td></td>
151   </tr>
152
153   </tbody>
154 </table>
155 </body>
156 </html>