Unit Testing in Report Generation

I am new to SAP-BW. looking as of how can Unit Testing be done in Reports. and any other kind of testing on reports.
any kind of information on report testing, how is it usually done would be real helpful.
thanks in advance

Hi Kavi,
As far as i have gathered knowledge in Report Unit Testing.these are the important points
you have four kind of unit testing to be done on the reports.
1.Security : This will include testing the functionality of the security module with regards to validation of user profile and that access to reports is provided based on user group profile. The users can be categorized into the following types and this information can be obtained from Report Technical Design Document.
o     View a snapshot of a report generated earlier
o     Can execute report
o     Edit the report
2.User Experice Testing: basically how the report looks to user, the fonts, the titles, kind of obvios but important stuff.
3. Data Validation Testing: To see if the data we obtain in the reports is same as the data present in the Source R/3 System. This can be done by taking some raw data from source system and cross checking with the reports. This can be done manually, I dont have any idea to automate this process.I am not sure if automation can be done. This is a painful process but, very important step and crutial in unit testing.
4. Navigational Testing: This is basically testing all the drill down function, navigational and Report to Report linkage. This info we can get from the technical design document for the reporting. and corresponding Test Scripts can be prepared from it.
As you can see The template will be consisting of all the above said columns, Entry and Exit Criteria and corresponding people who are going to perform the test.(Onsite/offsite).
For each case a testscript can be prepared and can be used multiple times whenever report has to be tested.
I do have a template.BUt i need to edit it somewat before mailing.Do tell me if u need one...or is this information sufficient.
Hope it Helps
AKB

