]> wagnertech.de Git - mfinanz.git/blob - t/selenium/testscripts/masterdata/end/M997DeleteService.t
Eine Funktion zur Formatierung von Strings, die Vorkommen von "#n" durch das n-te...
[mfinanz.git] / t / selenium / testscripts / masterdata / end / M997DeleteService.t
1 if(!defined $sel) {
2   require "t/selenium/AllTests.t";
3   init_server("singlefileonly",$0);
4   exit(0);
5 }
6 diag("Delete service");
7
8 if(!$sel->get_title("Lx-Office Version 2.4.3 - Selenium - " . $lxtest->{db})){
9   require_ok("M000Login.t");
10 }
11
12 $sel->select_frame_ok("relative=up");
13 $sel->title_is("Lx-Office Version 2.4.3 - Selenium - " . $lxtest->{db});
14 $sel->click_ok("link=Dienstleistungen");
15 $sel->wait_for_page_to_load_ok($lxtest->{timeout});
16 $sel->select_frame_ok("main_window");
17 $sel->click_ok("action");
18 $sel->wait_for_page_to_load_ok($lxtest->{timeout});
19 $sel->text_is("link=999", "999");
20 $sel->text_is("link=998", "998");
21 $sel->text_is("link=Programmierstunde", "Programmierstunde");
22 $sel->text_is("link=Telefonstunde", "Telefonstunde");
23 $sel->click_ok("link=999");
24 $sel->wait_for_page_to_load_ok($lxtest->{timeout});
25 $sel->click_ok("document.ic.action[3]");
26 $sel->wait_for_page_to_load_ok($lxtest->{timeout});
27 $sel->click_ok("link=Telefonstunde");
28 $sel->wait_for_page_to_load_ok($lxtest->{timeout});
29 $sel->click_ok("document.ic.action[3]");
30 $sel->wait_for_page_to_load_ok($lxtest->{timeout});
31 1;