Compare commits

..

5 Commits

  1. 7
      src-modules/module/qa/datentabellen/qa_mask_execution_assert_result_code_setzen.sql
  2. 13
      src-modules/module/qa/masken/37060_maskeninfo.unl
  3. 6
      superx/WEB-INF/conf/edustore/db/bin/qa_tc_execution_mail.x

7
src-modules/module/qa/datentabellen/qa_mask_execution_assert_result_code_setzen.sql

@ -166,8 +166,7 @@ from qa_mask_execution2project TP, qa_project P
where TP.mask_execution_id=tmp_testcase.mask_execution_id where TP.mask_execution_id=tmp_testcase.mask_execution_id
and P.tid=TP.project_id and P.tid=TP.project_id
; ;
--nun DB-Tests, wenn keine Maske ausgewählt ist: --nun DB-Tests:
<#if "<<Maske>>" =="">
<@selectintotmp <@selectintotmp
select=" select="
T.tid, T.tid,
@ -233,7 +232,6 @@ update tmp_qa_dbtest set
insert into tmp_testcase(testcase_type, insert into tmp_testcase(testcase_type,
systeminfo_id, systeminfo_id,
projekt_str,
execution_name, execution_name,
uniquename, uniquename,
--maskeninfo_id_str, --maskeninfo_id_str,
@ -251,7 +249,6 @@ nextedit
) )
select 2::integer as testcase_type, --DB-Test select 2::integer as testcase_type, --DB-Test
systeminfo_id, systeminfo_id,
projekt_str,
name, name,
uniquename, uniquename,
case when ticket_link !='' then 'Ticket|' || ticket_link else '' end as ticket_link, case when ticket_link !='' then 'Ticket|' || ticket_link else '' end as ticket_link,
@ -272,7 +269,7 @@ from tmp_qa_dbtest
drop table tmp_qa_dbtest; drop table tmp_qa_dbtest;
</#if> --Ende wenn keine Maske ausgewählt ist
<#if inEtl> <#if inEtl>

13
src-modules/module/qa/masken/37060_maskeninfo.unl

@ -358,8 +358,10 @@ zeitraum,\
comparison,\ comparison,\
result_table_1,\ result_table_1,\
result_table_2,\ result_table_2,\
result_code_str,\ --50 as _graphbar,\
hidden_summe\ (100-( result_table_1::decimal(8,2))/(result_table_2::decimal(8,2))*100)::integer as _graphbar,\
result_code_str\
--hidden_summe\
from tmp_abgleich\ from tmp_abgleich\
where 1=1\ where 1=1\
/* and <<Ausführungs-Status>>=result_code */\ /* and <<Ausführungs-Status>>=result_code */\
@ -425,6 +427,9 @@ Column CID=1 heading_text="Wert ${profile.table_1_caption}" center_heading\
Column CID=1 heading_text="Wert ${profile.table_2_caption}" center_heading\ Column CID=1 heading_text="Wert ${profile.table_2_caption}" center_heading\
row_selectable col_selectable heading_platform readonly\ row_selectable col_selectable heading_platform readonly\
width=10 text_size=200\ width=10 text_size=200\
Column CID=1 heading_text="Differenz graphisch" center_heading\
row_selectable col_selectable heading_platform readonly\
width=10 \
Column CID=1 heading_text="Status" center_heading\ Column CID=1 heading_text="Status" center_heading\
row_selectable col_selectable heading_platform readonly\ row_selectable col_selectable heading_platform readonly\
width=10 text_size=200\ width=10 text_size=200\
@ -472,6 +477,4 @@ Column CID=1 heading_text="Ergebnis" center_heading row_selectable col_selectabl
Column CID=1 heading_text="hidden_Summe" center_heading row_selectable col_selectableh eading_platform readonly width=10 text_size=20\ Column CID=1 heading_text="hidden_Summe" center_heading row_selectable col_selectableh eading_platform readonly width=10 text_size=20\
Column CID=1 heading_text="Summe" center_heading row_selectable col_selectableh eading_platform readonly width=1 text_size=1\ Column CID=1 heading_text="Summe" center_heading row_selectable col_selectableh eading_platform readonly width=1 text_size=1\
</#if>\ </#if>\
@@@^ ^ ^Generische Auswertung eines Tabellenabgleichs mit Link zu Details bei Auswertung mit Aggregation des Vergleichs=Felder^drop table tmp_abgleich; \ @@@^ ^ ^Generische Auswertung eines Tabellenabgleichs mit Link zu Details bei Auswertung mit Aggregation des Vergleichs=Felder^drop table tmp_abgleich; drop table tmp_abgleich_ds; drop table tmp_abgleich_summen;^^1^440^360^^1^ ^
drop table tmp_abgleich_ds; \
drop table tmp_abgleich_summen;^^1^440^360^^1^^

