Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 8ec273ea

Von Udo Spallek vor fast 18 Jahren hinzugefügt

  • ID 8ec273eacf16c7509e20a2ffa7ea7298a0380a83
  • Vorgänger 8b5fe5b9
  • Nachfolger 563c29dd

Altes Testscript loeschen

Unterschiede anzeigen:

t/selenium/incomming/ustva-IST-Inland.html
1
<!-- Made for Selenium IDE the great Firefox Extension  -->
2
<html>
3
<head>
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>ustva-IST-Inland</title>
6
</head>
7
<body>
8
<table cellpadding="1" cellspacing="1" border="1">
9
<thead>
10
<tr><td rowspan="1" colspan="3">ustva-IST-Inland</td></tr>
11
</thead><tbody>
12
<!--Create new database-->
13
<tr>
14
	<td>open</td>
15
	<td>/erp-unstable.orig/admin.pl</td>
16
	<td></td>
17
</tr>
18
<tr>
19
	<td>assertTitle</td>
20
	<td>Lx-Office ERP 2.4.1 Administration -</td>
21
	<td></td>
22
</tr>
23
<tr>
24
	<td>clickAndWait</td>
25
	<td>document.forms[0].action[0]</td>
26
	<td></td>
27
</tr>
28
<tr>
29
	<td>assertTitle</td>
30
	<td>Lx-Office ERP Administration -</td>
31
	<td></td>
32
</tr>
33
<tr>
34
	<td>clickAndWait</td>
35
	<td>document.forms[0].action[2]</td>
36
	<td></td>
37
</tr>
38
<tr>
39
	<td>assertTitle</td>
40
	<td>Lx-Office ERP / Datenbankadministration -</td>
41
	<td></td>
42
</tr>
43
<tr>
44
	<td>type</td>
45
	<td>dbuser</td>
46
	<td>lxoffice</td>
47
</tr>
48
<tr>
49
	<td>type</td>
50
	<td>dbpasswd</td>
51
	<td>1qayxsw2</td>
52
</tr>
53
<tr>
54
	<td>clickAndWait</td>
55
	<td>action</td>
56
	<td></td>
57
</tr>
58
<tr>
59
	<td>assertTitle</td>
60
	<td>Lx-Office ERP Datenbankadministration / Datenbank anlegen -</td>
61
	<td></td>
62
</tr>
63
<tr>
64
	<td>click</td>
65
	<td>document.forms[0].chart[2]</td>
66
	<td></td>
67
</tr>
68
<tr>
69
	<td>type</td>
70
	<td>db</td>
71
	<td>skr03-2</td>
72
</tr>
73
<tr>
74
	<td>clickAndWait</td>
75
	<td>action</td>
76
	<td></td>
77
</tr>
78
<tr>
79
	<td>clickAndWait</td>
80
	<td>action</td>
81
	<td></td>
82
</tr>
83
<!--Login-->
84
<tr>
85
	<td>assertTitle</td>
86
	<td>Lx-Office ERP Administration -</td>
87
	<td></td>
88
</tr>
89
<tr>
90
	<td>type</td>
91
	<td>login</td>
92
	<td>demo</td>
93
</tr>
94
<tr>
95
	<td>type</td>
96
	<td>password</td>
97
	<td>demo</td>
98
</tr>
99
<tr>
100
	<td>clickAndWait</td>
101
	<td>document.forms[1].action</td>
102
	<td></td>
103
</tr>
104
<!--Datenbankaktualisierung-->
105
<tr>
106
	<td>assertTitle</td>
107
	<td>Datenbankaktualisierung - Lx-Office Version 2.4.1 - -</td>
108
	<td></td>
109
</tr>
110
<tr>
111
	<td>clickAndWait</td>
112
	<td>//input[@value='Weiter']</td>
113
	<td></td>
114
</tr>
115
<tr>
116
	<td>assertTitle</td>
117
	<td>Lx-Office Version 2.4.1 - - skr03-2</td>
118
	<td></td>
119
</tr>
120
<!--Testkunde anlegen-->
121
<tr>
122
	<td>selectFrame</td>
123
	<td>relative=up</td>
124
	<td></td>
125
</tr>
126
<tr>
127
	<td>click</td>
128
	<td>link=Kunde erfassen</td>
