Revision e2caa956
Von Udo Spallek vor fast 18 Jahren hinzugefügt
t/selenium/incomming/ustva-IST-Inland-linet.html | ||
---|---|---|
1 |
<html> |
|
2 |
<head> |
|
3 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
|
4 |
<title>ustva-IST-Inland-linet</title> |
|
5 |
</head> |
|
6 |
<body> |
|
7 |
<table cellpadding="1" cellspacing="1" border="1"> |
|
8 |
<thead> |
|
9 |
<tr><td rowspan="1" colspan="3">ustva-IST-Inland-linet</td></tr> |
|
10 |
</thead><tbody> |
|
11 |
<tr> |
|
12 |
<td>setTimeout</td> |
|
13 |
<td>120000</td> |
|
14 |
<td></td> |
|
15 |
</tr> |
|
16 |
<!--Create new database--> |
|
17 |
<tr> |
|
18 |
<td>selectFrame</td> |
|
19 |
<td>relative=top</td> |
|
20 |
<td></td> |
|
21 |
</tr> |
|
22 |
<tr> |
|
23 |
<td>open</td> |
|
24 |
<td>admin.pl?path=bin/mozilla/&rpw=ro26F.eQBldoA&nextsub=list_users&action=Weiter</td> |
|
25 |
<td></td> |
|
26 |
</tr> |
|
27 |
<tr> |
|
28 |
<td>assertTitle</td> |
|
29 |
<td>Lx-Office ERP Administration -</td> |
|
30 |
<td></td> |
|
31 |
</tr> |
|
32 |
<tr> |
|
33 |
<td>clickAndWait</td> |
|
34 |
<td>document.forms[0].action[2]</td> |
|
35 |
<td></td> |
|
36 |
</tr> |
|
37 |
<tr> |
|
38 |
<td>assertTitle</td> |
|
39 |
<td>Lx-Office ERP / Datenbankadministration -</td> |
|
40 |
<td></td> |
|
41 |
</tr> |
|
42 |
<tr> |
|
43 |
<td>selectWindow</td> |
|
44 |
<td>null</td> |
|
45 |
<td></td> |
|
46 |
</tr> |
|
47 |
<tr> |
|
48 |
<td>clickAndWait</td> |
|
49 |
<td>action</td> |
|
50 |
<td></td> |
|
51 |
</tr> |
|
52 |
<tr> |
|
53 |
<td>assertTitle</td> |
|
54 |
<td>Lx-Office ERP Datenbankadministration / Datenbank anlegen -</td> |
|
55 |
<td></td> |
|
56 |
</tr> |
|
57 |
<tr> |
|
58 |
<td>type</td> |
|
59 |
<td>db</td> |
|
60 |
<td>Selenium_Testdb-_SKR03_IST_1619_2006_2007</td> |
|
61 |
</tr> |
|
62 |
<tr> |
|
63 |
<td>click</td> |
|
64 |
<td>document.forms[0].chart[2]</td> |
|
65 |
<td></td> |
|
66 |
</tr> |
|
67 |
<tr> |
|
68 |
<td>clickAndWait</td> |
|
69 |
<td>action</td> |
|
70 |
<td></td> |
|
71 |
</tr> |
|
72 |
<tr> |
|
73 |
<td>clickAndWait</td> |
|
74 |
<td>action</td> |
|
75 |
<td></td> |
|
76 |
</tr> |
|
77 |
<!--Benutzer anlegen--> |
|
78 |
<!--Achtung, Benutzer nicht neu anlegen, wg. Bug in der Benutzerverwaltung i.Zshg. mit neuen Vorlagen--> |
|
79 |
<!--Benutzer mit datanbank verknüpfen--> |
|
80 |
<tr> |
|
81 |
<td>clickAndWait</td> |
|
82 |
<td>demo-1619</td> |
|
83 |
<td></td> |
|
84 |
</tr> |
|
85 |
<tr> |
|
86 |
<td>assertTitle</td> |
|
87 |
<td>Lx-Office ERP Administration / Benutzerdaten bearbeiten -</td> |
|
88 |
<td></td> |
|
89 |
</tr> |
|
90 |
<tr> |
|
91 |
<td>type</td> |
|
92 |
<td>Pg_dbname</td> |
|
93 |
<td>Selenium_Testdb-_SKR03_IST_1619_2006_2007</td> |
|
94 |
</tr> |
|
95 |
<tr> |
|
96 |
<td>clickAndWait</td> |
|
97 |
<td>action</td> |
|
98 |
<td></td> |
|
99 |
</tr> |
|
100 |
<!--Login--> |
|
101 |
<tr> |
|
102 |
<td>assertTitle</td> |
|
103 |
<td>Lx-Office ERP Administration -</td> |
|
104 |
<td></td> |
|
105 |
</tr> |
|
106 |
<tr> |
|
107 |
<td>type</td> |
|
108 |
<td>login</td> |
|
109 |
<td>demo-1619</td> |
|
110 |
</tr> |
|
111 |
<tr> |
|
112 |
<td>type</td> |
|
113 |
<td>password</td> |
|
114 |
<td>demo</td> |
|
115 |
</tr> |
|
116 |
<tr> |
|
117 |
<td>clickAndWait</td> |
|
118 |
<td>document.forms[1].action</td> |
|
119 |
<td></td> |
|
120 |
</tr> |
|
121 |
<!--Datenbankaktualisierung--> |
|
122 |
<tr> |
|
123 |
<td>assertTitle</td> |
|
124 |
<td>Datenbankaktualisierung - Lx-Office Version 2.4.1 - -</td> |
|
125 |
<td></td> |
|
126 |
</tr> |
|
127 |
<tr> |
|
128 |
<td>clickAndWait</td> |
|
129 |
<td>//input[@value='Weiter']</td> |
|
130 |
<td></td> |
|
131 |
</tr> |
|
132 |
<tr> |
|
133 |
<td>assertTitle</td> |
|
134 |
<td>Lx-Office Version 2.4.1 - Testbenutzer - Selenium_Testdb-_SKR03_IST_1619_2006_2007</td> |
|
135 |
<td></td> |
|
136 |
</tr> |
|
137 |
<!--USTVA Einstellungen--> |
|
138 |
<!--Ist-Versteuert, monatliche Abgabe--> |
|
139 |
<tr> |
|
140 |
<td>selectFrame</td> |
|
141 |
<td>relative=top</td> |
|
142 |
<td></td> |
|
143 |
</tr> |
|
144 |
<tr> |
|
145 |
<td>click</td> |
|
146 |
<td>link=UStVa Einstellungen</td> |
|
147 |
<td></td> |
|
148 |
</tr> |
|
149 |
<tr> |
|
150 |
<td>selectFrame</td> |
|
151 |
<td>main_window</td> |
|
152 |
<td></td> |
|
153 |
</tr> |
|
154 |
<tr> |
|
155 |
<td>waitForPageToLoad</td> |
|
156 |
<td>120000</td> |
|
157 |
<td></td> |
|
158 |
</tr> |
|
159 |
<tr> |
|
160 |
<td>select</td> |
|
161 |
<td>elsterland_new</td> |
|
162 |
<td>label=Nordrhein Westfalen</td> |
|
163 |
</tr> |
|
164 |
<tr> |
|
165 |
<td>select</td> |
|
166 |
<td>elsterFFFF_new</td> |
|
167 |
<td>label=Aachen-Innenstadt (5201)</td> |
|
168 |
</tr> |
|
169 |
<tr> |
|
170 |
<td>click</td> |
|
171 |
<td>cash</td> |
|
172 |
<td></td> |
|
173 |
</tr> |
|
174 |
<tr> |
|
175 |
<td>click</td> |
|
176 |
<td>month</td> |
|
177 |
<td></td> |
|
178 |
</tr> |
|
179 |
<tr> |
|
180 |
<td>clickAndWait</td> |
|
181 |
<td>action</td> |
|
182 |
<td></td> |
|
183 |
</tr> |
|
184 |
<tr> |
|
185 |
<td>select</td> |
|
186 |
<td>part_1_1</td> |
|
187 |
<td>label=1</td> |
|
188 |
</tr> |
|
189 |
<tr> |
|
190 |
<td>select</td> |
|
191 |
<td>part_1_2</td> |
|
192 |
<td>label=2</td> |
|
193 |
</tr> |
|
194 |
<tr> |
|
195 |
<td>select</td> |
|
196 |
<td>part_1_3</td> |
|
197 |
<td>label=3</td> |
|
198 |
</tr> |
|
199 |
<tr> |
|
200 |
<td>select</td> |
|
201 |
<td>part_1_4</td> |
|
202 |
<td>label=4</td> |
|
203 |
</tr> |
|
204 |
<tr> |
|
205 |
<td>select</td> |
|
206 |
<td>part_2_1</td> |
|
207 |
<td>label=5</td> |
|
208 |
</tr> |
|
209 |
<tr> |
|
210 |
<td>select</td> |
|
211 |
<td>part_2_2</td> |
|
212 |
<td>label=6</td> |
|
213 |
</tr> |
|
214 |
<tr> |
|
215 |
<td>select</td> |
|
216 |
<td>part_2_3</td> |
|
217 |
<td>label=7</td> |
|
218 |
</tr> |
|
219 |
<tr> |
|
220 |
<td>select</td> |
|
221 |
<td>part_2_4</td> |
|
222 |
<td>label=8</td> |
|
223 |
</tr> |
|
224 |
<tr> |
|
225 |
<td>clickAndWait</td> |
|
226 |
<td>document.elsterform.action[1]</td> |
|
227 |
<td></td> |
|
228 |
</tr> |
|
229 |
<!--Testkunde anlegen--> |
|
230 |
<tr> |
|
231 |
<td>selectFrame</td> |
|
232 |
<td>relative=top</td> |
|
233 |
<td></td> |
|
234 |
</tr> |
|
235 |
<tr> |
|
236 |
<td>click</td> |
|
237 |
<td>link=Kunde erfassen</td> |
|
238 |
<td></td> |
|
239 |
</tr> |
|
240 |
<tr> |
|
241 |
<td>selectFrame</td> |
|
242 |
<td>main_window</td> |
|
243 |
<td></td> |
|
244 |
</tr> |
|
245 |
<tr> |
|
246 |
<td>waitForPageToLoad</td> |
|
247 |
<td>120000</td> |
|
248 |
<td></td> |
|
249 |
</tr> |
|
250 |
<tr> |
|
251 |
<td>type</td> |
|
252 |
<td>name</td> |
|
253 |
<td>Testkunde</td> |
|
254 |
</tr> |
|
255 |
<tr> |
|
256 |
<td>clickAndWait</td> |
|
257 |
<td>action</td> |
|
258 |
<td></td> |
|
259 |
</tr> |
|
260 |
<!--Testware anlegen--> |
|
261 |
<tr> |
|
262 |
<td>selectFrame</td> |
|
263 |
<td>relative=top</td> |
|
264 |
<td></td> |
|
265 |
</tr> |
|
266 |
<tr> |
|
267 |
<td>click</td> |
|
268 |
<td>link=Ware erfassen</td> |
|
269 |
<td></td> |
|
270 |
</tr> |
|
271 |
<tr> |
|
272 |
<td>selectFrame</td> |
|
273 |
<td>main_window</td> |
|
274 |
<td></td> |
|
275 |
</tr> |
|
276 |
<tr> |
|
277 |
<td>waitForPageToLoad</td> |
|
278 |
<td>120000</td> |
|
279 |
<td></td> |
|
280 |
</tr> |
|
281 |
<tr> |
|
282 |
<td>type</td> |
|
283 |
<td>description</td> |
|
284 |
<td>Testware</td> |
|
285 |
</tr> |
|
286 |
<tr> |
|
287 |
<td>select</td> |
|
288 |
<td>buchungsgruppen_id</td> |
|
289 |
<td>label=Standard 16%/19%</td> |
|
290 |
</tr> |
|
291 |
<tr> |
|
292 |
<td>type</td> |
|
293 |
<td>sellprice</td> |
|
294 |
<td>100</td> |
|
295 |
</tr> |
|
296 |
<tr> |
|
297 |
<td>clickAndWait</td> |
|
298 |
<td>document.ic.action[1]</td> |
|
299 |
<td></td> |
|
300 |
</tr> |
|
301 |
<!--1. Rechnung--> |
|
302 |
<!--03-2007 Rechnungsdatum--> |
|
303 |
<!--Kein Lieferdatum--> |
|
304 |
<!--03-2007 Zahlungsdatum--> |
|
305 |
<tr> |
|
306 |
<td>selectFrame</td> |
|
307 |
<td>relative=top</td> |
|
308 |
<td></td> |
|
309 |
</tr> |
|
310 |
<tr> |
|
311 |
<td>click</td> |
|
312 |
<td>link=Rechnung erfassen</td> |
|
313 |
<td></td> |
|
314 |
</tr> |
|
315 |
<tr> |
|
316 |
<td>selectFrame</td> |
|
317 |
<td>main_window</td> |
|
318 |
<td></td> |
|
319 |
</tr> |
|
320 |
<tr> |
|
321 |
<td>waitForPageToLoad</td> |
|
322 |
<td>120000</td> |
|
323 |
<td></td> |
|
324 |
</tr> |
|
325 |
<tr> |
|
326 |
<td>type</td> |
|
327 |
<td>invnumber</td> |
|
328 |
<td>1</td> |
|
329 |
</tr> |
|
330 |
<tr> |
|
331 |
<td>type</td> |
|
332 |
<td>partnumber_1</td> |
|
333 |
<td>1</td> |
|
334 |
</tr> |
|
335 |
<tr> |
|
336 |
<td>type</td> |
|
337 |
<td>invdate</td> |
|
338 |
<td>1.3.2007</td> |
|
339 |
</tr> |
|
340 |
<tr> |
|
341 |
<td>type</td> |
|
342 |
<td>datepaid_1</td> |
|
343 |
<td>10.3.2007</td> |
|
344 |
</tr> |
|
345 |
<tr> |
|
346 |
<td>type</td> |
|
347 |
<td>source_1</td> |
|
348 |
<td>1</td> |
|
349 |
</tr> |
|
350 |
<tr> |
|
351 |
<td>type</td> |
|
352 |
<td>memo_1</td> |
|
353 |
<td>1</td> |
|
354 |
</tr> |
|
355 |
<tr> |
|
356 |
<td>type</td> |
|
357 |
<td>paid_1</td> |
|
358 |
<td>119</td> |
|
359 |
</tr> |
|
360 |
<tr> |
|
361 |
<td>clickAndWait</td> |
|
362 |
<td>document.invoice.action[6]</td> |
|
363 |
<td></td> |
|
364 |
</tr> |
|
365 |
<tr> |
|
366 |
<td>clickAndWait</td> |
|
367 |
<td>document.invoice.action[6]</td> |
|
368 |
<td></td> |
|
369 |
</tr> |
|
370 |
<!--2. Rechnung: --> |
|
371 |
<!--11-2006 Rechnungsdatum--> |
|
372 |
<!--Kein Lieferdatum--> |
|
373 |
<!--01-2007 Zahlungsdatum--> |
|
374 |
<tr> |
|
375 |
<td>selectFrame</td> |
|
376 |
<td>relative=top</td> |
|
377 |
<td></td> |
|
378 |
</tr> |
|
379 |
<tr> |
|
380 |
<td>click</td> |
|
381 |
<td>link=Rechnung erfassen</td> |
|
382 |
<td></td> |
|
383 |
</tr> |
|
384 |
<tr> |
|
385 |
<td>selectFrame</td> |
|
386 |
<td>main_window</td> |
|
387 |
<td></td> |
|
388 |
</tr> |
|
389 |
<tr> |
|
390 |
<td>waitForPageToLoad</td> |
|
391 |
<td>120000</td> |
|
392 |
<td></td> |
|
393 |
</tr> |
|
394 |
<tr> |
|
395 |
<td>type</td> |
|
396 |
<td>invnumber</td> |
|
397 |
<td>2</td> |
|
398 |
</tr> |
|
399 |
<tr> |
|
400 |
<td>type</td> |
|
401 |
<td>invdate</td> |
|
402 |
<td>11.11.2006</td> |
|
403 |
</tr> |
|
404 |
<tr> |
|
405 |
<td>type</td> |
|
406 |
<td>datepaid_1</td> |
|
407 |
<td>20.11.2006</td> |
|
408 |
</tr> |
|
409 |
<tr> |
|
410 |
<td>type</td> |
|
411 |
<td>partnumber_1</td> |
|
412 |
<td>1</td> |
|
413 |
</tr> |
|
414 |
<tr> |
|
415 |
<td>type</td> |
|
416 |
<td>source_1</td> |
|
417 |
<td>4</td> |
|
418 |
</tr> |
|
419 |
<tr> |
|
420 |
<td>type</td> |
|
421 |
<td>memo_1</td> |
|
422 |
<td>4</td> |
|
423 |
</tr> |
|
424 |
<tr> |
|
425 |
<td>type</td> |
|
426 |
<td>paid_1</td> |
|
427 |
<td>116</td> |
|
428 |
</tr> |
|
429 |
<tr> |
|
430 |
<td>clickAndWait</td> |
|
431 |
<td>document.invoice.action[6]</td> |
|
432 |
<td></td> |
|
433 |
</tr> |
|
434 |
<tr> |
|
435 |
<td>clickAndWait</td> |
|
436 |
<td>document.invoice.action[6]</td> |
|
437 |
<td></td> |
|
438 |
</tr> |
|
439 |
<!--3. Rechnung: --> |
|
440 |
<!--12-2006 Rechnungsdatum--> |
|
441 |
<!--12-2006 Lieferdatum--> |
|
442 |
<!--12-2006 Zahlungsdatum--> |
|
443 |
<tr> |
|
444 |
<td>selectFrame</td> |
|
445 |
<td>relative=top</td> |
|
446 |
<td></td> |
|
447 |
</tr> |
|
448 |
<tr> |
|
449 |
<td>click</td> |
|
450 |
<td>link=Rechnung erfassen</td> |
|
451 |
<td></td> |
|
452 |
</tr> |
|
453 |
<tr> |
|
454 |
<td>selectFrame</td> |
|
455 |
<td>main_window</td> |
|
456 |
<td></td> |
|
457 |
</tr> |
|
458 |
<tr> |
|
459 |
<td>waitForPageToLoad</td> |
|
460 |
<td>120000</td> |
|
461 |
<td></td> |
|
462 |
</tr> |
|
463 |
<tr> |
|
464 |
<td>type</td> |
|
465 |
<td>invnumber</td> |
|
466 |
<td>3</td> |
|
467 |
</tr> |
|
468 |
<tr> |
|
469 |
<td>type</td> |
|
470 |
<td>duedate</td> |
|
471 |
<td>10.12.2006</td> |
|
472 |
</tr> |
|
473 |
<tr> |
|
474 |
<td>type</td> |
|
475 |
<td>partnumber_1</td> |
|
476 |
<td>1</td> |
|
477 |
</tr> |
|
478 |
<tr> |
|
479 |
<td>clickAndWait</td> |
|
480 |
<td>update_button</td> |
|
481 |
<td></td> |
|
482 |
</tr> |
|
483 |
<tr> |
|
484 |
<td>verifyTextPresent</td> |
|
485 |
<td>Umsatzsteuer 19%</td> |
|
486 |
<td></td> |
|
487 |
</tr> |
|
488 |
<tr> |
|
489 |
<td>verifyTextPresent</td> |
|
490 |
<td>19,00</td> |
|
491 |
<td></td> |
|
492 |
</tr> |
|
493 |
<tr> |
|
494 |
<td>type</td> |
|
495 |
<td>deliverydate</td> |
|
496 |
<td>15.12.2006</td> |
|
497 |
</tr> |
|
498 |
<tr> |
|
499 |
<td>clickAndWait</td> |
|
500 |
<td>update_button</td> |
|
501 |
<td></td> |
|
502 |
</tr> |
|
503 |
<tr> |
|
504 |
<td>verifyTextPresent</td> |
|
505 |
<td>Umsatzsteuer 16%</td> |
|
506 |
<td></td> |
|
507 |
</tr> |
|
508 |
<tr> |
|
509 |
<td>verifyTextPresent</td> |
|
510 |
<td>16,00</td> |
|
511 |
<td></td> |
|
512 |
</tr> |
|
513 |
<tr> |
|
514 |
<td>type</td> |
|
515 |
<td>datepaid_1</td> |
|
516 |
<td>20.12.2006</td> |
|
517 |
</tr> |
|
518 |
<tr> |
|
519 |
<td>type</td> |
|
520 |
<td>source_1</td> |
|
521 |
<td>4</td> |
|
522 |
</tr> |
|
523 |
<tr> |
|
524 |
<td>type</td> |
|
525 |
<td>memo_1</td> |
|
526 |
<td>4</td> |
|
527 |
</tr> |
|
528 |
<tr> |
|
529 |
<td>type</td> |
|
530 |
<td>paid_1</td> |
|
531 |
<td>116</td> |
|
532 |
</tr> |
|
533 |
<tr> |
|
534 |
<td>clickAndWait</td> |
|
535 |
<td>document.invoice.action[6]</td> |
|
536 |
<td></td> |
|
537 |
</tr> |
|
538 |
<!--4. Rechnung: --> |
|
539 |
<!--08-2006 Rechnungsdatum--> |
|
540 |
<!--09-2006 Lieferdatum--> |
|
541 |
<!--02-2007 Zahlungsdatum--> |
|
542 |
<tr> |
|
543 |
<td>selectFrame</td> |
|
544 |
<td>relative=top</td> |
|
545 |
<td></td> |
|
546 |
</tr> |
|
547 |
<tr> |
|
548 |
<td>click</td> |
|
549 |
<td>link=Rechnung erfassen</td> |
|
550 |
<td></td> |
|
551 |
</tr> |
|
552 |
<tr> |
|
553 |
<td>selectFrame</td> |
|
554 |
<td>main_window</td> |
|
555 |
<td></td> |
|
556 |
</tr> |
|
557 |
<tr> |
|
558 |
<td>waitForPageToLoad</td> |
|
559 |
<td>120000</td> |
|
560 |
<td></td> |
|
561 |
</tr> |
|
562 |
<tr> |
|
563 |
<td>type</td> |
|
564 |
<td>invnumber</td> |
|
565 |
<td>4</td> |
|
566 |
</tr> |
|
567 |
<tr> |
|
568 |
<td>type</td> |
|
569 |
<td>invdate</td> |
|
570 |
<td>8.08.2006</td> |
|
571 |
</tr> |
|
572 |
<tr> |
|
573 |
<td>type</td> |
|
574 |
<td>deliverydate</td> |
|
575 |
<td>10.09.2006</td> |
|
576 |
</tr> |
|
577 |
<tr> |
|
578 |
<td>type</td> |
|
579 |
<td>partnumber_1</td> |
|
580 |
<td>1</td> |
|
581 |
</tr> |
|
582 |
<tr> |
|
583 |
<td>clickAndWait</td> |
|
584 |
<td>update_button</td> |
|
585 |
<td></td> |
|
586 |
</tr> |
|
587 |
<tr> |
|
588 |
<td>verifyText</td> |
|
589 |
<td>//tr[6]/td/table/tbody/tr/td[2]/table/tbody/tr[2]/td</td> |
|
590 |
<td>16,00</td> |
|
591 |
</tr> |
|
592 |
<tr> |
|
593 |
<td>type</td> |
|
594 |
<td>datepaid_1</td> |
|
595 |
<td>2.2.2007</td> |
|
596 |
</tr> |
|
597 |
<tr> |
|
598 |
<td>type</td> |
|
599 |
<td>source_1</td> |
|
600 |
<td>7</td> |
|
601 |
</tr> |
|
602 |
<tr> |
|
603 |
<td>type</td> |
|
604 |
<td>memo_1</td> |
|
605 |
<td>7</td> |
|
606 |
</tr> |
|
607 |
<tr> |
|
608 |
<td>type</td> |
|
609 |
<td>paid_1</td> |
|
610 |
<td>116</td> |
|
611 |
</tr> |
|
612 |
<tr> |
|
613 |
<td>clickAndWait</td> |
|
614 |
<td>document.invoice.action[6]</td> |
|
615 |
<td></td> |
|
616 |
</tr> |
|
617 |
<!--5. Rechnung: --> |
|
618 |
<!--06-2006 Rechnungsdatum--> |
|
619 |
<!--01-2007 Lieferdatum--> |
|
620 |
<!--07-2006 Zahlungsdatum--> |
|
621 |
<tr> |
|
622 |
<td>selectFrame</td> |
|
623 |
<td>relative=top</td> |
|
624 |
<td></td> |
|
625 |
</tr> |
|
626 |
<tr> |
|
627 |
<td>click</td> |
|
628 |
<td>link=Rechnung erfassen</td> |
|
629 |
<td></td> |
|
630 |
</tr> |
|
631 |
<tr> |
|
632 |
<td>selectFrame</td> |
|
633 |
<td>main_window</td> |
|
634 |
<td></td> |
|
635 |
</tr> |
|
636 |
<tr> |
|
637 |
<td>waitForPageToLoad</td> |
|
638 |
<td>120000</td> |
|
639 |
<td></td> |
|
640 |
</tr> |
|
641 |
<tr> |
|
642 |
<td>type</td> |
|
643 |
<td>invnumber</td> |
|
644 |
<td>5</td> |
|
645 |
</tr> |
|
646 |
<tr> |
|
647 |
<td>type</td> |
|
648 |
<td>invdate</td> |
|
649 |
<td>10.06.2006</td> |
|
650 |
</tr> |
|
651 |
<tr> |
|
652 |
<td>type</td> |
|
653 |
<td>deliverydate</td> |
|
654 |
<td>13.1.2007</td> |
|
655 |
</tr> |
|
656 |
<tr> |
|
657 |
<td>type</td> |
|
658 |
<td>partnumber_1</td> |
|
659 |
<td>1</td> |
|
660 |
</tr> |
|
661 |
<tr> |
|
662 |
<td>type</td> |
|
663 |
<td>datepaid_1</td> |
|
664 |
<td>12.7.2006</td> |
|
665 |
</tr> |
|
666 |
<tr> |
|
667 |
<td>type</td> |
|
668 |
<td>source_1</td> |
|
669 |
<td>45</td> |
|
670 |
</tr> |
|
671 |
<tr> |
|
672 |
<td>type</td> |
|
673 |
<td>memo_1</td> |
|
674 |
<td>44</td> |
|
675 |
</tr> |
|
676 |
<tr> |
|
677 |
<td>type</td> |
|
678 |
<td>paid_1</td> |
|
679 |
<td>119</td> |
|
680 |
</tr> |
|
681 |
<tr> |
|
682 |
<td>clickAndWait</td> |
|
683 |
<td>document.invoice.action[6]</td> |
|
684 |
<td></td> |
|
685 |
</tr> |
|
686 |
<tr> |
|
687 |
<td>clickAndWait</td> |
|
688 |
<td>document.invoice.action[6]</td> |
|
689 |
<td></td> |
|
690 |
</tr> |
|
691 |
<!----> |
|
692 |
<!--########################--> |
|
693 |
<!--USTVA Tests--> |
|
694 |
<!--########################--> |
|
695 |
<!--1. Test --> |
|
696 |
<!--03-2007 Rechnungsdatum--> |
|
697 |
<!--Kein Lieferdatum--> |
|
698 |
<!--03-2007 Zahlungsdatum--> |
|
699 |
<!--Rechnung 1--> |
|
700 |
<!--USTVA2007-03-IST--> |
|
701 |
<tr> |
|
702 |
<td>selectFrame</td> |
|
703 |
<td>relative=up</td> |
|
704 |
<td></td> |
|
705 |
</tr> |
|
706 |
<tr> |
|
707 |
<td>click</td> |
|
708 |
<td>link=UStVa</td> |
|
709 |
<td></td> |
|
710 |
</tr> |
|
711 |
<tr> |
|
712 |
<td>selectFrame</td> |
|
713 |
<td>main_window</td> |
|
714 |
<td></td> |
|
715 |
</tr> |
|
716 |
<tr> |
|
717 |
<td>waitForPageToLoad</td> |
|
718 |
<td>120000</td> |
|
719 |
<td></td> |
|
720 |
</tr> |
|
721 |
<tr> |
|
722 |
<td>select</td> |
|
723 |
<td>year</td> |
|
724 |
<td>label=2007</td> |
|
725 |
</tr> |
|
726 |
<tr> |
|
727 |
<td>select</td> |
|
728 |
<td>zeitraum</td> |
|
729 |
<td>label=März</td> |
|
730 |
</tr> |
|
731 |
<tr> |
|
732 |
<td>clickAndWait</td> |
|
733 |
<td>action</td> |
|
734 |
<td></td> |
|
735 |
</tr> |
|
736 |
<tr> |
|
737 |
<td>verifyText</td> |
|
738 |
<td>//tr[9]/td[2]</td> |
|
739 |
<td>(Spalte 81)</td> |
|
740 |
</tr> |
|
741 |
<tr> |
|
742 |
<td>verifyText</td> |
|
743 |
<td>//tr[9]/td[3]</td> |
|
744 |
<td>100</td> |
|
745 |
</tr> |
|
746 |
<tr> |
|
747 |
<td>verifyText</td> |
|
748 |
<td>//tr[9]/td[5]</td> |
|
749 |
<td>19,00</td> |
|
750 |
</tr> |
|
751 |
<!--2. Test--> |
|
752 |
<!--11-2006 Rechnungsdatum--> |
|
753 |
<!--Kein Lieferdatum--> |
|
754 |
<!--11-2006 Zahlungsdatum--> |
|
755 |
<!--USTVA-11-2006-IST--> |
|
756 |
<tr> |
|
757 |
<td>selectFrame</td> |
|
758 |
<td>relative=top</td> |
|
759 |
<td></td> |
|
760 |
</tr> |
|
761 |
<tr> |
|
762 |
<td>click</td> |
|
763 |
<td>link=UStVa</td> |
|
764 |
<td></td> |
|
765 |
</tr> |
|
766 |
<tr> |
|
767 |
<td>selectFrame</td> |
|
768 |
<td>main_window</td> |
|
769 |
<td></td> |
|
770 |
</tr> |
|
771 |
<tr> |
|
772 |
<td>waitForPageToLoad</td> |
|
773 |
<td>120000</td> |
|
774 |
<td></td> |
|
775 |
</tr> |
|
776 |
<tr> |
|
777 |
<td>select</td> |
|
778 |
<td>zeitraum</td> |
|
779 |
<td>label=November</td> |
|
780 |
</tr> |
|
781 |
<tr> |
|
782 |
<td>clickAndWait</td> |
|
783 |
<td>action</td> |
|
784 |
<td></td> |
|
785 |
</tr> |
|
786 |
<tr> |
|
787 |
<td>verifyText</td> |
|
788 |
<td>//tr[9]/td[2]</td> |
|
789 |
<td>(Spalte 51)</td> |
|
790 |
</tr> |
|
791 |
<tr> |
|
792 |
<td>verifyText</td> |
|
793 |
<td>//tr[9]/td[3]</td> |
|
794 |
<td>100</td> |
|
795 |
</tr> |
|
796 |
<tr> |
|
797 |
<td>verifyText</td> |
|
798 |
<td>//tr[9]/td[5]</td> |
|
799 |
<td>16,00</td> |
|
800 |
</tr> |
|
801 |
<!--3. Test Rechnung 3--> |
|
802 |
<!--12-2006 Rechnungsdatum--> |
|
803 |
<!--12-2006 Lieferdatum--> |
|
804 |
<!--12-2006 Zahlungsdatum--> |
|
805 |
<!--USTVA2006-12-IST--> |
|
806 |
<tr> |
|
807 |
<td>selectFrame</td> |
|
808 |
<td>relative=top</td> |
|
809 |
<td></td> |
|
810 |
</tr> |
|
811 |
<tr> |
|
812 |
<td>click</td> |
|
813 |
<td>link=UStVa</td> |
|
814 |
<td></td> |
|
815 |
</tr> |
|
816 |
<tr> |
|
817 |
<td>selectFrame</td> |
|
818 |
<td>main_window</td> |
|
819 |
<td></td> |
|
820 |
</tr> |
|
821 |
<tr> |
|
822 |
<td>waitForPageToLoad</td> |
|
823 |
<td>120000</td> |
|
824 |
<td></td> |
|
825 |
</tr> |
|
826 |
<tr> |
|
827 |
<td>select</td> |
|
828 |
<td>year</td> |
|
829 |
<td>label=2006</td> |
|
830 |
</tr> |
|
831 |
<tr> |
|
832 |
<td>select</td> |
|
833 |
<td>zeitraum</td> |
|
834 |
<td>label=Dezember</td> |
|
835 |
</tr> |
|
836 |
<tr> |
|
837 |
<td>clickAndWait</td> |
|
838 |
<td>action</td> |
|
839 |
<td></td> |
|
840 |
</tr> |
|
841 |
<tr> |
|
842 |
<td>verifyText</td> |
|
843 |
<td>//tr[9]/td[2]</td> |
|
844 |
<td>(Spalte 51)</td> |
|
845 |
</tr> |
|
846 |
<tr> |
|
847 |
<td>verifyText</td> |
|
848 |
<td>//tr[9]/td[3]</td> |
|
849 |
<td>100</td> |
|
850 |
</tr> |
|
851 |
<tr> |
|
852 |
<td>verifyText</td> |
|
853 |
<td>//tr[9]/td[5]</td> |
|
854 |
<td>16,00</td> |
|
855 |
</tr> |
|
856 |
<!--4. Test--> |
|
857 |
<!--4. Rechnung--> |
|
858 |
<!--08-2006 Rechnungsdatum--> |
|
859 |
<!--09-2006 Lieferdatum--> |
|
860 |
<!--02-2007 Zahlungsdatum--> |
|
861 |
<tr> |
|
862 |
<td>selectFrame</td> |
|
863 |
<td>relative=top</td> |
|
864 |
<td></td> |
|
865 |
</tr> |
|
866 |
<tr> |
|
867 |
<td>click</td> |
|
868 |
<td>link=UStVa</td> |
|
869 |
<td></td> |
|
870 |
</tr> |
|
871 |
<tr> |
|
872 |
<td>selectFrame</td> |
|
873 |
<td>main_window</td> |
|
874 |
<td></td> |
|
875 |
</tr> |
|
876 |
<tr> |
|
877 |
<td>waitForPageToLoad</td> |
|
878 |
<td>120000</td> |
|
879 |
<td></td> |
|
880 |
</tr> |
|
881 |
<tr> |
|
882 |
<td>select</td> |
|
883 |
<td>year</td> |
|
884 |
<td>label=2007</td> |
|
885 |
</tr> |
|
886 |
<tr> |
|
887 |
<td>select</td> |
|
888 |
<td>zeitraum</td> |
|
889 |
<td>label=Februar</td> |
|
890 |
</tr> |
|
891 |
<tr> |
|
892 |
<td>clickAndWait</td> |
|
893 |
<td>action</td> |
|
894 |
<td></td> |
|
895 |
</tr> |
|
896 |
<tr> |
|
897 |
<td>verifyText</td> |
|
898 |
<td>//tr[11]/td[2]</td> |
|
899 |
<td>35</td> |
|
900 |
</tr> |
|
901 |
<tr> |
|
902 |
<td>verifyText</td> |
|
903 |
<td>//tr[11]/td[3]</td> |
|
904 |
<td>100</td> |
|
905 |
</tr> |
|
906 |
<tr> |
|
907 |
<td>verifyText</td> |
|
908 |
<td>//tr[11]/td[4]</td> |
|
909 |
<td>36</td> |
|
910 |
</tr> |
|
911 |
<tr> |
|
912 |
<td>verifyText</td> |
|
913 |
<td>//tr[11]/td[5]</td> |
|
914 |
<td>16,00</td> |
|
915 |
</tr> |
|
916 |
<!--5. Test--> |
|
917 |
<!--5. Rechnung: --> |
|
918 |
<!--06-2006 Rechnungsdatum--> |
|
919 |
<!--01-2007 Lieferdatum--> |
|
920 |
<!--07-2006 Zahlungsdatum--> |
|
921 |
<tr> |
|
922 |
<td>selectFrame</td> |
|
923 |
<td>relative=top</td> |
|
924 |
<td></td> |
|
925 |
</tr> |
|
926 |
<tr> |
|
927 |
<td>click</td> |
|
928 |
<td>link=UStVa</td> |
|
929 |
<td></td> |
|
930 |
</tr> |
|
931 |
<tr> |
|
932 |
<td>selectFrame</td> |
|
933 |
<td>main_window</td> |
|
934 |
<td></td> |
|
935 |
</tr> |
|
936 |
<tr> |
|
937 |
<td>waitForPageToLoad</td> |
|
938 |
<td>120000</td> |
|
939 |
<td></td> |
|
940 |
</tr> |
|
941 |
<tr> |
|
942 |
<td>select</td> |
|
943 |
<td>zeitraum</td> |
|
944 |
<td>label=Juli</td> |
|
945 |
</tr> |
|
946 |
<tr> |
|
947 |
<td>clickAndWait</td> |
|
948 |
<td>action</td> |
|
949 |
<td></td> |
|
950 |
</tr> |
|
951 |
<tr> |
|
952 |
<td>verifyText</td> |
|
953 |
<td>//tr[11]/td[2]</td> |
|
954 |
<td>35</td> |
|
955 |
</tr> |
|
956 |
<tr> |
|
957 |
<td>verifyText</td> |
|
958 |
<td>//tr[11]/td[3]</td> |
|
959 |
<td>100</td> |
|
960 |
</tr> |
|
961 |
<tr> |
|
962 |
<td>verifyText</td> |
|
963 |
<td>//tr[11]/td[4]</td> |
|
964 |
<td>36</td> |
|
965 |
</tr> |
|
966 |
<tr> |
|
967 |
<td>verifyText</td> |
|
968 |
<td>//tr[11]/td[5]</td> |
|
969 |
<td>19,00</td> |
|
970 |
</tr> |
|
971 |
<!----------------------------------> |
|
972 |
<!--Cleanup --> |
|
973 |
<!----------------------------------> |
|
974 |
<!--Benutzer von Datenbank lösen--> |
|
975 |
<tr> |
|
976 |
<td>selectFrame</td> |
|
977 |
<td>relative=top</td> |
|
978 |
<td></td> |
|
979 |
</tr> |
|
980 |
<tr> |
|
981 |
<td>open</td> |
|
982 |
<td>admin.pl?path=bin/mozilla/&rpw=ro26F.eQBldoA&nextsub=list_users&action=Weiter</td> |
|
983 |
<td></td> |
|
984 |
</tr> |
|
985 |
<tr> |
|
986 |
<td>assertTitle</td> |
|
987 |
<td>Lx-Office ERP Administration -</td> |
|
988 |
<td></td> |
|
989 |
</tr> |
|
990 |
<tr> |
|
991 |
<td>clickAndWait</td> |
|
992 |
<td>demo-1619</td> |
|
993 |
<td></td> |
|
994 |
</tr> |
|
995 |
<tr> |
|
996 |
<td>type</td> |
|
997 |
<td>Pg_dbname</td> |
|
998 |
<td>leer</td> |
|
999 |
</tr> |
|
1000 |
<tr> |
|
1001 |
<td>assertTitle</td> |
|
1002 |
<td>Lx-Office ERP Administration / Benutzerdaten bearbeiten -</td> |
|
1003 |
<td></td> |
|
1004 |
</tr> |
|
1005 |
<tr> |
|
1006 |
<td>clickAndWait</td> |
|
1007 |
<td>document.forms[0].action[0]</td> |
|
1008 |
<td></td> |
|
1009 |
</tr> |
|
1010 |
<!--Datenbank löschen--> |
|
1011 |
<tr> |
|
1012 |
<td>assertTitle</td> |
|
1013 |
<td>Lx-Office ERP Administration -</td> |
|
1014 |
<td></td> |
|
1015 |
</tr> |
|
1016 |
<tr> |
|
1017 |
<td>clickAndWait</td> |
|
1018 |
<td>document.forms[0].action[2]</td> |
|
1019 |
<td></td> |
|
1020 |
</tr> |
|
1021 |
<tr> |
|
1022 |
<td>assertTitle</td> |
|
1023 |
<td>Lx-Office ERP / Datenbankadministration -</td> |
|
1024 |
<td></td> |
|
1025 |
</tr> |
|
1026 |
<tr> |
|
1027 |
<td>click</td> |
|
1028 |
<td>document.forms[0].action[1]</td> |
|
1029 |
<td></td> |
|
1030 |
</tr> |
|
1031 |
<!--... deleting databases needs time...--> |
|
1032 |
<tr> |
|
1033 |
<td>waitForPageToLoad</td> |
|
1034 |
<td>120000</td> |
|
1035 |
<td></td> |
|
1036 |
</tr> |
|
1037 |
<tr> |
|
1038 |
<td>assertTitle</td> |
|
1039 |
<td>Lx-Office ERP Datenbankadministration / Datenbank löschen -</td> |
|
1040 |
<td></td> |
|
1041 |
</tr> |
|
1042 |
<tr> |
|
1043 |
<td>click</td> |
|
1044 |
<td>//input[@value="Selenium_Testdb-_SKR03_IST_1619_2006_2007"]</td> |
|
1045 |
<td></td> |
|
1046 |
</tr> |
|
1047 |
<tr> |
|
1048 |
<td>clickAndWait</td> |
|
1049 |
<td>action</td> |
|
1050 |
<td></td> |
|
1051 |
</tr> |
|
1052 |
<tr> |
|
1053 |
<td>assertTitle</td> |
|
1054 |
<td>Lx-Office ERP Datenbankadministration / Datenbank löschen -</td> |
|
1055 |
<td></td> |
|
1056 |
</tr> |
|
1057 |
<tr> |
|
1058 |
<td>clickAndWait</td> |
|
1059 |
<td>action</td> |
|
1060 |
<td></td> |
|
1061 |
</tr> |
|
1062 |
<tr> |
|
1063 |
<td>assertTitle</td> |
|
1064 |
<td>Lx-Office ERP Administration -</td> |
|
1065 |
<td></td> |
|
1066 |
</tr> |
|
1067 |
<!--######################--> |
|
1068 |
<!--# Ende Testskript--> |
|
1069 |
<!--######################--> |
|
1070 |
|
|
1071 |
</tbody></table> |
|
1072 |
</body> |
|
1073 |
</html> |
Auch abrufbar als: Unified diff
Altes USTVA Testscript loeschen.