From: Udo Spallek Date: Tue, 10 Jul 2007 11:24:28 +0000 (+0000) Subject: Testscript für Version 2.4.3. r2736 hat den Test bestanden :-) X-Git-Tag: release-2.4.3^2~18 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=caf76b382f66a10ed60855f8067dca1dbfd122b8;p=kivitendo-erp.git Testscript für Version 2.4.3. r2736 hat den Test bestanden :-) --- diff --git a/t/selenium/incomming/ustva-Inland-linet.html b/t/selenium/incomming/ustva-Inland-linet.html index ed71333da..c8e12bedd 100644 --- a/t/selenium/incomming/ustva-Inland-linet.html +++ b/t/selenium/incomming/ustva-Inland-linet.html @@ -16,6 +16,11 @@ + + break + + + setTimeout 120000 @@ -29,7 +34,7 @@ open - admin.pl?rpw=ro26F.eQBldoA&nextsub=list_users&action=Weiter + https://lx-office.linet-services.de/svn-installationen/unstable/admin.pl?path=bin/mozilla/&rpw=roXyrPyqv9wE2&nextsub=list_users&action=Weiter @@ -87,7 +92,7 @@ clickAndWait - demo-1619 + link=demo-1619 @@ -97,7 +102,7 @@ type - Pg_dbname + dbname Selenium_Testdb-_SKR03_IST_1619_2006_2007 @@ -208,7 +213,58 @@ action - + + + selectFrame + relative=top + + + + click + link=Ware erfassen + + + + selectFrame + main_window + + + + waitForPageToLoad + 120000 + + + + type + partnumber + 100-7% + + + type + description + Testware 7% + + + select + buchungsgruppen_id + label=Standard 7% + + + type + lastcost + 50 + + + type + sellprice + 100 + + + clickAndWait + document.ic.action[1] + + + selectFrame relative=top @@ -229,10 +285,15 @@ 120000 + + type + partnumber + 1 + type description - Testware + Testware 16%/19% select @@ -323,6 +384,16 @@ document.invoice.action[6] + + click + ndx + + + + clickAndWait + action + + clickAndWait document.invoice.action[6] @@ -393,6 +464,16 @@ document.invoice.action[6] + + click + ndx + + + + clickAndWait + action + + clickAndWait document.invoice.action[6] @@ -449,12 +530,22 @@ - verifyTextPresent + click + ndx + + + + clickAndWait + action + + + + assertTextPresent Umsatzsteuer - verifyTextPresent + assertTextPresent 16,00 @@ -469,12 +560,12 @@ - verifyTextPresent + assertTextPresent Umsatzsteuer - verifyTextPresent + assertTextPresent 16,00 @@ -554,8 +645,18 @@ - verifyText - //tr[6]/td/table/tbody/tr/td[2]/table/tbody/tr[2]/td + click + ndx + + + + clickAndWait + action + + + + assertText + //td[3]/table/tbody/tr[2]/td 16,00 @@ -653,6 +754,16 @@ document.invoice.action[6] + + click + ndx + + + + clickAndWait + action + + clickAndWait document.invoice.action[6] @@ -708,12 +819,12 @@ type - debit_2 + debit_1 143,2455 type - credit_1 + credit_2 143,2455 @@ -728,7 +839,7 @@ waitForTextPresent - Buchung gespeichert + gespeichert @@ -891,14 +1002,11 @@ document.forms[0].action[1] - - - - - - - - + + + + + selectFrame relative=top @@ -906,7 +1014,7 @@ click - link=UStVa Einstellungen + link=Rechnung erfassen @@ -920,88 +1028,76 @@ - select - elsterland_new - label=Nordrhein Westfalen - - - select - elsterFFFF_new - label=Aachen-Innenstadt (5201) - - - click - cash - + type + invnumber + 9-7% - click - month - + type + invdate + 1.1.2008 - clickAndWait - action - + type + deliverydate + 3.1.2008 - select - part_1_1 - label=1 + type + partnumber_1 + 100-7% - select - part_1_2 - label=2 + type + datepaid_1 + 10.1.2008 - select - part_1_3 - label=3 + type + source_1 + 45 - select - part_1_4 - label=4 + type + memo_1 + 44 - select - part_2_1 - label=5 + type + paid_1 + 107 - select - part_2_2 - label=6 + clickAndWait + update_button + - select - part_2_3 - label=7 + selectWindow + main_window + - select - part_2_4 - label=8 + assertText + //td[3]/table/tbody/tr[2]/td + 7,00 clickAndWait - document.elsterform.action[1] + document.invoice.action[6] - - - - - + + + selectFrame - relative=up + relative=top click - link=UStVa + link=Einkaufsrechnung erfassen @@ -1015,41 +1111,58 @@ - select - year - label=2007 + type + invnumber + 120 - select - zeitraum - label=März + type + invdate + 1.1.2005 + + + type + partnumber_1 + 1 + + + selectFrame + relative=up + + + + selectFrame + main_window + clickAndWait - action + update_button - verifyText - //tr[9]/td[2] - (Spalte 81) + click + ndx + - verifyText - //tr[9]/td[3] - 100 + clickAndWait + action + - verifyText - //tr[9]/td[5] - 19,00 + clickAndWait + action + - - - - - - + + clickAndWait + document.forms[0].action[1] + + + + + selectFrame relative=top @@ -1057,7 +1170,7 @@ click - link=UStVa + link=Einkaufsrechnung erfassen @@ -1071,32 +1184,650 @@ - select - year - label=2006 + type + invnumber + 130 - select - zeitraum - label=November + type + invdate + 1.1.2006 - clickAndWait - action - + type + partnumber_1 + 1 + + + selectFrame + relative=up + + + + selectFrame + main_window + + + + clickAndWait + update_button + + + + click + ndx + + + + clickAndWait + action + + + + clickAndWait + action + + + + clickAndWait + document.forms[0].action[1] + + + + + + + selectFrame + relative=top + + + + click + link=Einkaufsrechnung erfassen + + + + selectFrame + main_window + + + + waitForPageToLoad + 120000 + + + + type + invnumber + 131 + + + type + invdate + 1.2.2006 + + + type + partnumber_1 + 1 + + + selectFrame + relative=up + + + + selectFrame + main_window + + + + clickAndWait + update_button + + + + click + ndx + + + + clickAndWait + action + + + + clickAndWait + action + + + + clickAndWait + document.forms[0].action[1] + + + + + + + selectFrame + relative=top + + + + click + link=Einkaufsrechnung erfassen + + + + selectFrame + main_window + + + + waitForPageToLoad + 120000 + + + + type + invnumber + 132 + + + type + invdate + 1.3.2006 + + + type + partnumber_1 + 1 + + + selectFrame + relative=up + + + + selectFrame + main_window + + + + clickAndWait + update_button + + + + click + ndx + + + + clickAndWait + action + + + + clickAndWait + action + + + + clickAndWait + document.forms[0].action[1] + + + + + + selectFrame + relative=top + + + + click + link=Konto erfassen + + + + selectFrame + main_window + + + + waitForPageToLoad + 120000 + + + + type + accno + 1775Skonto + + + type + description + Umsatzsteuerkorrektur 16% bei Skonto + + + select + AccountType + label=Aufwandskonto (E) + + + click + AR_paid + + + + click + AR_tax + + + + clickAndWait + action + + + + waitForPageToLoad + 120000 + + + + clickAndWait + link=1775Skonto + + + + type + taxkey_startdate_0 + 1.1.1970 + + + select + taxkey_pos_ustva_0 + label=511 + + + clickAndWait + action + + + + waitForPageToLoad + 120000 + + + + + + + + + + selectFrame + relative=top + + + + click + link=Rechnung erfassen + + + + selectFrame + main_window + + + + waitForPageToLoad + 120000 + + + + type + invnumber + 14-3%-SKONTO + + + type + invdate + 1.2.2003 + + + type + deliverydate + 3.2.2003 + + + type + partnumber_1 + 1 + + + clickAndWait + update_button + + + + click + ndx + + + + clickAndWait + action + + + + click + taxincluded + + + + type + sellprice_1 + 1431,79 + + + clickAndWait + update_button + + + + type + datepaid_1 + 04.02.2003 + + + type + source_1 + 12345 + + + type + paid_1 + 1388,84 + + + select + AR_paid_1 + label=1200--Bank + + + clickAndWait + update_button + + + + type + datepaid_2 + 04.02.2003 + + + type + source_2 + 12345 + + + type + paid_2 + 37,03 + + + select + AR_paid_2 + label=8735--Gewährte Skonti 16%/19% USt. + + + clickAndWait + update_button + + + + type + datepaid_3 + 04.02.2003 + + + type + source_3 + 12345 + + + type + memo_3 + Skontokorrektur UST 16% + + + type + paid_3 + 5,92 + + + select + AR_paid_3 + label=1775Skonto--Umsatzsteuerkorrektur 16% bei Skonto + + + clickAndWait + update_button + + + + clickAndWait + document.invoice.action[6] + + + + + + + + + + + + selectFrame + relative=top + + + + click + link=UStVa Einstellungen + + + + selectFrame + main_window + + + + waitForPageToLoad + 120000 + + + + select + elsterland_new + label=Nordrhein Westfalen + + + select + elsterFFFF_new + label=Aachen-Innenstadt (5201) + + + click + cash + + + + click + month + + + + clickAndWait + action + + + + select + part_1_1 + label=1 + + + select + part_1_2 + label=2 + + + select + part_1_3 + label=3 + + + select + part_1_4 + label=4 + + + select + part_2_1 + label=5 + + + select + part_2_2 + label=6 + + + select + part_2_3 + label=7 + + + select + part_2_4 + label=8 + + + clickAndWait + document.elsterform.action[1] + + + + + + + + + selectFrame + relative=up + + + + click + link=UStVa + + + + selectFrame + main_window + + + + waitForPageToLoad + 120000 + - verifyText + select + year + label=2007 + + + select + zeitraum + label=März + + + clickAndWait + action + + + + assertText + //tr[9]/td[2] + (Spalte 81) + + + assertText + //tr[9]/td[3] + 100 + + + assertText + //tr[9]/td[5] + 19,00 + + + + + + + + + selectFrame + relative=top + + + + click + link=UStVa + + + + selectFrame + main_window + + + + waitForPageToLoad + 120000 + + + + select + year + label=2006 + + + select + zeitraum + label=November + + + clickAndWait + action + + + + assertText //tr[9]/td[2] (Spalte 51) - verifyText + assertText //tr[9]/td[3] 100 - verifyText + assertText //tr[9]/td[5] 16,00 @@ -1138,26 +1869,207 @@ - verifyText + assertText //tr[9]/td[2] (Spalte 51) - verifyText + assertText //tr[9]/td[3] 100 - verifyText - //tr[9]/td[5] - 16,00 + assertText + //tr[9]/td[5] + 16,00 + + + + + + + + + selectFrame + relative=top + + + + click + link=UStVa + + + + selectFrame + main_window + + + + waitForPageToLoad + 120000 + + + + select + year + label=2007 + + + select + zeitraum + label=Februar + + + clickAndWait + action + + + + assertText + //tr[11]/td[2] + 35 + + + assertText + //tr[11]/td[3] + 100 + + + assertText + //tr[11]/td[4] + 36 + + + assertText + //tr[11]/td[5] + 16,00 + + + + + + + + + selectFrame + relative=top + + + + click + link=UStVa + + + + selectFrame + main_window + + + + waitForPageToLoad + 120000 + + + + select + year + label=2006 + + + select + zeitraum + label=Juli + + + clickAndWait + action + + + + assertText + //tr[11]/td[2] + 35 + + + assertText + //tr[11]/td[3] + 100 + + + assertText + //tr[11]/td[4] + 36 + + + assertText + //tr[11]/td[5] + 19,00 + + + + + + + selectFrame + relative=top + + + + click + link=UStVa + + + + selectFrame + main_window + + + + waitForPageToLoad + 120000 + + + + select + year + label=2005 + + + select + zeitraum + label=Oktober + + + clickAndWait + action + + + + selectFrame + relative=up + + + + selectFrame + main_window + + + + assertText + //tr[39]/td[2] + 62 + + + assertText + //tr[39]/td[3] + 143,25 - - - - - - + + + + + + selectFrame relative=top @@ -1186,7 +2098,7 @@ select zeitraum - label=Februar + label=April clickAndWait @@ -1194,31 +2106,36 @@ - verifyText - //tr[11]/td[2] - 35 + selectFrame + relative=up + - verifyText - //tr[11]/td[3] - 100 + selectFrame + main_window + - verifyText - //tr[11]/td[4] - 36 + assertText + //tr[9]/td[2] + (Spalte 81) - verifyText - //tr[11]/td[5] - 16,00 + assertText + //tr[9]/td[3] + 1681 - - - - - - + + assertText + //tr[9]/td[5] + 319,33 + + + + + + + selectFrame relative=top @@ -1242,12 +2159,12 @@ select year - label=2006 + label=2007 select zeitraum - label=Juli + label=Mai clickAndWait @@ -1255,29 +2172,31 @@ - verifyText - //tr[11]/td[2] - 35 + selectFrame + relative=up + - verifyText - //tr[11]/td[3] - 100 + selectFrame + main_window + - verifyText - //tr[11]/td[4] - 36 + assertText + //tr[37]/td[3] + 319,33 - verifyText - //tr[11]/td[5] - 19,00 + assertText + //tr[37]/td[2] + (Spalte 66) - - - - + + + + + + selectFrame relative=top @@ -1301,12 +2220,12 @@ select year - label=2005 + label=2008 select zeitraum - label=Oktober + label=Januar clickAndWait @@ -1324,21 +2243,24 @@ - verifyText - //tr[39]/td[2] - 62 + assertText + //tr[10]/td[2] + (Spalte 86) - verifyText - //tr[39]/td[3] - 143,25 + assertText + //tr[10]/td[3] + 100 - - - - - - + + assertText + //tr[10]/td[5] + 7,00 + + + + + selectFrame relative=top @@ -1362,12 +2284,12 @@ select year - label=2007 + label=2005 select zeitraum - label=April + label=Januar clickAndWait @@ -1376,7 +2298,7 @@ selectFrame - relative=up + relative=top @@ -1385,29 +2307,22 @@ - verifyText - //tr[9]/td[2] - (Spalte 81) - - - verifyText - //tr[9]/td[3] - 1681 + assertText + //tr[37]/td[3] + 8,00 - verifyText - //tr[9]/td[5] - 319,33 + assertText + //tr[37]/td[2] + (Spalte 66) - - - - - - + + + + selectFrame - relative=top + relative=up @@ -1416,24 +2331,24 @@ - selectFrame - main_window + waitForPageToLoad + 120000 - waitForPageToLoad - 120000 + selectFrame + main_window select year - label=2007 + label=2003 select zeitraum - label=Mai + label=Februar clickAndWait @@ -1442,7 +2357,7 @@ selectFrame - relative=up + relative=top @@ -1451,16 +2366,15 @@ - verifyText - //tr[37]/td[3] - 319,33 + assertText + //tr[9]/td[3] + 1197 - verifyText - //tr[37]/td[2] - (Spalte 66) + assertText + //tr[9]/td[5] + 191,57 - @@ -1595,17 +2509,17 @@ - verifyText + assertText //tr[9]/td[2] (Spalte 81) - verifyText + assertText //tr[9]/td[3] 100 - verifyText + assertText //tr[9]/td[5] 19,00 @@ -1651,17 +2565,17 @@ - verifyText + assertText //tr[9]/td[2] (Spalte 51) - verifyText + assertText //tr[9]/td[3] 100 - verifyText + assertText //tr[9]/td[5] 16,00 @@ -1708,17 +2622,17 @@ - verifyText + assertText //tr[9]/td[2] (Spalte 51) - verifyText + assertText //tr[9]/td[3] 100 - verifyText + assertText //tr[9]/td[5] 16,00 @@ -1764,22 +2678,22 @@ - verifyText + assertText //tr[9]/td[2] (Spalte 51) - verifyText + assertText //tr[9]/td[3] 100 - verifyText + assertText //tr[9]/td[4] (Spalte 51 rechts) - verifyText + assertText //tr[9]/td[5] 16,00 @@ -1825,22 +2739,22 @@ - verifyText + assertText //tr[11]/td[2] 35 - verifyText + assertText //tr[11]/td[3] 100 - verifyText + assertText //tr[11]/td[4] 36 - verifyText + assertText //tr[11]/td[5] 19,00 @@ -1935,15 +2849,20 @@ - verifyText + assertText //tr[9]/td[2] (Spalte 81) - verifyText + assertText //tr[9]/td[3] 1681 + + assertText + //tr[9]/td[5] + 319,33 + @@ -1986,16 +2905,79 @@ - verifyText + assertText //tr[37]/td[3] 319,33 - verifyText + assertText //tr[37]/td[2] (Spalte 66) - + + + + + + selectFrame + relative=up + + + + click + link=UStVa + + + + waitForPageToLoad + 120000 + + + + selectFrame + main_window + + + + select + year + label=2003 + + + select + zeitraum + label=Februar + + + clickAndWait + action + + + + selectFrame + relative=top + + + + selectFrame + main_window + + + + assertText + //tr[9]/td[3] + 1197 + + + assertText + //tr[9]/td[5] + 191,57 + + + break + + Set the Startpoint to the next command manually + @@ -2007,7 +2989,7 @@ open - admin.pl?rpw=ro26F.eQBldoA&nextsub=list_users&action=Weiter + https://lx-office.linet-services.de/svn-installationen/unstable/admin.pl?path=bin/mozilla/&rpw=roXyrPyqv9wE2&nextsub=list_users&action=Weiter @@ -2017,12 +2999,12 @@ clickAndWait - demo-1619 + link=demo-1619 type - Pg_dbname + dbname leer @@ -2036,11 +3018,6 @@ - - assertTitle - Lx-Office ERP Administration - - - clickAndWait document.forms[0].action[2] @@ -2052,14 +3029,8 @@ - click - document.forms[0].action[1] - - - - - waitForPageToLoad - 120000 + clickAndWait + document.forms[0].action[2] @@ -2068,10 +3039,11 @@ - click - //input[@value="Selenium_Testdb-_SKR03_IST_1619_2006_2007"] - + select + db + label=Selenium_Testdb-_SKR03_IST_1619_2006_2007 + clickAndWait action