129
	<td></td>
130
</tr>
131
<tr>
132
	<td>pause</td>
133
	<td>5000</td>
134
	<td></td>
135
</tr>
136
<tr>
137
	<td>selectFrame</td>
138
	<td>main_window</td>
139
	<td></td>
140
</tr>
141
<tr>
142
	<td>type</td>
143
	<td>name</td>
144
	<td>Testkunde</td>
145
</tr>
146
<tr>
147
	<td>clickAndWait</td>
148
	<td>action</td>
149
	<td></td>
150
</tr>
151
<tr>
152
	<td>selectFrame</td>
153
	<td>relative=up</td>
154
	<td></td>
155
</tr>
156
<!--Testware anlegen-->
157
<tr>
158
	<td>clickAndWait</td>
159
	<td>link=Ware erfassen</td>
160
	<td></td>
161
</tr>
162
<tr>
163
	<td>pause</td>
164
	<td>5000</td>
165
	<td></td>
166
</tr>
167
<tr>
168
	<td>selectFrame</td>
169
	<td>main_window</td>
170
	<td></td>
171
</tr>
172
<tr>
173
	<td>type</td>
174
	<td>description</td>
175
	<td>Testware</td>
176
</tr>
177
<tr>
178
	<td>select</td>
179
	<td>buchungsgruppen_id</td>
180
	<td>label=Standard 16%/19%</td>
181
</tr>
182
<tr>
183
	<td>type</td>
184
	<td>sellprice</td>
185
	<td>100</td>
186
</tr>
187
<tr>
188
	<td>clickAndWait</td>
189
	<td>document.ic.action[1]</td>
190
	<td></td>
191
</tr>
192
<!--1. Rechnung-->
193
<!--03-2007 Rechnungsdatum-->
194
<!--Kein Lieferdatum-->
195
<!--03-2007 Zahlungsdatum-->
196
<tr>
197
	<td>selectFrame</td>
198
	<td>relative=up</td>
199
	<td></td>
200
</tr>
201
<tr>
202
	<td>click</td>
203
	<td>link=Rechnung erfassen</td>
204
	<td></td>
205
</tr>
206
<tr>
207
	<td>pause</td>
208
	<td>5000</td>
209
	<td></td>
210
</tr>
211
<tr>
212
	<td>selectFrame</td>
213
	<td>main_window</td>
214
	<td></td>
215
</tr>
216
<tr>
217
	<td>selectWindow</td>
218
	<td>main_window</td>
219
	<td></td>
220
</tr>
221
<tr>
222
	<td>type</td>
223
	<td>invnumber</td>
224
	<td>1</td>
225
</tr>
226
<tr>
227
	<td>type</td>
228
	<td>partnumber_1</td>
229
	<td>1</td>
230
</tr>
231
<tr>
232
	<td>type</td>
233
	<td>invdate</td>
234
	<td>1.3.2007</td>
235
</tr>
236
<tr>
237
	<td>type</td>
238
	<td>datepaid_1</td>
239
	<td>10.3.2007</td>
240
</tr>
241
<tr>
242
	<td>type</td>
243
	<td>source_1</td>
244
	<td>1</td>
245
</tr>
246
<tr>
247
	<td>type</td>
248
	<td>memo_1</td>
249
	<td>1</td>
250
</tr>
251
<tr>
252
	<td>type</td>
253
	<td>paid_1</td>
254
	<td>119</td>
255
</tr>
256
<tr>
257
	<td>clickAndWait</td>
258
	<td>document.invoice.action[6]</td>
259
	<td></td>
260
</tr>
261
<tr>
262
	<td>clickAndWait</td>
263
	<td>document.invoice.action[6]</td>
264
	<td></td>
265
</tr>
266
<!--2. Rechnung: -->
267
<!--11-2006 Rechnungsdatum-->
268
<!--Kein Lieferdatum-->
269
<!--01-2007 Zahlungsdatum-->
270
<tr>
271
	<td>selectFrame</td>
272
	<td>relative=up</td>
273
	<td></td>
274
</tr>
275
<tr>
276
	<td>click</td>
277
	<td>link=Rechnung erfassen</td>
278
	<td></td>
279
</tr>
280
<tr>
281
	<td>pause</td>
