$form, $category);
- # 16%/19% Umstelung
- # Umordnen der Kennziffern und abfangen von Fehlern
-
-# $form->header;
-# print $form->{81};
-
+ # 16%/19% Umstellung
+ # Umordnen der Kennziffern
if ( $form->{year} < 2007) {
$form->{35} += $form->{81};
$form->{36} += $form->{811};
map { delete $form->{$_} } qw(51 511 97 971);
}
+
#
# Berechnung der USTVA Formularfelder laut Bogen 207
#
my $dpt_where;
my $dpt_join;
my $project;
- my $where = "1 = 1";
+ my $where = "";
my $glwhere = "";
my $subwhere = "";
my $ARwhere = "";
AND ac.project_id = $form->{project_id}
|;
}
-#########################################
-# Method eq 'cash' = IST Versteuerung
-#########################################
+ ############################################
+ # Method eq 'cash' = IST Versteuerung
+ ############################################
+ # Betrifft nur die eingenommene Umsatzsteuer
+ #
+ ############################################
if ($form->{method} eq 'cash') {
$query = qq|
- SELECT
- -- Alle tatsaechlichen Zahlungseingaenge
- -- im Voranmeldezeitraum erfassen
- -- (Teilzahlungen werden prozentual auf verschiedene Steuern aufgeteilt)
- SUM( ac.amount *
- -- Bezahlt / Rechnungssumme
- (
- SELECT SUM(acc.amount)
- FROM acc_trans acc
- INNER JOIN chart c ON (acc.chart_id = c.id
- AND c.link like '%AR_paid%')
- WHERE
- 1=1
- $ARwhere
- AND acc.trans_id = ac.trans_id
- )
- /
- (
- select amount from ar where id = ac.trans_id
- )
- ) AS amount,
- tk.pos_ustva
- FROM acc_trans ac
- LEFT JOIN chart c ON (c.id = ac.chart_id)
- LEFT JOIN ar ON (ar.id = ac.trans_id)
- LEFT JOIN taxkeys tk ON (
- tk.id = (
- SELECT id FROM taxkeys
- WHERE chart_id = ac.chart_id
- AND taxkey_id = ac.taxkey
- AND startdate <= COALESCE(ar.deliverydate, ar.transdate)
- ORDER BY startdate DESC LIMIT 1
- )
- )
- WHERE
- 1=1
- -- Here no where, please. All Transactions ever should be
- -- testet if they are paied in the USTVA report period.
- GROUP BY tk.pos_ustva
-
- UNION -- alle Ausgaben AP erfassen
-
- SELECT
- sum(ac.amount) AS amount,
- tk.pos_ustva
- FROM acc_trans ac
- JOIN AP ON (AP.id = ac.trans_id )
- JOIN chart c ON (c.id = ac.chart_id)
- LEFT JOIN taxkeys tk ON (
- tk.id = (
- SELECT id FROM taxkeys
- WHERE chart_id=ac.chart_id
- AND taxkey_id=ac.taxkey
- AND startdate <= COALESCE(AP.transdate)
- ORDER BY startdate DESC LIMIT 1
+ SELECT
+ -- USTVA IST-Versteuerung
+ --
+ -- Alle tatsaechlichen _Zahlungseingaenge_
+ -- im Voranmeldezeitraum erfassen
+ -- (Teilzahlungen werden prozentual auf verschiedene Steuern aufgeteilt)
+ SUM( ac.amount *
+ -- Bezahlt / Rechnungssumme
+ (
+ SELECT SUM(acc.amount)
+ FROM acc_trans acc
+ INNER JOIN chart c ON (acc.chart_id = c.id
+ AND c.link like '%AR_paid%')
+ WHERE
+ 1=1
+ $ARwhere
+ AND acc.trans_id = ac.trans_id
+ )
+ /
+ (
+ SELECT amount FROM ar WHERE id = ac.trans_id
+ )
+ ) AS amount,
+ tk.pos_ustva
+ FROM acc_trans ac
+ LEFT JOIN chart c ON (c.id = ac.chart_id)
+ LEFT JOIN ar ON (ar.id = ac.trans_id)
+ LEFT JOIN taxkeys tk ON (
+ tk.id = (
+ SELECT id FROM taxkeys
+ WHERE chart_id = ac.chart_id
+ -- AND taxkey_id = ac.taxkey
+ AND startdate <= COALESCE(ar.deliverydate, ar.transdate)
+ ORDER BY startdate DESC LIMIT 1
+ )
)
- )
- WHERE
- 1=1
- $APwhere
- $dpt_where
- $project
- GROUP BY tk.pos_ustva
-
- UNION -- alle Ausgaben und Einnahmen direkter gl Buchungen erfassen
-
- SELECT sum
- ( - ac.amount) AS amount,
- tk.pos_ustva
- FROM acc_trans ac
- JOIN chart c ON (c.id = ac.chart_id)
- JOIN gl a ON (a.id = ac.trans_id)
- LEFT JOIN taxkeys tk ON (
- tk.id = (
- SELECT id FROM taxkeys
- WHERE chart_id=ac.chart_id
- AND taxkey_id=ac.taxkey
-
- AND startdate <= COALESCE(ac.transdate)
- ORDER BY startdate DESC LIMIT 1
- )
- )
-
- $dpt_join
- WHERE $where
- $dpt_from
- $project
- GROUP BY tk.pos_ustva
- |;
-
- } else {
-#########################################
-# Method eq 'accrual' = Soll Versteuerung
-#########################################
+ WHERE
+ 1=1
+ -- Here no where, please. All Transactions ever should be
+ -- testet if they are paied in the USTVA report period.
+ GROUP BY tk.pos_ustva
+ |;
+
+ } elsif ($form->{method} eq 'accrual') {
+ #########################################
+ # Method eq 'accrual' = Soll Versteuerung
+ #########################################
if ($department_id) {
$dpt_join = qq|
|;
}
+
$query = qq|
- SELECT sum
- (
- CASE WHEN c.link LIKE '%AR%' THEN ac.amount * -1
- WHEN c.link LIKE '%AP%' THEN ac.amount * 1
- END
- ) AS amount, c.$category
- FROM acc_trans ac
- JOIN chart c ON (c.id = ac.chart_id)
- $dpt_join
- WHERE $where
- $dpt_where
- $project
- GROUP BY c.$category
- |;
+ -- Alle Einnahmen AR und pos_ustva erfassen
+ SELECT
+ - sum(ac.amount) AS amount,
+ tk.pos_ustva
+ FROM acc_trans ac
+ JOIN chart c ON (c.id = ac.chart_id)
+ JOIN ar ON (ar.id = ac.trans_id)
+ JOIN taxkeys tk ON (
+ tk.id = (
+ SELECT id FROM taxkeys
+ WHERE chart_id = ac.chart_id
+ AND startdate <= COALESCE(ar.deliverydate, ar.transdate)
+ ORDER BY startdate DESC LIMIT 1
+ )
+ )
+ $dpt_join
+ WHERE 1 = 1
+ $where
+ $dpt_where
+ $project
+ GROUP BY tk.pos_ustva
+ |;
+
+ } else {
+
+ $self->error("Unknown tax method: $form->{method}")
+
}
+
+ #########################################
+ # Ausgaben und Gl Buchungen sind gleich
+ # für Ist- und Soll-Versteuerung
+ #########################################
+ $query .= qq|
+ UNION -- alle Ausgaben AP erfassen
+
+ SELECT
+ sum(ac.amount) AS amount,
+ tk.pos_ustva
+ FROM acc_trans ac
+ JOIN AP ON (AP.id = ac.trans_id )
+ JOIN chart c ON (c.id = ac.chart_id)
+ LEFT JOIN taxkeys tk ON (
+ tk.id = (
+ SELECT id FROM taxkeys
+ WHERE chart_id=ac.chart_id
+ --AND taxkey_id=ac.taxkey
+ AND startdate <= COALESCE(AP.transdate)
+ ORDER BY startdate DESC LIMIT 1
+ )
+ )
+ WHERE
+ 1=1
+ $APwhere
+ $dpt_where
+ $project
+ GROUP BY tk.pos_ustva
+
+ UNION -- alle Ausgaben und Einnahmen direkter gl Buchungen erfassen
+
+ SELECT sum
+ ( - ac.amount) AS amount,
+ tk.pos_ustva
+ FROM acc_trans ac
+ JOIN chart c ON (c.id = ac.chart_id)
+ JOIN gl a ON (a.id = ac.trans_id)
+ LEFT JOIN taxkeys tk ON (
+ tk.id = (
+ SELECT id FROM taxkeys
+ WHERE chart_id=ac.chart_id
+ --AND taxkey_id=ac.taxkey
+ AND startdate <= COALESCE(ac.transdate)
+ ORDER BY startdate DESC LIMIT 1
+ )
+ )
+
+ $dpt_join
+ WHERE 1 = 1
+ $where
+ $dpt_from
+ $project
+ GROUP BY tk.pos_ustva
+ |;
my @accno;
my $accno;
$main::lxdebug->message(LXDebug::QUERY, "$callingdetails \$query=\n $query");
my $sth = $dbh->prepare($query);
+
$sth->execute || $form->dberror($query);
while ($ref = $sth->fetchrow_hashref(NAME_lc)) {
-# Bug 365 solved?!
- $ref->{amount} *= -1;
+ # Bug 365 solved?!
+ $ref->{amount} *= -1;
if ($category eq "pos_bwa") {
if ($last_period) {
$form->{ $ref->{$category} }{kumm} += $ref->{amount};
$form->{ $ref->{$category} } += $ref->{amount};
}
}
+
$sth->finish;
$main::lxdebug->leave_sub();
+
}
--- /dev/null
+-- @tag: ustva_setup_2007_update_chart_taxkeys_tax
+-- @description: Aktualisierung des SKR03 für 2006/2007. Es werden bisher nur Inland Buchungen 16%/19% in 2006/2007 unterstützt.
+-- @depends: ustva_setup_2007
+
+
+
+--#############################################################
+--#
+--# Neue Konten einfügen
+--#
+--#############################################################
+
+
+INSERT INTO chart (
+ accno, description,
+ charttype, category, link
+ )
+SELECT
+ '1570','Anrechenbare Vorsteuer',
+ 'A', 'E', 'AP_tax:IC_taxpart:IC_taxservice:CT_tax'
+WHERE EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+);
+
+
+INSERT INTO chart (
+ accno, description,
+ charttype, category, link
+ )
+SELECT
+ '1574','Abziehbare Vorsteuer aus innergem. Erwerb 19 %',
+ 'A', 'E', 'AP_tax:IC_taxpart:IC_taxservice:CT_tax'
+WHERE EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+);
+
+
+INSERT INTO chart (
+ accno, description,
+ charttype, category, link
+ )
+SELECT
+ '1774','Umsatzsteuer aus innergem. Erwerb 19 %',
+ 'A', 'I', 'AR_tax:IC_taxpart:IC_taxservice:CT_tax'
+WHERE EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+);
+
+UPDATE chart SET description = 'Umsatzsteuer 7% innergem.Erwerb'
+WHERE accno='1772'
+AND EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+);
+
+UPDATE chart SET description = 'Umsatzsteuer 16% innergem.Erwerb'
+WHERE accno='1773'
+AND EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+);
+
+UPDATE chart SET description = 'Abziehbare Vorsteuer 7% innergem. Erwerb'
+WHERE accno='1572'
+AND EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+);
+
+UPDATE chart SET description = 'Abziehbare Vorsteuer 16% innergem. Erwerb'
+WHERE accno='1573'
+AND EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+);
+
+UPDATE chart SET description = 'Innergem. Erwerb 16%/19% VSt u. USt.'
+WHERE accno='3425'
+AND EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+);
+
+UPDATE chart SET description = 'Innergem. Erwerb 7% VSt u. USt.'
+WHERE accno='3420'
+AND EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+);
+
+--INSERT INTO chart (
+-- accno, description,
+-- charttype, category, link
+-- )
+--SELECT
+-- '3550','Steuerfreier innergem. Erwerb',
+-- 'A', 'E', 'AP_amount:IC_cogs'
+--WHERE EXISTS ( -- update only for SKR03
+-- SELECT coa FROM defaults
+-- WHERE defaults.coa='Germany-DATEV-SKR03EU'
+--);
+
+
+
+--#############################################################
+--#
+--# Anpassungen Tabelle tax
+--#
+--#############################################################
+
+-- Steuerkontenbenennung nach DATEV
+UPDATE tax SET
+ taxdescription = 'USt-frei'
+WHERE taxkey = '1'
+ AND
+ EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+ )
+;
+
+UPDATE tax SET
+ taxdescription = 'Umsatzsteuer'
+WHERE taxkey = '2'
+ AND
+ EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+ )
+;
+
+UPDATE tax SET
+ taxdescription = 'Umsatzsteuer'
+WHERE taxkey = '3'
+ AND
+ EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+ )
+;
+UPDATE tax SET
+ taxdescription = 'Vorsteuer'
+WHERE taxkey = '8'
+ AND
+ EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+ )
+;
+
+UPDATE tax SET
+ taxdescription = 'Vorsteuer'
+WHERE taxkey = '9'
+ AND
+ EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+ )
+;
+
+UPDATE tax SET
+ taxdescription = 'Im anderen EU-Staat steuerpflichtige Lieferung'
+WHERE taxkey = '10'
+ AND
+ EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+ )
+;
+
+UPDATE tax SET
+ taxdescription = 'Steuerfreie innergem. Lieferung an Abnehmer mit Id.-Nr.'
+WHERE taxkey = '11'
+ AND
+ EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+ )
+;
+
+UPDATE tax SET
+ taxdescription = 'Steuerpflichtige EG-Lieferung zum ermäßigten Steuersatz'
+WHERE taxkey = '12'
+ AND
+ EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+ )
+;
+
+UPDATE tax SET
+ taxdescription = 'Steuerpflichtige EG-Lieferung zum vollen Steuersatz'
+WHERE taxkey = '13'
+ AND
+ EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+ )
+;
+
+
+UPDATE tax SET
+ taxdescription = 'Steuerpflichtiger innergem. Erwerb zum ermäßigten Steuersatz'
+WHERE taxkey = '18'
+ AND
+ EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+ )
+;
+
+UPDATE tax SET
+ taxdescription = 'Steuerpflichtiger innergem. Erwerb zum vollen Steuersatz'
+WHERE taxkey = '19'
+ AND
+ EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+ )
+;
+
+-- Weitere Steuerschlüssel hinzufügen
+
+INSERT INTO tax (
+ chart_id,
+ taxnumber,
+ rate,
+ taxkey,
+ taxdescription
+ )
+ SELECT (SELECT id FROM chart WHERE accno = '1774'), '1774', '0.19000', taxkey, taxdescription
+ FROM tax
+ WHERE taxkey = '13'
+ AND
+ EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+ )
+;
+
+
+INSERT INTO tax (
+ chart_id,
+ rate,
+ taxnumber,
+ taxkey,
+ taxdescription
+ )
+ SELECT (SELECT id FROM chart WHERE accno = '1574'), '0.19000', '1574', taxkey, taxdescription
+ FROM tax
+ WHERE taxkey = '19'
+ AND
+ EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+ )
+;
+
+
+
+
+--#############################################################
+--#
+--# Anpassungen Tabelle taxkeys
+--#
+--#############################################################
+
+
+INSERT INTO taxkeys (
+ chart_id, tax_id, taxkey_id, pos_ustva, startdate)
+ SELECT chart.id, (SELECT id FROM tax WHERE taxnumber = '1576'), '9', '66', '1970-01-01'
+ FROM chart
+ LEFT JOIN tax ON (chart.id = tax.chart_id)
+ WHERE chart.accno = '1576'
+ AND
+ EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+ )
+;
+
+INSERT INTO taxkeys (
+ chart_id, tax_id, taxkey_id, pos_ustva, startdate)
+ SELECT chart.id, (SELECT id FROM tax WHERE taxnumber = '1574'), '19', '61', '1970-01-01'
+ FROM chart
+ LEFT JOIN tax ON (chart.id = tax.chart_id)
+ WHERE chart.accno = '1574'
+ AND
+ EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+ )
+;
+
+
+INSERT INTO taxkeys (
+ chart_id, tax_id, taxkey_id, pos_ustva, startdate)
+ SELECT chart.id, '0', '0', '891', '2007-01-01'
+ FROM chart
+ LEFT JOIN tax ON (chart.id = tax.chart_id)
+ WHERE chart.accno = '1774'
+ AND
+ EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+ )
+;
+
+UPDATE taxkeys SET pos_ustva = '63'
+WHERE chart_id in (SELECT id FROM chart WHERE accno in ('1577')
+AND startdate = '1970-01-01')
+AND EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+);
+
+UPDATE taxkeys SET pos_ustva = '67'
+WHERE chart_id in (SELECT id FROM chart WHERE accno in ('1578', '1579')
+AND startdate = '1970-01-01')
+AND EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+);
+
+
+INSERT INTO taxkeys (
+ chart_id, tax_id, taxkey_id, pos_ustva, startdate)
+ SELECT chart.id, '0', '0', '66', '1970-01-01'
+ FROM chart
+ LEFT JOIN tax ON (chart.id = tax.chart_id)
+ WHERE chart.accno in ('1570', '1576')
+ AND
+ EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+ )
+;
+
+
+UPDATE taxkeys SET pos_ustva = '51'
+WHERE chart_id in (SELECT id FROM chart WHERE accno in ('8520')
+AND startdate = '1970-01-01')
+AND
+EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+);
+
+INSERT INTO taxkeys (
+ chart_id, tax_id, taxkey_id, pos_ustva, startdate)
+ SELECT chart.id, (SELECT id FROM tax WHERE taxnumber = '1776'), '0', '36', '1970-01-01'
+ FROM chart
+ LEFT JOIN tax ON (chart.id = tax.chart_id)
+ WHERE chart.accno = '1776'
+ AND
+ EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+ )
+;
+
+INSERT INTO taxkeys (
+ chart_id, tax_id, taxkey_id, pos_ustva, startdate)
+ SELECT chart.id, (SELECT id FROM tax WHERE taxnumber = '1775'), '0', '36', '2007-01-01'
+ FROM chart
+ LEFT JOIN tax ON (chart.id = tax.chart_id)
+ WHERE chart.accno = '1775'
+ AND
+ EXISTS ( -- update only for SKR03
+ SELECT coa FROM defaults
+ WHERE defaults.coa='Germany-DATEV-SKR03EU'
+ )
+;
+
--- /dev/null
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>ustva-Inland-linet</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">ustva-Inland-linet</td></tr>
+</thead><tbody>
+<!--######################-->
+<!--# Start Testskript-->
+<!--# USTVA 2006/2007-->
+<!--######################-->
+<!--######################-->
+<!--# Datenbank & Benutzer-->
+<!--# Umgebung-->
+<!--######################-->
+<tr>
+ <td>setTimeout</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<!--Create new database-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>open</td>
+ <td>admin.pl?path=bin/mozilla/&rpw=ro26F.eQBldoA&nextsub=list_users&action=Weiter</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertTitle</td>
+ <td>Lx-Office ERP Administration -</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>document.forms[0].action[2]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertTitle</td>
+ <td>Lx-Office ERP / Datenbankadministration -</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectWindow</td>
+ <td>null</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertTitle</td>
+ <td>Lx-Office ERP Datenbankadministration / Datenbank anlegen -</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>db</td>
+ <td>Selenium_Testdb-_SKR03_IST_1619_2006_2007</td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>document.forms[0].chart[2]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<tr>
+ <td>fireEvent</td>
+ <td></td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<!--Benutzer anlegen-->
+<!--Achtung, Benutzer nicht neu anlegen, wg. Bug in der Benutzerverwaltung i.Zshg. mit neuen Vorlagen-->
+<!--Benutzer mit datanbank verknüpfen-->
+<tr>
+ <td>clickAndWait</td>
+ <td>demo-1619</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertTitle</td>
+ <td>Lx-Office ERP Administration / Benutzerdaten bearbeiten -</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>Pg_dbname</td>
+ <td>Selenium_Testdb-_SKR03_IST_1619_2006_2007</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<!--Login-->
+<tr>
+ <td>assertTitle</td>
+ <td>Lx-Office ERP Administration -</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>login</td>
+ <td>demo-1619</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>password</td>
+ <td>demo</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>document.forms[1].action</td>
+ <td></td>
+</tr>
+<!--Datenbankaktualisierung-->
+<tr>
+ <td>assertTitle</td>
+ <td>Datenbankaktualisierung - Lx-Office Version 2.4.1 - -</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>//input[@value='Weiter']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertTitle</td>
+ <td>Lx-Office Version 2.4.1 - Testbenutzer - Selenium_Testdb-_SKR03_IST_1619_2006_2007</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>invdate</td>
+ <td>11.11.2006</td>
+</tr>
+<!--######################-->
+<!--# Waren, Lieferanten, Kunden-->
+<!--# Umgebung-->
+<!--######################-->
+<!--Testkunde anlegen-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=Kunde erfassen</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>name</td>
+ <td>Testkunde</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<!--Testlieferant anlegen-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=Lieferant erfassen</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>name</td>
+ <td>Testlieferant</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<!--Testware anlegen-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=Ware erfassen</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>description</td>
+ <td>Testware</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>buchungsgruppen_id</td>
+ <td>label=Standard 16%/19%</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>lastcost</td>
+ <td>50</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>sellprice</td>
+ <td>100</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>document.ic.action[1]</td>
+ <td></td>
+</tr>
+<!--######################-->
+<!--# Testbuchungen-->
+<!--# anlegen-->
+<!--######################-->
+<!--### 1. Testbuchung-->
+<!--Rechnung:-->
+<!--03-2007 Rechnungsdatum-->
+<!--Kein Lieferdatum-->
+<!--03-2007 Zahlungsdatum-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=Rechnung erfassen</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>invnumber</td>
+ <td>1</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>partnumber_1</td>
+ <td>1</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>invdate</td>
+ <td>1.3.2007</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>datepaid_1</td>
+ <td>10.3.2007</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>source_1</td>
+ <td>1</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>memo_1</td>
+ <td>1</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>paid_1</td>
+ <td>119</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>document.invoice.action[6]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>document.invoice.action[6]</td>
+ <td></td>
+</tr>
+<!--### 2.Testbuchung-->
+<!--Rechnung-->
+<!--11-2006 Rechnungsdatum-->
+<!--Kein Lieferdatum-->
+<!--01-2007 Zahlungsdatum-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=Rechnung erfassen</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>invnumber</td>
+ <td>2</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>invdate</td>
+ <td>11.11.2006</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>datepaid_1</td>
+ <td>20.11.2006</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>partnumber_1</td>
+ <td>1</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>source_1</td>
+ <td>4</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>memo_1</td>
+ <td>4</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>paid_1</td>
+ <td>116</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>document.invoice.action[6]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>document.invoice.action[6]</td>
+ <td></td>
+</tr>
+<!--### 3.Testbuchung-->
+<!--Rechnung-->
+<!--12-2006 Rechnungsdatum-->
+<!--12-2006 Lieferdatum-->
+<!--12-2006 Zahlungsdatum-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=Rechnung erfassen</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>invnumber</td>
+ <td>3</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>invdate</td>
+ <td>03.12.2006</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>duedate</td>
+ <td>10.12.2006</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>partnumber_1</td>
+ <td>1</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>update_button</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyTextPresent</td>
+ <td>Umsatzsteuer</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyTextPresent</td>
+ <td>16,00</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>deliverydate</td>
+ <td>15.12.2006</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>update_button</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyTextPresent</td>
+ <td>Umsatzsteuer</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyTextPresent</td>
+ <td>16,00</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>datepaid_1</td>
+ <td>20.12.2006</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>source_1</td>
+ <td>4</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>memo_1</td>
+ <td>4</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>paid_1</td>
+ <td>116</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>document.invoice.action[6]</td>
+ <td></td>
+</tr>
+<!--### 4. Testbuchung-->
+<!--Rechnung-->
+<!--08-2006 Rechnungsdatum-->
+<!--09-2006 Lieferdatum-->
+<!--02-2007 Zahlungsdatum-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=Rechnung erfassen</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>invnumber</td>
+ <td>4</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>invdate</td>
+ <td>8.08.2006</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>deliverydate</td>
+ <td>10.09.2006</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>partnumber_1</td>
+ <td>1</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>update_button</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[6]/td/table/tbody/tr/td[2]/table/tbody/tr[2]/td</td>
+ <td>16,00</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>datepaid_1</td>
+ <td>2.2.2007</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>source_1</td>
+ <td>7</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>memo_1</td>
+ <td>7</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>paid_1</td>
+ <td>116</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>document.invoice.action[6]</td>
+ <td></td>
+</tr>
+<!--### 5. Testbuchung-->
+<!--Rechnung-->
+<!--06-2006 Rechnungsdatum-->
+<!--01-2007 Lieferdatum-->
+<!--07-2006 Zahlungsdatum-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=Rechnung erfassen</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>invnumber</td>
+ <td>5</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>invdate</td>
+ <td>10.06.2006</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>deliverydate</td>
+ <td>13.1.2007</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>partnumber_1</td>
+ <td>1</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>datepaid_1</td>
+ <td>12.7.2006</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>source_1</td>
+ <td>45</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>memo_1</td>
+ <td>44</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>paid_1</td>
+ <td>119</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>document.invoice.action[6]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>document.invoice.action[6]</td>
+ <td></td>
+</tr>
+<!--### 6. Testbuchung-->
+<!--Bug: 526 Konto 1588 wird bei UStVA ignoriert-->
+<!--Dialogbuchung mit Konto 1588-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=Dialogbuchen</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>accno_1</td>
+ <td>label=1588--Bezahlte Einfuhrumsatzsteuer</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>accno_2</td>
+ <td>label=1200--Bank</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>reference</td>
+ <td>Test 1588 Kz62</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>description</td>
+ <td>Test 1588 Kz62</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>transdate</td>
+ <td>1.10.2005</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>debit_2</td>
+ <td>143,2455</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>credit_1</td>
+ <td>143,2455</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>document.gl.action[1]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForTextPresent</td>
+ <td>Buchung gespeichert</td>
+ <td></td>
+</tr>
+<!--### 7. Testbuchung-->
+<!--Debitorenbuchung-->
+<!--02-2007 Rechnungsdatum-->
+<!--kein Lieferdatum-->
+<!--04-2007 Zahlungsdatum-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=Debitorenbuchung</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>AR_amount_1</td>
+ <td>label=8400--Erlöse 16%/19% USt.</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>amount_1</td>
+ <td>2000</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>transdate</td>
+ <td>19.2.2007</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>datepaid_1</td>
+ <td>1.4.2007</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>source_1</td>
+ <td>2</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>memo_1</td>
+ <td>2</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>paid_1</td>
+ <td>2000</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>AR_paid_1</td>
+ <td>label=1200--Bank</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>invnumber</td>
+ <td>Debitorenbuchung</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>document.arledger.action[1]</td>
+ <td></td>
+</tr>
+<!--### 8. Testbuchung-->
+<!--Kreditorenbuchung-->
+<!--05-2007 Rechnungsdatum-->
+<!--kein Lieferdatum-->
+<!--06-2007 Zahlungsdatum-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=Kreditorenbuchung</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>AP_amount_1</td>
+ <td>label=0420--Büroeinrichtung</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>invnumber</td>
+ <td>Kreditorenbuchung</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>amount_1</td>
+ <td>2000</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>transdate</td>
+ <td>20.05.2007</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>datepaid_1</td>
+ <td>1.6.2007</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>source_1</td>
+ <td>123</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>memo_1</td>
+ <td>123</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>paid_1</td>
+ <td>1000</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>document.forms[0].action[1]</td>
+ <td></td>
+</tr>
+<!--##############-->
+<!--# Steuerzone Inland Umsatzsteuer-->
+<!--##############-->
+<!--#############-->
+<!--# USTVA Einstellungen-->
+<!--# IST-Versteuert-->
+<!--# monatliche Abgabe-->
+<!--#############-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=UStVa Einstellungen</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>elsterland_new</td>
+ <td>label=Nordrhein Westfalen</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>elsterFFFF_new</td>
+ <td>label=Aachen-Innenstadt (5201)</td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>cash</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>month</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>part_1_1</td>
+ <td>label=1</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>part_1_2</td>
+ <td>label=2</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>part_1_3</td>
+ <td>label=3</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>part_1_4</td>
+ <td>label=4</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>part_2_1</td>
+ <td>label=5</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>part_2_2</td>
+ <td>label=6</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>part_2_3</td>
+ <td>label=7</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>part_2_4</td>
+ <td>label=8</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>document.elsterform.action[1]</td>
+ <td></td>
+</tr>
+<!--### 1. Test-->
+<!--03-2007 Rechnungsdatum-->
+<!--Kein Lieferdatum-->
+<!--03-2007 Zahlungsdatum-->
+<!--USTVA2007-03-IST-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=up</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=UStVa</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>year</td>
+ <td>label=2007</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>zeitraum</td>
+ <td>label=März</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[2]</td>
+ <td>(Spalte 81)</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[3]</td>
+ <td>100</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[5]</td>
+ <td>19,00</td>
+</tr>
+<!--### 2. Test-->
+<!--Rechnung-->
+<!--11-2006 Rechnungsdatum-->
+<!--Kein Lieferdatum-->
+<!--01-2007 Zahlungsdatum-->
+<!--USTVA-11-2006-IST-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=UStVa</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>year</td>
+ <td>label=2006</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>zeitraum</td>
+ <td>label=November</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[2]</td>
+ <td>(Spalte 51)</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[3]</td>
+ <td>100</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[5]</td>
+ <td>16,00</td>
+</tr>
+<!--### 3. Test-->
+<!--USTVA2006-12-IST-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=UStVa</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>year</td>
+ <td>label=2006</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>zeitraum</td>
+ <td>label=Dezember</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[2]</td>
+ <td>(Spalte 51)</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[3]</td>
+ <td>100</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[5]</td>
+ <td>16,00</td>
+</tr>
+<!--### 4. Test-->
+<!--Rechnung-->
+<!--08-2006 Rechnungsdatum-->
+<!--09-2006 Lieferdatum-->
+<!--02-2007 Zahlungsdatum-->
+<!--USTVA2007-02-IST-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=UStVa</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>year</td>
+ <td>label=2007</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>zeitraum</td>
+ <td>label=Februar</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[11]/td[2]</td>
+ <td>35</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[11]/td[3]</td>
+ <td>100</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[11]/td[4]</td>
+ <td>36</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[11]/td[5]</td>
+ <td>16,00</td>
+</tr>
+<!--### 5. Test-->
+<!--Rechnung-->
+<!--06-2006 Rechnungsdatum-->
+<!--01-2007 Lieferdatum-->
+<!--07-2006 Zahlungsdatum-->
+<!--USTVA2006-07-IST-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=UStVa</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>year</td>
+ <td>label=2006</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>zeitraum</td>
+ <td>label=Juli</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[11]/td[2]</td>
+ <td>35</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[11]/td[3]</td>
+ <td>100</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[11]/td[4]</td>
+ <td>36</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[11]/td[5]</td>
+ <td>19,00</td>
+</tr>
+<!--### 6. Test-->
+<!--Bug: 526 Konto 1588 wird bei UStVA ignoriert-->
+<!--Dialogbuchung mit Konto 1588-->
+<!--USTVA2005-10-IST-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=UStVa</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>year</td>
+ <td>label=2005</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>zeitraum</td>
+ <td>label=Oktober</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>relative=up</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[39]/td[2]</td>
+ <td>62</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[39]/td[3]</td>
+ <td>143,25</td>
+</tr>
+<!--### 7. Test-->
+<!--Debitorenbuchung-->
+<!--02-2007 Rechnungsdatum-->
+<!--kein Lieferdatum-->
+<!--04-2007 Zahlungsdatum-->
+<!--USTVA2007-03-IST-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=UStVa</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>year</td>
+ <td>label=2007</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>zeitraum</td>
+ <td>label=April</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>relative=up</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[2]</td>
+ <td>(Spalte 81)</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[3]</td>
+ <td>1681</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[5]</td>
+ <td>319,33</td>
+</tr>
+<!--### 8. Test-->
+<!--Kreditorenbuchung-->
+<!--05-2007 Rechnungsdatum-->
+<!--kein Lieferdatum-->
+<!--06-2007 Zahlungsdatum-->
+<!--USTVA2007-03-IST-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=UStVa</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>year</td>
+ <td>label=2007</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>zeitraum</td>
+ <td>label=Mai</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>relative=up</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[37]/td[3]</td>
+ <td>319,33</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[37]/td[2]</td>
+ <td>(Spalte 66)</td>
+</tr>
+<!---->
+<!--#############-->
+<!--# USTVA Einstellungen-->
+<!--# SOLL-Versteuert-->
+<!--# monatliche Abgabe-->
+<!--#############-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=UStVa Einstellungen</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>accrual</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>month</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>part_1_1</td>
+ <td>label=1</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>part_1_2</td>
+ <td>label=2</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>part_1_3</td>
+ <td>label=3</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>part_1_4</td>
+ <td>label=4</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>part_2_1</td>
+ <td>label=5</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>part_2_2</td>
+ <td>label=6</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>part_2_3</td>
+ <td>label=7</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>part_2_4</td>
+ <td>label=8</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>document.elsterform.action[1]</td>
+ <td></td>
+</tr>
+<!--Testkunde,-->
+<!--Testlieferant,-->
+<!--Testware,geerbt-->
+<!---->
+<!--##############-->
+<!--# Steuerzone Inland Umsatzsteuer-->
+<!--##############-->
+<!--### 14. Test-->
+<!--Rechnung:-->
+<!--03-2007 Rechnungsdatum-->
+<!--Kein Lieferdatum-->
+<!--03-2007 Zahlungsdatum-->
+<!--USTVA2007-03-SOLL-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=up</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=UStVa</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>year</td>
+ <td>label=2007</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>zeitraum</td>
+ <td>label=März</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[2]</td>
+ <td>(Spalte 81)</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[3]</td>
+ <td>100</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[5]</td>
+ <td>19,00</td>
+</tr>
+<!--### 15. Test-->
+<!--Rechnung-->
+<!--11-2006 Rechnungsdatum-->
+<!--Kein Lieferdatum-->
+<!--01-2007 Zahlungsdatum-->
+<!--USTVA-11-2006-SOLL-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=UStVa</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>year</td>
+ <td>label=2006</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>zeitraum</td>
+ <td>label=November</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[2]</td>
+ <td>(Spalte 51)</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[3]</td>
+ <td>100</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[5]</td>
+ <td>16,00</td>
+</tr>
+<!--### 16. Test-->
+<!--#s.a. tst3-->
+<!--Rechnung-->
+<!--12-2006 Rechnungsdatum-->
+<!--12-2006 Lieferdatum-->
+<!--12-2006 Zahlungsdatum-->
+<!--USTVA2006-12-SOLL-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=UStVa</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>year</td>
+ <td>label=2006</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>zeitraum</td>
+ <td>label=Dezember</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[2]</td>
+ <td>(Spalte 51)</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[3]</td>
+ <td>100</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[5]</td>
+ <td>16,00</td>
+</tr>
+<!--### 17. Test-->
+<!--Rechnung-->
+<!--08-2006 Rechnungsdatum-->
+<!--09-2006 Lieferdatum-->
+<!--02-2007 Zahlungsdatum-->
+<!--USTVA2006-08-SOLL-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=UStVa</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>year</td>
+ <td>label=2006</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>zeitraum</td>
+ <td>label=August</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[2]</td>
+ <td>(Spalte 51)</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[3]</td>
+ <td>100</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[4]</td>
+ <td>(Spalte 51 rechts)</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[5]</td>
+ <td>16,00</td>
+</tr>
+<!--### 18. Test-->
+<!--Rechnung-->
+<!--06-2006 Rechnungsdatum-->
+<!--01-2007 Lieferdatum-->
+<!--07-2006 Zahlungsdatum-->
+<!--USTVA2006-06-SOLL-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=UStVa</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>year</td>
+ <td>label=2006</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>zeitraum</td>
+ <td>label=Juni</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[11]/td[2]</td>
+ <td>35</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[11]/td[3]</td>
+ <td>100</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[11]/td[4]</td>
+ <td>36</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[11]/td[5]</td>
+ <td>19,00</td>
+</tr>
+<!--### 19. Test-->
+<!--Bug: 526 Konto 1588 wird bei UStVA ignoriert-->
+<!--Dialogbuchung mit Konto 1588-->
+<!--USTVA2005-10-SOLL-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=UStVa</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>year</td>
+ <td>label=2005</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>zeitraum</td>
+ <td>label=Oktober</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[39]/td[2]</td>
+ <td>62</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[39]/td[3]</td>
+ <td>143,25</td>
+</tr>
+<!--### 20. Test-->
+<!--Debitorenbuchung-->
+<!--02-2007 Rechnungsdatum-->
+<!--kein Lieferdatum-->
+<!--04-2007 Zahlungsdatum-->
+<!--USTVA2007-02-SOLL-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=UStVa</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>year</td>
+ <td>label=2007</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>zeitraum</td>
+ <td>label=Februar</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[2]</td>
+ <td>(Spalte 81)</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[3]</td>
+ <td>1681</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[9]/td[5]</td>
+ <td>319,33</td>
+</tr>
+<!--### 21. Test-->
+<!--Kreditorenbuchung-->
+<!--05-2007 Rechnungsdatum-->
+<!--kein Lieferdatum-->
+<!--06-2007 Zahlungsdatum-->
+<!--USTVA2007-03-SOLL-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>link=UStVa</td>
+ <td></td>
+</tr>
+<tr>
+ <td>selectFrame</td>
+ <td>main_window</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>year</td>
+ <td>label=2007</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>zeitraum</td>
+ <td>label=Mai</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[37]/td[3]</td>
+ <td>319,33</td>
+</tr>
+<tr>
+ <td>verifyText</td>
+ <td>//tr[37]/td[2]</td>
+ <td>(Spalte 66)</td>
+</tr>
+<!---->
+<!--#############-->
+<!--# Cleanup Test-->
+<!--#############-->
+<!--Benutzer von Datenbank lösen-->
+<tr>
+ <td>selectFrame</td>
+ <td>relative=top</td>
+ <td></td>
+</tr>
+<tr>
+ <td>open</td>
+ <td>admin.pl?path=bin/mozilla/&rpw=ro26F.eQBldoA&nextsub=list_users&action=Weiter</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertTitle</td>
+ <td>Lx-Office ERP Administration -</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>demo-1619</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>Pg_dbname</td>
+ <td>leer</td>
+</tr>
+<tr>
+ <td>assertTitle</td>
+ <td>Lx-Office ERP Administration / Benutzerdaten bearbeiten -</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>document.forms[0].action[0]</td>
+ <td></td>
+</tr>
+<!--Datenbank löschen-->
+<tr>
+ <td>assertTitle</td>
+ <td>Lx-Office ERP Administration -</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>document.forms[0].action[2]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertTitle</td>
+ <td>Lx-Office ERP / Datenbankadministration -</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>document.forms[0].action[1]</td>
+ <td></td>
+</tr>
+<!--... deleting databases needs time...-->
+<tr>
+ <td>waitForPageToLoad</td>
+ <td>120000</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertTitle</td>
+ <td>Lx-Office ERP Datenbankadministration / Datenbank löschen -</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>//input[@value="Selenium_Testdb-_SKR03_IST_1619_2006_2007"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertTitle</td>
+ <td>Lx-Office ERP Datenbankadministration / Datenbank löschen -</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>action</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertTitle</td>
+ <td>Lx-Office ERP Administration -</td>
+ <td></td>
+</tr>
+<!--######################-->
+<!--# Ende Testskript-->
+<!--######################-->
+
+</tbody></table>
+</body>
+</html>