Similar Messages

  • Creating ABAP Unit Tests for Report Programs

    How can we create ABAP unit test  for report programs.
    Please explain the steps?

    Hi Devendra.
    I would like to suggest some references which are as below:
    [SAP HELP - Complete ABAP unit|http://help.sap.com/saphelp_nw04/helpdata/en/a2/8a1b602e858645b8aac1559b638ea4/frameset.htm]
    [SDN - Reference for ABAP unit testing|about unit testing;
    Hope that's usefull.
    Good Luck & Regards.
    Harsh Dave
    Edited by: Harsh Dave on Jul 14, 2008 2:13 PM
    Edited by: Harsh Dave on Jul 14, 2008 2:20 PM

  • Problem with Report Generation in TestStand 3.0

    While using On-the-Fly Test Report Generation capabilities in TestStand 3.0, the PC become very sluggish and occasionally there are error messages containing an error code of -17000 and the statment, "Out of Memory". The error dialog usually appears while attempting to run the "reportgen_html.seq" file. Do you have any suggestions as to how we may correct this problem?

    Hi
    The test which you trying to run could potentially be leaking memory. I would suggest that you do the following.
    1. Run the tests without report generation and result collection. Monitor the memory usage of your test using either taskinfo2000 or PerfMon and monitor your application.
    To turn off result collection go the configure-> station options-> general tab -> Check disable result recording for all Sequences.
    To turn off report generation -> configure-> report options-> and check disable report generation
    If you tests still give a out of memory error then potentially the tests are leaking memory. Also if you see an increase in memory usage when running your tests then you could potentially be leaking memory in the tests
    If your application
    does not give errors then I would turn on result collection and keep report generation disabled and check if you get errors.
    If you get memory errors then you just might need more RAM to store all the results.
    If you still do not get any errors then I would turn on report generation and result collection and set the report to txt. If you still do not get any errors.
    If you get errors then you might just need more memory to generate the report and display it.
    I hope this help
    Regards

  • Application Builder for labVIEW 7 Doesn't support any report generation function

    I'm Using LabVIEW 7.0 to build an application My Application is exporting data to an excel report. the vis were working great until i tried to creat an .EXE file. The application is working fine but when i try to generate the report nothing happens.
    So, I decided to test the report generation functions alone (New Report.vi, Append report text.vi and Dispose Report.vi). The Problem Still there, the .EXE file takes no action when i attend to generate a report. any suggetions please.

    Shady Yehia wrote:
    > I'm Using LabVIEW 7.0 to build an application My Application is
    > exporting data to an excel report. the vis were working great until i
    > tried to creat an .EXE file. The application is working fine but when
    > i try to generate the report nothing happens.
    >
    > So, I decided to test the report generation functions alone (New
    > Report.vi, Append report text.vi and Dispose Report.vi). The Problem
    > Still there, the .EXE file takes no action when i attend to generate a
    > report. any suggetions please.
    Another possible reason besides of possible path problems: Are you
    running that application on the same computer? If not you need not only
    to install the Runtime-Engine (automatic when you create an installer)
    but also the Report Active X support.
    To include that into the installer
    you go into the Installer Settings Tab, then press the Advanced button
    and make sure that you check the NI Reports Support checkbox before
    creating an application build.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • TAB functional​ity in Report Generation doesn't work.

    Inserting TABS either by putting in a string or concatenating with the TAB constant doesn't seem to work. In the HTML file created by "Example HTML Report.vi" there are supposed to be two tabs in the text but they don't seem to be there. I'm trying to perodically insert data into tab delimited columns in a report. I'm using LabView 6i on Win2000.

    I don't know much about HTML but I haven't found a tag for TAB by looking at a few WEB sites. And yet..there's a "Set Report Tab Width.vi" in the Report Generation sub-pallette. The "Append Report Text.vi" has a sub-vi called "HTML Report Token Converter.vi". When it gets the tag it sends a
    , which I believe is a HTML line break. Not exactly equivalent to a TAB as far as I can see. If you can't send a TAB to HTML why set the TAB Width? So it seems the problem isn't with the example it's with the implementation of the Report Generation sub-pallette. Maybe the Report Generation utilities were developed for an older version of HTML and need to be updated. When I "View Source" on the HTML document that's being created, I get "-//W3C//DTD HTML 4.0
    Transitional//
    USAYPG
    4221Z Met Data
    Wednesday, June 19, 2002
    1:28:04 PM
    Test of Report Generation
    Item Item Item Item Item
    Time
    Temp
    Humidity
    Pressure
    1.00
    2.00
    3.00
    4.00
    101.00
    102.00
    103.00
    104.00
    Don't know if this will help or not.

  • Test coverage in LabView Unit Test Framework

    Hi,
    can somebody from NI confirm the following two statements about the Unit Test Framework:
    1. The framework does not support "recursive coverage metrics", where the coverage considers sub-VIs that are executed in the VI under test.
    2. 100% coverage means something weaker that common "branch coverage". For example, an "if" VI is a branch in the program but it is not considered as a branch by LabView's test coverage metrics.
    Thanks,
    Peter

    Hello Johannes,
    I'm interested in branch coverage of a VI under test.
    Imagine a VI A that calls another VI B. If A is tested and LV's unit test framework reports 100% test coverage for A, it is possible that the test cases didn't visit all frames (branches) in B.
    Now my question is: is it possible that LV thinks of A as "flattened" so that all code in B is considered as code of A?
    Peter

  • How  to genearte Unit Test reports  through  ANT/Command  line ?

    Hi,
    I am using sql developer unit test feature to test my database code. I am planning to execute and generate reports by running ant script.
    Is it possible to get the unit test results in any format (text,XML,HTML) after running the tests.
    How to integrate report generation tasks as part of Automated builds?
    Is there any command line utility do through can invoke through ant task?
    Thanks,
    Fernando

    Fernando,
    I, too, am looking to run our PL/SQL unit test suites through our automated ant build scripts. Currently, I've only been able to determine that there is a "UtUtil.bat" and "UtUtil.sh" command line utility for win and linux in /sqldeveloper/sqldeveloper/bin. However, it only take three switches:
    UtUtil -run ?
    UtUtil -imp ?
    and
    UtUtil -exp ?
    While this does provide some limited value to us through automating the importing of our exported test suites and then running them as part of our builds, it doesn't help in running reports on the test runs and exporting the reports to something our build processes can consume (i.e. xml).
    Also, we want to be able to run our full db build on (almost) any of our development machines and we don't want to have to have a unit test repository already preconfigured on each development db. I haven't found a utility to automate the creation of the unit test repository user and the repository, and then whena all the test suite runs have finished and the reports run, delete the repository and repository user.
    We have used Quest's Code Tester product in the past and it had all of these great features that I am really hoping Oracle can either implement or expose to us.
    Regards and best of luck,
    Mike Sanchez

  • Unit testing and system integration testing for crystal report

    Hi gurus,
           I am creating crystal report by oracle procedure, will you please tell me how to do unit testing and system integration testing? appreciate very much.

    The focus of this forum is report design. The actual testing of reports would be subject to your own internal policies and procedures.
    Jason

  • Reporting unit test duration over builds

    We have a set of unit tests which perform standard operations in our software, spinning up the application, creating data...
    What we would like to do is create a line chart to show the running time of individual tests across builds, so we can show how code changes are altering system performance.
    Is this possible? This is just a quick question before we spend resources to investigate how to do it.
    Thanks in advance

    As part of the Test result output we are getting TRX files. TRX files are just XMLs. You can write an XSLT transformation to present the data in the format you need. A nice thing about XSLT is that it has built-in aggregation, grouping, sorting etc capabilities
    Few more options in detail given below.
    http://richhewlett.com/2012/05/24/exporting-an-html-report-from-your-vstfs-test-results/
    http://social.technet.microsoft.com/wiki/contents/articles/2061.how-to-create-reports-for-tfs-2010-test-results.aspx
    Cheers, Senthilraj

  • [svn:osmf:] 15984: FM-848: adding unit test that holds the code to reproduce the reported bug.

    Revision: 15984
    Revision: 15984
    Author:   [email protected]
    Date:     2010-05-10 05:50:23 -0700 (Mon, 10 May 2010)
    Log Message:
    FM-848: adding unit test that holds the code to reproduce the reported bug.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-848
    Modified Paths:
        osmf/trunk/framework/OSMFTest/org/osmf/elements/compositeClasses/TestCompositeMetadata.as

    My apologies about the wall of text. After I made my original post, I thought maybe it would better to go back and put it in a pastebin instead. I was not able to edit that post once I sent it.
    In regards to your question, the  permissions on the
    /Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist file is "read and write" for system, wheel and everyone.

  • Automated Unit Tests through NWDI / Purpose of testrun.xml

    Hello,
    I could not find any documentation on the test infrastructure / system that seems to be integrated into Netweaver CE 7.1. A DC offers the option via the context menu to "Add/Repair Unit Test Support". When this is used the Developer Studio automatically creates the necessary test source folder, JUnit library dependencies and a file called TEST-INF/testrun.xml.
    The first two things are clear, but what function does the testrun.xml file serve? To me it looks like it defines the Tests that should be executed (automaticaly during build?). However, the tests are never actually run.
    <?xml version="1.0" encoding="UTF-8"?>
    <test>
      <run type="junit">
        <include>com.sap.**</include>
        <exclude></exclude>
      </run>
    </test>
    Can anybody expain how this file is though to be used? Or how to perform automatic unit tests during/after the build process?
    Thanks in advance.
    ciao,
    Elmar
    Edited by: Elmar Weber on Sep 17, 2008 9:58 AM

    Hi test developers,
    the integration of JUnit tests into the DC build is planned for 7.30. You can add your tests in a separate test folder and specify additional "test"-dependencies, if required. The tests will be executed during the DC build. If a test fails, the build will also fail. Generation of code coverage reports will be possible, too.
    Best Regards,
      Jochen Ehret.

  • Report Generation for Excel does not work after using the Application Builder

    I have a VI that writes data to an Excel file using the Report Generation Toolkit. I recently compiled the VI into a single Application (EXE) using the Application Builder. My VI runs its tests properly, but no data is written to Excel. What could be the cause? I don't receive any error messages.

    Hi
    I usually build exe-files, which sometimes also have report functionality.
    Open the Application Builder and check the following things:
    1. Add the following vis: _Word Dynamic VIs.vi, _Excel Dynamic VIs.vi They should be located in the directory ..\LabVIEW X.X\vi.lib\addons\_office in the llbs _wordsub.llb and _exclsub.llb (report1.jpg)
    2. If you use an Installer, go to the Advanced Settings. There you can select some things to include in the Installer. Check if "NI Reports Support" is selected. (report2.jpg)
    These are the things I always do, if I need reports and I never had problems up to now. I made two screen-shots of these settings.
    Hope this helps.
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...
    Attachments:
    report.zip ‏25 KB

  • Error involving Report Generation Toolkit and Labview Run Time Engine

    Developed an application using LabVIEW 6.1 and LabVIEW Report Generation Toolkit for Microsoft Office 1.0.1. From there, tried to build a shared application for use with the LabVIEW Run Time Engine. The Run Time version functions properly until "New Report.vi" is called and then an error is generated, code 7, calling out "Open VI Reference in New Report.vi" could not be found. When building the application, I did include the "NI Reports Support" in the advanced installer options. The machine used for original development and application build is running Windows XP Pro and Office XP. Any suggestions??

    I am having the exact same problem but with LV 6.1 and M/S WORD 2000. It appears that the "New Report.vi" is trying to open "C:\APP.DIR\Word_Open.vi" and "C:\APP.Dir\Word_Open_Document.vi" by reference. The "OFFICE 2000.TXT" says that "_exclsub.llb and _wordsub.llb must be added as support files when building an application or a dynamic link library with the application builder." I added them as Support Files and I copied them to the "C:\TESTER\" where the TESTER.EXE is and I still get ERROR 7 in "NEW REPORT.VI" at VI OPEN REFERENCE.
    Do I need to make a "C:\TESTER\DATA\" sub-dir and put the support files there?
    I am building on MY COMPUTER on F: Drive on a network and transporting files to the real Tester.
    I displayed my App.Property of APP.DI
    R at start up and it is C:\TESTER\ ! How would my application know that "Word_Open.vi" and "Word_Open_Document.vi" are actually inside the _wordsub.llb?
    Any ideas ?
    Greg Klocek

  • Error in report generation-Load report failed

    I have installed crystal reports  for VS2005 runtime in my live environment.When i try to load the report file from a .Net page i am getting the error'Error in Report generation-Load report failed'.
    This works fine in development and testing but when moved to production we are having issues.
    I believe i have a workaround i.e i need to open the rpt in a VS 2005 environment and re-write the connection string again.This fix had worked in development and testing when we had the same issue.
    But not sure if this is a known issue with crystal reports and if so do we have any hot fixes for the same.
    Please help.

    Hi Don,
    The reason why i posted the item on 'data Connectivity issues' is because i suspect the problem is with the connection string.Though i had provided the correct connection string,re-writing the connection string with the same info might help to fix the issue with loading the report.
    Does it mean that there is a problem in the connectivity?
    I have a risk here that i cant re-write the connection string..i.e to open the RPT file in VS2005 and bind it.The production web server & database server sits in a  third party environment and it is not in the company network.So i cant connect to this server to re-write from any other severs in the network.
    Is there any fix which can applied to the server to get this issue resolved?
    Cheers
    Nithya.

  • Report Generation Toolkit V9.0.0 : Print Report.vi doesnt print

    Hi,
    i have migrated my Labview 8.5 Project with Report Generation Toolkit V1.1.2 to a Labview 2009 System with Report Generation Toolkit V9.0.0.
    In this Project I use the Report Generation Toolkit for printing out a Standard Report with e few Tables and Graphs.
    Now the VI Print Report.vi delivers the Error -41002 with the Text "Invalide Printer Name". I have, of course installed the propper Printer on the machine.
    I don´t connect a string to the "Printer name" input of the VI, because i want to use the default printer.
    In my oppinion, there´s  a bug in the Print Report.vi: if you don´t wire the "Printer name" input, the vi should use the default printer, but in this case the vi connects the empty input string to the input of the method node it calls.
    I fixed this bug, but the method node still returns the same error.
    any ideas?
    Thanks!
    Solved!
    Go to Solution.

    Thank you for the link!
    For some reasons i can´t find this specific article in the knowledge base (my browser is always rerouted to the german version of ni.com, because i am in Austria). I tried to search with the exact title of this article, and the error message string, but no results...
    I have also installed Labview 8.5 and the "old" Toolkits on my new computer in addition to Labview 2009 and the "new" Toolkits and tested my program in 8.5. Here i got an error mentioning the margins and i had to change the margin settings for printing out, then in worked.
    After reading the article, i have applied the same changes for the margins in the 2009-version of my program and it works too!
    Problem solved!
    Thank you very much!
    PS:
    I first wrote, that there´s maybe a bug in the new version of the Print Report.vi, but i´ve compared it with the old version and it seems to be no bug, sorry!
    After all I decided to stay with Labview 8.5 for now, because of another problem:
    it´s not possible to "save for previous version" from LV2009 to LV8.5 directly.
    Laview crashes, when a VI contains an event structure as i found out by searching through the "known issues", and i have a lot of VIs with event structures!
    I have to have the possibility to save my Labview projects for 8.0 and 8.5. The only way is to save for 8.6 and then save from 8.6 to 8.5.
    That´s nasty and time-consuming!
    Maybe a future update will solve this problem (without producing new ones)

Maybe you are looking for