282
	<td>5000</td>
283
	<td></td>
284
</tr>
285
<tr>
286
	<td>selectFrame</td>
287
	<td>main_window</td>
288
	<td></td>
289
</tr>
290
<tr>
291
	<td>type</td>
292
	<td>invnumber</td>
293
	<td>2</td>
294
</tr>
295
<tr>
296
	<td>type</td>
297
	<td>invdate</td>
298
	<td>11.11.2006</td>
299
</tr>
300
<tr>
301
	<td>type</td>
302
	<td>datepaid_1</td>
303
	<td>20.11.2006</td>
304
</tr>
305
<tr>
306
	<td>type</td>
307
	<td>partnumber_1</td>
308
	<td>1</td>
309
</tr>
310
<tr>
311
	<td>type</td>
312
	<td>source_1</td>
313
	<td>4</td>
314
</tr>
315
<tr>
316
	<td>type</td>
317
	<td>memo_1</td>
318
	<td>4</td>
319
</tr>
320
<tr>
321
	<td>type</td>
322
	<td>paid_1</td>
323
	<td>116</td>
324
</tr>
325
<tr>
326
	<td>clickAndWait</td>
327
	<td>document.invoice.action[6]</td>
328
	<td></td>
329
</tr>
330
<tr>
331
	<td>clickAndWait</td>
332
	<td>document.invoice.action[6]</td>
333
	<td></td>
334
</tr>
335
<!---->
336
<!--3. Rechnung: -->
337
<!--12-2006 Rechnungsdatum-->
338
<!--12-2006 Lieferdatum-->
339
<!--12-2006 Zahlungsdatum-->
340
<tr>
341
	<td>selectFrame</td>
342
	<td>relative=up</td>
343
	<td></td>
344
</tr>
345
<tr>
346
	<td>click</td>
347
	<td>link=Rechnung erfassen</td>
348
	<td></td>
349
</tr>
350
<tr>
351
	<td>pause</td>
352
	<td>3000</td>
353
	<td></td>
354
</tr>
355
<tr>
356
	<td>selectFrame</td>
357
	<td>main_window</td>
358
	<td></td>
359
</tr>
360
<tr>
361
	<td>type</td>
362
	<td>invnumber</td>
363
	<td>3</td>
364
</tr>
365
<tr>
366
	<td>type</td>
367
	<td>duedate</td>
368
	<td>10.12.2006</td>
369
</tr>
370
<tr>
371
	<td>type</td>
372
	<td>partnumber_1</td>
373
	<td>1</td>
374
</tr>
375
<tr>
376
	<td>clickAndWait</td>
377
	<td>update_button</td>
378
	<td></td>
379
</tr>
380
<tr>
381
	<td>verifyTextPresent</td>
382
	<td>Umsatzsteuer 19%</td>
383
	<td></td>
384
</tr>
385
<tr>
386
	<td>verifyTextPresent</td>
387
	<td>19,00</td>
388
	<td></td>
389
</tr>
390
<tr>
391
	<td>type</td>
392
	<td>deliverydate</td>
393
	<td>15.12.2006</td>
394
</tr>
395
<tr>
396
	<td>clickAndWait</td>
397
	<td>update_button</td>
398
	<td></td>
399
</tr>
400
<tr>
401
	<td>verifyTextPresent</td>
402
	<td>Umsatzsteuer 16%</td>
403
	<td></td>
404
</tr>
405
<tr>
406
	<td>verifyTextPresent</td>
407
	<td>16,00</td>
408
	<td></td>
409
</tr>
410
<tr>
411
	<td>type</td>
412
	<td>datepaid_1</td>
413
	<td>20.12.2006</td>
414
</tr>
415
<tr>
416
	<td>type</td>
417
	<td>source_1</td>
418
	<td>4</td>
419
</tr>
420
<tr>
421
	<td>type</td>
422
	<td>memo_1</td>
423
	<td>4</td>
424
</tr>
425
<tr>
426
	<td>type</td>
427
	<td>paid_1</td>
428
	<td>116</td>
429
</tr>
430
<tr>
431
	<td>clickAndWait</td>
432
	<td>document.invoice.action[6]</td>
433
	<td></td>
