3 diag("Create test database '$lxtest->{db}'");
5 $sel->open_ok($lxtest->{lxadmin});
6 $sel->title_is("Lx-Office ERP Administration -");
8 $sel->open_ok($lxtest->{lxadmin});
9 $sel->title_is("Lx-Office ERP Administration -");
10 $sel->click_ok("//input[(\@name=\"action\") and (\@value=\"Datenbankadministration\")]");
11 $sel->wait_for_page_to_load_ok($lxtest->{timeout});
12 $sel->title_is("Lx-Office ERP / Datenbankadministration -");
13 $sel->type_ok("dbuser", $lxtest->{dbuser});
15 $sel->type_ok("dbpasswd", $lxtest->{dbpasswd});
16 $sel->type_ok("dbuser", $lxtest->{dbuser});
17 $sel->type_ok("dbhost", $lxtest->{dbhost});
18 $sel->type_ok("dbport", $lxtest->{dbport});
19 $sel->type_ok("dbdefault", $lxtest->{dbdefault});
21 $sel->click_ok("//input[(\@name=\"action\") and (\@value=\"Datenbank anlegen\")]");
22 $sel->wait_for_page_to_load_ok($lxtest->{timeout});
23 $sel->title_is("Lx-Office ERP Datenbankadministration / Datenbank anlegen -");
24 $sel->type_ok("db", $lxtest->{db});
25 $sel->select_ok("encoding", "label=ISO 8859-1");
26 $sel->click_ok("//input[(\@name=\"chart\") and (\@value=\"Germany-DATEV-SKR03EU\")]");
27 $sel->click_ok("//input[(\@name=\"action\") and (\@value=\"Weiter\")]");
28 $sel->wait_for_page_to_load_ok($lxtest->{timeoutlong});
29 $sel->title_is("Lx-Office ERP Datenbankadministration / Datenbank anlegen -");
30 $sel->click_ok("//input[(\@name=\"action\") and (\@value=\"Weiter\")]");
31 $sel->wait_for_page_to_load_ok($lxtest->{timeout});
32 $sel->title_is("Lx-Office ERP Administration -");