6
superx/WEB-INF/conf/edustore/db/bin/qa_tc_execution_mail.x

@ -22,8 +22,8 @@ cd $WEBAPP/WEB-INF
#echo CMD -cp "$JDBC_CLASSPATH" $JAVA_OPTS de.superx.bin.ExecuteMask -tid:$MASKEN_TID -out:$FILE_DIR/$FILE_NAME.pdf -user:admin "-params:${MASK_PARAM}&stylesheet=tabelle_fo_pdf.xsl&contenttype=application/pdf" -logger:$SUPERX_DIR/db/conf/logging.properties #echo CMD -cp "$JDBC_CLASSPATH" $JAVA_OPTS de.superx.bin.ExecuteMask -tid:$MASKEN_TID -out:$FILE_DIR/$FILE_NAME.pdf -user:admin "-params:${MASK_PARAM}&stylesheet=tabelle_fo_pdf.xsl&contenttype=application/pdf" -logger:$SUPERX_DIR/db/conf/logging.properties
# PDF # XLSX
java -cp "$JDBC_CLASSPATH" $JAVA_OPTS de.superx.bin.ExecuteMask -tid:$MASKEN_TID -out:$FILE_DIR/$FILE_NAME.pdf -user:admin "-params:${MASK_PARAM}&stylesheet=tabelle_37020_mit_summary.jrxml&contenttype=application/pdf" -logger:$SUPERX_DIR/db/conf/logging.properties java -cp "$JDBC_CLASSPATH" $JAVA_OPTS de.superx.bin.ExecuteMask -tid:$MASKEN_TID -out:$FILE_DIR/$FILE_NAME.xlsx -user:admin "-params:${MASK_PARAM}&Zusammenfassung=0&stylesheet=tabelle_37020_mit_summary.jrxml&contenttype=application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" -logger:$SUPERX_DIR/db/conf/logging.properties
#HTML #HTML
java -cp "$JDBC_CLASSPATH" $JAVA_OPTS de.superx.bin.ExecuteMask -tid:$MASKEN_TID -out:$FILE_DIR/$FILE_NAME.htm -user:admin "-params:${MASK_PARAM}&Zusammenfassung=1&stylesheet=tabelle_37020_mit_summary.jrxml&contenttype=text/html" -logger:$SUPERX_DIR/db/conf/logging.properties java -cp "$JDBC_CLASSPATH" $JAVA_OPTS de.superx.bin.ExecuteMask -tid:$MASKEN_TID -out:$FILE_DIR/$FILE_NAME.htm -user:admin "-params:${MASK_PARAM}&Zusammenfassung=1&stylesheet=tabelle_37020_mit_summary.jrxml&contenttype=text/html" -logger:$SUPERX_DIR/db/conf/logging.properties
@ -44,6 +44,6 @@ export F_ANZ=$(grep -c Fehler $FILE_DIR/$FILE_NAME.csv)
#Mail Versand #Mail Versand
cat $FILE_DIR/$FILE_NAME.htm | $MAILPROG -s "Testfall-Protokoll | $W_ANZ Warnungen | $F_ANZ Fehler" -M "text/html" -a $FILE_DIR/$FILE_NAME.pdf "${LOGMAIL}" cat $FILE_DIR/$FILE_NAME.htm | $MAILPROG -s "Testfall-Protokoll | $W_ANZ Warnungen | $F_ANZ Fehler" -M "text/html" -a $FILE_DIR/$FILE_NAME.xlsx "${LOGMAIL}"

Loading…
Cancel
Save