434
</tr>
435
<!--4. Rechnung: -->
436
<!--08-2006 Rechnungsdatum-->
437
<!--09-2006 Lieferdatum-->
438
<!--02-2007 Zahlungsdatum-->
439
<tr>
440
	<td>selectFrame</td>
441
	<td>relative=up</td>
442
	<td></td>
443
</tr>
444
<tr>
445
	<td>click</td>
446
	<td>link=Rechnung erfassen</td>
447
	<td></td>
448
</tr>
449
<tr>
450
	<td>pause</td>
451
	<td>3000</td>
452
	<td></td>
453
</tr>
454
<tr>
455
	<td>selectFrame</td>
456
	<td>main_window</td>
457
	<td></td>
458
</tr>
459
<tr>
460
	<td>type</td>
461
	<td>invnumber</td>
462
	<td>4</td>
463
</tr>
464
<tr>
465
	<td>type</td>
466
	<td>invdate</td>
467
	<td>8.08.2006</td>
468
</tr>
469
<tr>
470
	<td>type</td>
471
	<td>deliverydate</td>
472
	<td>10.09.2006</td>
473
</tr>
474
<tr>
475
	<td>type</td>
476
	<td>partnumber_1</td>
477
	<td>1</td>
478
</tr>
479
<tr>
480
	<td>clickAndWait</td>
481
	<td>update_button</td>
482
	<td></td>
483
</tr>
484
<tr>
485
	<td>verifyText</td>
486
	<td>//tr[6]/td/table/tbody/tr/td[2]/table/tbody/tr[2]/td</td>
487
	<td>16,00</td>
488
</tr>
489
<tr>
490
	<td>type</td>
491
	<td>datepaid_1</td>
492
	<td>2.2.2007</td>
493
</tr>
494
<tr>
495
	<td>type</td>
496
	<td>source_1</td>
497
	<td>7</td>
498
</tr>
499
<tr>
500
	<td>type</td>
501
	<td>memo_1</td>
502
	<td>7</td>
503
</tr>
504
<tr>
505
	<td>type</td>
506
	<td>paid_1</td>
507
	<td>116</td>
508
</tr>
509
<tr>
510
	<td>clickAndWait</td>
511
	<td>document.invoice.action[6]</td>
512
	<td></td>
513
</tr>
514
<!--5. Rechnung: -->
515
<!--06-2006 Rechnungsdatum-->
516
<!--01-2007 Lieferdatum-->
517
<!--07-2006 Zahlungsdatum-->
518
<tr>
519
	<td>selectFrame</td>
520
	<td>relative=up</td>
521
	<td></td>
522
</tr>
523
<tr>
524
	<td>click</td>
525
	<td>link=Rechnung erfassen</td>
526
	<td></td>
527
</tr>
528
<tr>
529
	<td>pause</td>
530
	<td>3000</td>
531
	<td></td>
532
</tr>
533
<tr>
534
	<td>selectFrame</td>
535
	<td>main_window</td>
536
	<td></td>
537
</tr>
538
<tr>
539
	<td>type</td>
540
	<td>invnumber</td>
541
	<td>5</td>
542
</tr>
543
<tr>
544
	<td>type</td>
545
	<td>invdate</td>
546
	<td>10.06.2006</td>
547
</tr>
548
<tr>
549
	<td>type</td>
550
	<td>deliverydate</td>
551
	<td>13.1.2007</td>
552
</tr>
553
<tr>
554
	<td>type</td>
555
	<td>partnumber_1</td>
556
	<td>1</td>
557
</tr>
558
<tr>
559
	<td>type</td>
560
	<td>datepaid_1</td>
561
	<td>12.7.2006</td>
562
</tr>
563
<tr>
564
	<td>type</td>
565
	<td>source_1</td>
566
	<td>45</td>
567
</tr>
568
<tr>
569
	<td>type</td>
570
	<td>memo_1</td>
571
	<td>44</td>
572
</tr>
573
<tr>
574
	<td>type</td>
575
	<td>paid_1</td>
576
	<td>119</td>
577
</tr>
578
<tr>
579
	<td>clickAndWait</td>
580
	<td>document.invoice.action[6]</td>
581
	<td></td>
582
</tr>
583
<tr>
584
	<td>clickAndWait</td>
585
	<td>document.invoice.action[6]</td>
