<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Implementing proper Regression Testing using NPrinting in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Implementing-proper-Regression-Testing-using-NPrinting/m-p/869355#M5526</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Hi,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;I would like to share my "a-ha" moment: NPrinting allows to implement regression testing for &lt;SPAN style="font-size: 13.3333330154419px;"&gt;QlikView that was so much requested from me in the last years. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;The ingredients:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;-get some data (database, text files, Excels..)&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;-make a QlikView script loading data above&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;-make some charts and formulas &lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;-using NPrinting make HTML reports. Nothing fancy, just a table with few columns of numbers&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;-add NPrinting filters to define a day, say yesterday (or January first ). &lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;The assumption is that past numbers do not change anymore.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;-manually check the numbers &lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;-rename the HTML file (ex "sales_report_finland_2015_01_01.html") to&amp;nbsp; &lt;SPAN style="font-size: 13.3333330154419px;"&gt;"reference_sales_report_finland_2015_01_01.html"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;-make a batch file like the one bellow and run it ! &lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; padding-left: 30px;"&gt;rem refresh QlikView file&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; padding-left: 30px;"&gt;"C:\Program Files\QlikView\qv.exe" /r whatever.qvw&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; padding-left: 30px;"&gt;rem generate NPrinting reports&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; padding-left: 30px;"&gt;"C:\Program Files (x86)\NPrinting\Client\NPrinting.exe" /NprintingFile whatever.nsq /Job "regression test"&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; padding-left: 30px;"&gt;fc "sales_report_finland_2015_01_01.html" "reference_sales_report_finland_2015_01_01.html" &amp;gt; nul&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; padding-left: 30px;"&gt;if %ERRORLEVEL% NEQ 0 (&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; padding-left: 30px;"&gt;&amp;nbsp; echo Sales Report regression test failed&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; padding-left: 30px;"&gt;)&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;The regression test will fail if:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;the database / files alters history &lt;/LI&gt;&lt;LI&gt;the loading script has "new features" that are "new bugs"&lt;/LI&gt;&lt;LI&gt;same for the chart formulas&lt;/LI&gt;&lt;/UL&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Do you currently have other ways to implement regression testing ? &lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Cheers, Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 May 2015 13:20:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-05-15T13:20:18Z</dc:date>
    <item>
      <title>Implementing proper Regression Testing using NPrinting</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Implementing-proper-Regression-Testing-using-NPrinting/m-p/869355#M5526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Hi,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;I would like to share my "a-ha" moment: NPrinting allows to implement regression testing for &lt;SPAN style="font-size: 13.3333330154419px;"&gt;QlikView that was so much requested from me in the last years. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;The ingredients:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;-get some data (database, text files, Excels..)&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;-make a QlikView script loading data above&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;-make some charts and formulas &lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;-using NPrinting make HTML reports. Nothing fancy, just a table with few columns of numbers&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;-add NPrinting filters to define a day, say yesterday (or January first ). &lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;The assumption is that past numbers do not change anymore.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;-manually check the numbers &lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;-rename the HTML file (ex "sales_report_finland_2015_01_01.html") to&amp;nbsp; &lt;SPAN style="font-size: 13.3333330154419px;"&gt;"reference_sales_report_finland_2015_01_01.html"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;-make a batch file like the one bellow and run it ! &lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; padding-left: 30px;"&gt;rem refresh QlikView file&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; padding-left: 30px;"&gt;"C:\Program Files\QlikView\qv.exe" /r whatever.qvw&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; padding-left: 30px;"&gt;rem generate NPrinting reports&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; padding-left: 30px;"&gt;"C:\Program Files (x86)\NPrinting\Client\NPrinting.exe" /NprintingFile whatever.nsq /Job "regression test"&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; padding-left: 30px;"&gt;fc "sales_report_finland_2015_01_01.html" "reference_sales_report_finland_2015_01_01.html" &amp;gt; nul&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; padding-left: 30px;"&gt;if %ERRORLEVEL% NEQ 0 (&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; padding-left: 30px;"&gt;&amp;nbsp; echo Sales Report regression test failed&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; padding-left: 30px;"&gt;)&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;The regression test will fail if:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;the database / files alters history &lt;/LI&gt;&lt;LI&gt;the loading script has "new features" that are "new bugs"&lt;/LI&gt;&lt;LI&gt;same for the chart formulas&lt;/LI&gt;&lt;/UL&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Do you currently have other ways to implement regression testing ? &lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Cheers, Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 13:20:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Implementing-proper-Regression-Testing-using-NPrinting/m-p/869355#M5526</guid>
      <dc:creator />
      <dc:date>2015-05-15T13:20:18Z</dc:date>
    </item>
  </channel>
</rss>

