X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/34211d2356367e21aa8f624caa7b17ee4b8ec4ac..1d91e75c53e7da5bf2c1b334f5aeecf241dc5ec4:/t/selenium/testscripts/masterdata/begin/M002CreateVendor.t diff --git a/t/selenium/testscripts/masterdata/begin/M002CreateVendor.t b/t/selenium/testscripts/masterdata/begin/M002CreateVendor.t deleted file mode 100644 index b1f2603c4..000000000 --- a/t/selenium/testscripts/masterdata/begin/M002CreateVendor.t +++ /dev/null @@ -1,124 +0,0 @@ -if(!defined $sel) { - require "t/selenium/AllTests.t"; - init_server("singlefileonly",$0); - exit(0); -} -diag("Create vendor"); -SKIP: { - start_login(); - - $sel->click_ok("link=Lieferant erfassen"); - $sel->wait_for_page_to_load_ok($lxtest->{timeout}); - diag("Create first vendor"); - $sel->select_frame_ok("main_window"); - $sel->click_ok("vendornumber"); - $sel->type_ok("vendornumber", "1"); - $sel->click_ok("selected_company_greeting"); - $sel->select_ok("selected_company_greeting", "label=Firma"); - $sel->click_ok("//option[2]"); - $sel->click_ok("name"); - $sel->type_ok("name", "TestLieferant1"); - $sel->type_ok("department_1", "GossAus"); - $sel->type_ok("street", "Berger 1"); - $sel->type_ok("zipcode", "11990"); - $sel->type_ok("city", "Drehmel"); - $sel->type_ok("country", "Germany"); - $sel->type_ok("contact", "Herr Custom"); - $sel->type_ok("phone", "01234 56787902"); - $sel->type_ok("fax", "01234 567879023"); - $sel->type_ok("email", "custom\@linet-services.de"); - $sel->type_ok("account_number", "2"); - $sel->click_ok("obsolete"); - $sel->click_ok("obsolete"); - $sel->type_ok("notes", "keine Bemerkungen"); - $sel->click_ok("link=Lieferadresse"); - $sel->click_ok("shipto_id"); - $sel->select_ok("shipto_id", "label=Alle"); - $sel->click_ok("//tr[1]/td/select/option[2]"); - $sel->click_ok("link=Ansprechpartner"); - $sel->click_ok("cp_id"); - $sel->click_ok("cp_id"); - $sel->click_ok("cp_greeting"); - $sel->click_ok("selected_cp_greeting"); - $sel->select_ok("selected_cp_greeting", "label=Frau"); - $sel->click_ok("//tr[2]/td/select/option[2]"); - $sel->click_ok("cp_title"); - $sel->click_ok("selected_cp_title"); - $sel->click_ok("cp_title"); - $sel->type_ok("cp_title", "Diplom Meterologin"); - $sel->click_ok("cp_abteilung"); - $sel->type_ok("cp_title", "Dipl. Inf."); - $sel->click_ok("cp_title"); - $sel->click_ok("cp_title"); - $sel->type_ok("cp_title", "Dipl. Ing."); - $sel->click_ok("cp_abteilung"); - $sel->type_ok("cp_abteilung", "Externes"); - $sel->type_ok("cp_givenname", "Hildegunde"); - $sel->type_ok("cp_name", "Riess"); - $sel->type_ok("cp_phone1", "0111 222333444 5"); - $sel->click_ok("cp_birthday"); - $sel->type_ok("cp_birthday", "12.03.1964"); - $sel->click_ok("link=Lieferungen"); - $sel->click_ok("action"); - $sel->wait_for_page_to_load_ok($lxtest->{timeout}); - $sel->click_ok("link=Rechnungsadresse"); - $sel->click_ok("document.ct.action[1]"); - $sel->wait_for_page_to_load_ok($lxtest->{timeout}); - diag("Create second vendor"); - $sel->click_ok("vendornumber"); - $sel->type_ok("vendornumber", "2"); - $sel->click_ok("greeting"); - $sel->click_ok("selected_company_greeting"); - $sel->select_ok("selected_company_greeting", "label=Firma"); - $sel->click_ok("//option[2]"); - $sel->click_ok("name"); - $sel->type_ok("name", "TestLieferant2"); - $sel->type_ok("department_1", "Verkauf"); - $sel->type_ok("department_2", "Orga"); - $sel->type_ok("street", "Wlkenweg 3"); - $sel->type_ok("zipcode", "09090"); - $sel->type_ok("city", "Brummbach"); - $sel->click_ok("city"); - $sel->type_ok("city", "Markt Brummbach"); - $sel->click_ok("country"); - $sel->type_ok("country", "Germany"); - $sel->click_ok("document.ct.action[1]"); - $sel->wait_for_page_to_load_ok($lxtest->{timeout}); - diag("Create third vendor"); - $sel->click_ok("link=Rechnungsadresse"); - $sel->click_ok("vendornumber"); - $sel->type_ok("vendornumber", "3"); - $sel->click_ok("selected_company_greeting"); - $sel->select_ok("selected_company_greeting", "label=Firma"); - $sel->click_ok("//option[2]"); - $sel->type_ok("name", "TestFirma3 GmbH"); - $sel->type_ok("fax", "03232 7272727273"); - $sel->type_ok("creditlimit", "50000"); - $sel->type_ok("discount", "10"); - $sel->click_ok("link=Lieferadresse"); - $sel->click_ok("shiptoname"); - $sel->type_ok("shiptoname", "TestFirma3 GmbH"); - $sel->type_ok("shiptodepartment_1", "Vertrieb"); - $sel->type_ok("shiptostreet", "Grummelsburger 1423"); - $sel->type_ok("shiptozipcode", "40000"); - $sel->type_ok("shiptocity", "Hansastadt"); - $sel->type_ok("shiptocountry", "Germany"); - $sel->type_ok("shiptocontact", "Herr Baumann von Clausen"); - $sel->type_ok("shiptophone", "03232 7272727272"); - $sel->type_ok("shiptofax", "03232 7272727273"); - $sel->type_ok("shiptoemail", "baumann\@linet-services.de"); - $sel->click_ok("link=Ansprechpartner"); - $sel->click_ok("selected_cp_greeting"); - $sel->click_ok("cp_greeting"); - $sel->type_ok("cp_greeting", "Herr"); - $sel->type_ok("cp_abteilung", "Vertrieb"); - $sel->type_ok("cp_givenname", "Dietmar"); - $sel->type_ok("cp_name", "Baumann von Clausen"); - $sel->type_ok("cp_phone1", "03232 7272727272"); - $sel->type_ok("cp_fax", "03232 7272727273"); - $sel->type_ok("cp_birthday", "14.05.1971"); - $sel->click_ok("link=Lieferungen"); - $sel->click_ok("document.ct.action[1]"); - $sel->wait_for_page_to_load_ok($lxtest->{timeout}); -}; -1; \ No newline at end of file