586
	<td></td>
587
</tr>
588
<!---->
589
<!--########################-->
590
<!--USTVA Tests-->
591
<!--########################-->
592
<!--1. Test -->
593
<!--03-2007 Rechnungsdatum-->
594
<!--Kein Lieferdatum-->
595
<!--03-2007 Zahlungsdatum-->
596
<!--Rechnung 1-->
597
<!--USTVA2007-03-IST-->
598
<tr>
599
	<td>selectFrame</td>
600
	<td>relative=up</td>
601
	<td></td>
602
</tr>
603
<tr>
604
	<td>click</td>
605
	<td>link=UStVa</td>
606
	<td></td>
607
</tr>
608
<tr>
609
	<td>pause</td>
610
	<td>3000</td>
611
	<td></td>
612
</tr>
613
<tr>
614
	<td>selectFrame</td>
615
	<td>main_window</td>
616
	<td></td>
617
</tr>
618
<tr>
619
	<td>select</td>
620
	<td>year</td>
621
	<td>label=2007</td>
622
</tr>
623
<tr>
624
	<td>select</td>
625
	<td>zeitraum</td>
626
	<td>label=März</td>
627
</tr>
628
<tr>
629
	<td>clickAndWait</td>
630
	<td>action</td>
631
	<td></td>
632
</tr>
633
<tr>
634
	<td>verifyText</td>
635
	<td>//tr[9]/td[2]</td>
636
	<td>(Spalte 81)</td>
637
</tr>
638
<tr>
639
	<td>verifyText</td>
640
	<td>//tr[9]/td[3]</td>
641
	<td>100</td>
642
</tr>
643
<tr>
644
	<td>verifyText</td>
645
	<td>//tr[9]/td[5]</td>
646
	<td>19,00</td>
647
</tr>
648
<tr>
649
	<td>selectFrame</td>
650
	<td>relative=up</td>
651
	<td></td>
652
</tr>
653
<!--2. Test-->
654
<!--11-2006 Rechnungsdatum-->
655
<!--Kein Lieferdatum-->
656
<!--11-2006 Zahlungsdatum-->
657
<!--USTVA-11-2006-IST-->
658
<tr>
659
	<td>selectFrame</td>
660
	<td>relative=up</td>
661
	<td></td>
662
</tr>
663
<tr>
664
	<td>click</td>
665
	<td>link=UStVa</td>
666
	<td></td>
667
</tr>
668
<tr>
669
	<td>pause</td>
670
	<td>3000</td>
671
	<td></td>
672
</tr>
673
<tr>
674
	<td>selectFrame</td>
675
	<td>main_window</td>
676
	<td></td>
677
</tr>
678
<tr>
679
	<td>select</td>
680
	<td>zeitraum</td>
681
	<td>label=November</td>
682
</tr>
683
<tr>
684
	<td>clickAndWait</td>
685
	<td>action</td>
686
	<td></td>
687
</tr>
688
<tr>
689
	<td>verifyText</td>
690
	<td>//tr[9]/td[2]</td>
691
	<td>(Spalte 51)</td>
692
</tr>
693
<tr>
694
	<td>verifyText</td>
695
	<td>//tr[9]/td[3]</td>
696
	<td>100</td>
697
</tr>
698
<tr>
699
	<td>verifyText</td>
700
	<td>//tr[9]/td[5]</td>
701
	<td>16,00</td>
702
</tr>
703
<!---->
704
<!--3. Test Rechnung 3-->
705
<!--12-2006 Rechnungsdatum-->
706
<!--12-2006 Lieferdatum-->
707
<!--12-2006 Zahlungsdatum-->
708
<!--USTVA2006-12-IST-->
709
<tr>
710
	<td>selectFrame</td>
711
	<td>relative=up</td>
712
	<td></td>
713
</tr>
714
<tr>
715
	<td>click</td>
716
	<td>link=UStVa</td>
717
	<td></td>
718
</tr>
719
<tr>
720
	<td>pause</td>
721
	<td>3000</td>
722
	<td></td>
723
</tr>
724
<tr>
725
	<td>selectFrame</td>
726
	<td>main_window</td>
727
	<td></td>
728
</tr>
729
<tr>
730
	<td>select</td>
731
	<td>year</td>
732
	<td>label=2006</td>
733
</tr>
734
<tr>
735
	<td>select</td>
736
	<td>zeitraum</td>
737
	<td>label=Dezember</td>
738
</tr>
739
<tr>
740
	<td>clickAndWait</td>
741
	<td>action</td>
742
	<td></td>
743
</tr>
744
<tr>
745
	<td>verifyText</td>
746
	<td>//tr[9]/td[2]</td>
747
	<td>(Spalte 51)</td>
748
</tr>
749
<tr>
750
	<td>verifyText</td>
751
	<td>//tr[9]/td[3]</td>
752
	<td>100</td>
753
</tr>
754
<tr>
755
	<td>verifyText</td>
756
	<td>//tr[9]/td[5]</td>
757
	<td>16,00</td>
758
</tr>
759
<!--4. Test-->
760
<!--4. Rechnung-->
761
<!--08-2006 Rechnungsdatum-->
762
<!--09-2006 Lieferdatum-->
763
<!--02-2007 Zahlungsdatum-->
764
<tr>
765
	<td>selectFrame</td>
766
	<td>relative=up</td>
767
	<td></td>
768
</tr>
769
<tr>
770
	<td>click</td>
771
	<td>link=UStVa</td>
772
	<td></td>
773
</tr>
774
<tr>
775
	<td>pause</td>
776
	<td>3000</td>
777
	<td></td>
778
</tr>
779
<tr>
780
	<td>selectFrame</td>
781
	<td>main_window</td>
782
	<td></td>
783
</tr>
784
<tr>
785
	<td>select</td>
786
	<td>year</td>
787
	<td>label=2007</td>
788
</tr>
789
<tr>
790
	<td>select</td>
791
	<td>zeitraum</td>
792
	<td>label=Februar</td>
793
</tr>
794
<tr>
795
	<td>clickAndWait</td>
796
	<td>action</td>
797
	<td></td>
798
</tr>
799
<tr>
800
	<td>verifyText</td>
801
	<td>//tr[11]/td[2]</td>
802
	<td>35</td>
803
</tr>
804
<tr>
805
	<td>verifyText</td>
806
	<td>//tr[11]/td[3]</td>
807
	<td>100</td>
808
</tr>
809
<tr>
810
	<td>verifyText</td>
811
	<td>//tr[11]/td[4]</td>
812
	<td>36</td>
813
</tr>
814
<tr>
815
	<td>verifyText</td>
816
	<td>//tr[11]/td[5]</td>
817
	<td>16,00</td>
818
</tr>
819
<!--5. Test-->
820
<!--5. Rechnung: -->
821
<!--06-2006 Rechnungsdatum-->
822
<!--01-2007 Lieferdatum-->
823
<!--07-2006 Zahlungsdatum-->
824
<tr>
825
	<td>selectFrame</td>
826
	<td>relative=up</td>
827
	<td></td>
828
</tr>
829
<tr>
830
	<td>click</td>
831
	<td>link=UStVa</td>
832
	<td></td>
833
</tr>
834
<tr>
835
	<td>pause</td>
836
	<td>3000</td>
837
	<td></td>
838
</tr>
839
<tr>
840
	<td>selectFrame</td>
841
	<td>main_window</td>
842
	<td></td>
843
</tr>
844
<tr>
845
	<td>select</td>
846
	<td>zeitraum</td>
847
	<td>label=Juli</td>
848
</tr>
849
<tr>
850
	<td>clickAndWait</td>
851
	<td>action</td>
852
	<td></td>
853
</tr>
854
<tr>
855
	<td>verifyText</td>
856
	<td>//tr[11]/td[2]</td>
857
	<td>35</td>
858
</tr>
859
<tr>
860
	<td>verifyText</td>
861
	<td>//tr[11]/td[3]</td>
862
	<td>100</td>
863
</tr>
864
<tr>
865
	<td>verifyText</td>
866
	<td>//tr[11]/td[4]</td>
867
	<td>36</td>
868
</tr>
869
<tr>
870
	<td>verifyText</td>
871
	<td>//tr[11]/td[5]</td>
872
	<td>19,00</td>
873
</tr>
874

  
875
</tbody></table>
876
</body>
877
</html>

Auch abrufbar als: Unified diff