<?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 Re: unit testing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/unit-testing/m-p/3021474#M714363</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Testing : During a SAP project, the core team members along with endusers test whether the postings done in SAP is resulting as per the requirements of the organisation. They will test whether the output documents such as purchase order, invoice document are printed in the required format and showing the correct data. &lt;/P&gt;&lt;P&gt;SAP has given atool named CATT for testing purposes.Type CATT test cases are used to test R/3 transactions automatically. The transactions usually run without user interaction. Tests are logged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type CATT test cases have two maintenance modes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CATT Create test cases. &lt;/P&gt;&lt;P&gt;Extended CATT: Create test cases with complex check logic: all CATT functions are available.&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create test cases. Use the recording functionality. You can create transaction chains that correspond with your business processes. &lt;/P&gt;&lt;P&gt;Define test rules in the test cases. &lt;/P&gt;&lt;P&gt;Create test case variants. &lt;/P&gt;&lt;P&gt;Manage the test cases in the Test Organizer. &lt;/P&gt;&lt;P&gt;Run the test cases and analyze the logs. You may have to retest test cases in which errors occurred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;============================================================&lt;/P&gt;&lt;P&gt;Below mentioned is the example of test case for procuremnt scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INput values&lt;/P&gt;&lt;P&gt;ME21N Create PO Vendor (code) material (code) price - generates PO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ME29N Release PO (Po Number, rel code) - PO is released&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MIGO GR against PO (Mvt 101, PO number, qty, delivery note )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MIRO IR against PO ( PO number, value )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here actually against T-Code we specify what result we are expecting by inputing certain values in respective fields &amp;amp; record the output according to our business requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.G.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can definitely do manual testing &amp;amp; it is not important to do it through CATT. Doing testing through CATT may save your time, but doing manual testing will again be beneficial, as you will identify the problem area easily &amp;amp; you can look forward to mend the same accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as test script is concerned, it can be designed by individual as per requirement. Eg of most probable columns are as under:&lt;/P&gt;&lt;P&gt;Customer&lt;/P&gt;&lt;P&gt;Sales area&lt;/P&gt;&lt;P&gt;Sales Order Type&lt;/P&gt;&lt;P&gt;Sales order no&lt;/P&gt;&lt;P&gt;Sales Order Date&lt;/P&gt;&lt;P&gt;Material&lt;/P&gt;&lt;P&gt;Quantity&lt;/P&gt;&lt;P&gt;Sales Order Amount&lt;/P&gt;&lt;P&gt;Sales Order Currency&lt;/P&gt;&lt;P&gt;Pricing Procedure&lt;/P&gt;&lt;P&gt;Plant&lt;/P&gt;&lt;P&gt;Shipping Point&lt;/P&gt;&lt;P&gt;Delivery Type&lt;/P&gt;&lt;P&gt;Delivery No&lt;/P&gt;&lt;P&gt;Delivery date&lt;/P&gt;&lt;P&gt;PGI no&lt;/P&gt;&lt;P&gt;PGI Accounting Document No&lt;/P&gt;&lt;P&gt;Billing Type&lt;/P&gt;&lt;P&gt;Billing No&lt;/P&gt;&lt;P&gt;Billing Amount&lt;/P&gt;&lt;P&gt;Currency&lt;/P&gt;&lt;P&gt;&amp;amp; so on........&lt;/P&gt;&lt;P&gt;Functional test case is a set of conditions or variables under which a tester will determine if a certain business process works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This test case is used for testing the system for certain business process. for example, if tester wants to test purchase order functionality so he will use functional test case which explains how to carry out the functional test. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check these links for Unit Test&lt;/P&gt;&lt;P&gt;&lt;A href="http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.wbia_adapters.doc/doc/mysap3/sap144.htm" target="test_blank"&gt;http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.wbia_adapters.doc/doc/mysap3/sap144.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/general/role-of-sap-consultant-in-testing.htm" target="test_blank"&gt;http://www.sap-img.com/general/role-of-sap-consultant-in-testing.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://hosteddocs.ittoolbox.com/CM021805.pdf" target="test_blank"&gt;http://hosteddocs.ittoolbox.com/CM021805.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Padmam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Oct 2007 10:56:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-30T10:56:45Z</dc:date>
    <item>
      <title>unit testing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unit-testing/m-p/3021469#M714358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;after developing the object , how unit testing is performed in real time ?&lt;/P&gt;&lt;P&gt;is test cases are prepare by abapers or functional people ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please provide one scenario  or  documentation regarding this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;hari priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 10:47:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unit-testing/m-p/3021469#M714358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-30T10:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: unit testing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unit-testing/m-p/3021470#M714359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Functional people will provide the test cases .. but it's also the developers task&lt;/P&gt;&lt;P&gt;to prepare their own test cases after all he has the clear picture of the object developed ...&lt;/P&gt;&lt;P&gt;Scenario's depend on the object you develop and there is no documentation for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 10:52:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unit-testing/m-p/3021470#M714359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-30T10:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: unit testing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unit-testing/m-p/3021471#M714360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hari Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Unit Testing is done by the Abapers or functional people depends on the project.&lt;/P&gt;&lt;P&gt;But always you can do one round of Unit testing to ensure the correctness of your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward If Useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chitra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 10:53:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unit-testing/m-p/3021471#M714360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-30T10:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: unit testing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unit-testing/m-p/3021472#M714361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    unit testing is the responsibility of the Abaper itself. take one set of data which will satisfy all the criterias of your object. and another set of data which surely won't satisfies your criteria, in between those two you try for permitations and combinations to break your object .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 10:55:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unit-testing/m-p/3021472#M714361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-30T10:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: unit testing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unit-testing/m-p/3021473#M714362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hari&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can do the Unit Testing in 2 ways.&lt;/P&gt;&lt;P&gt;For this we have to create the UTP(Unit Test Plan).&lt;/P&gt;&lt;P&gt;1. By having the knowledge on the developed functionality, the developer himself will create the UTP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The Functional team will provide the UTS(Unit Test Scripts), based on UTS the developer will simply create the UTP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 10:56:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unit-testing/m-p/3021473#M714362</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2007-10-30T10:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: unit testing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unit-testing/m-p/3021474#M714363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Testing : During a SAP project, the core team members along with endusers test whether the postings done in SAP is resulting as per the requirements of the organisation. They will test whether the output documents such as purchase order, invoice document are printed in the required format and showing the correct data. &lt;/P&gt;&lt;P&gt;SAP has given atool named CATT for testing purposes.Type CATT test cases are used to test R/3 transactions automatically. The transactions usually run without user interaction. Tests are logged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type CATT test cases have two maintenance modes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CATT Create test cases. &lt;/P&gt;&lt;P&gt;Extended CATT: Create test cases with complex check logic: all CATT functions are available.&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create test cases. Use the recording functionality. You can create transaction chains that correspond with your business processes. &lt;/P&gt;&lt;P&gt;Define test rules in the test cases. &lt;/P&gt;&lt;P&gt;Create test case variants. &lt;/P&gt;&lt;P&gt;Manage the test cases in the Test Organizer. &lt;/P&gt;&lt;P&gt;Run the test cases and analyze the logs. You may have to retest test cases in which errors occurred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;============================================================&lt;/P&gt;&lt;P&gt;Below mentioned is the example of test case for procuremnt scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INput values&lt;/P&gt;&lt;P&gt;ME21N Create PO Vendor (code) material (code) price - generates PO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ME29N Release PO (Po Number, rel code) - PO is released&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MIGO GR against PO (Mvt 101, PO number, qty, delivery note )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MIRO IR against PO ( PO number, value )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here actually against T-Code we specify what result we are expecting by inputing certain values in respective fields &amp;amp; record the output according to our business requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.G.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can definitely do manual testing &amp;amp; it is not important to do it through CATT. Doing testing through CATT may save your time, but doing manual testing will again be beneficial, as you will identify the problem area easily &amp;amp; you can look forward to mend the same accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as test script is concerned, it can be designed by individual as per requirement. Eg of most probable columns are as under:&lt;/P&gt;&lt;P&gt;Customer&lt;/P&gt;&lt;P&gt;Sales area&lt;/P&gt;&lt;P&gt;Sales Order Type&lt;/P&gt;&lt;P&gt;Sales order no&lt;/P&gt;&lt;P&gt;Sales Order Date&lt;/P&gt;&lt;P&gt;Material&lt;/P&gt;&lt;P&gt;Quantity&lt;/P&gt;&lt;P&gt;Sales Order Amount&lt;/P&gt;&lt;P&gt;Sales Order Currency&lt;/P&gt;&lt;P&gt;Pricing Procedure&lt;/P&gt;&lt;P&gt;Plant&lt;/P&gt;&lt;P&gt;Shipping Point&lt;/P&gt;&lt;P&gt;Delivery Type&lt;/P&gt;&lt;P&gt;Delivery No&lt;/P&gt;&lt;P&gt;Delivery date&lt;/P&gt;&lt;P&gt;PGI no&lt;/P&gt;&lt;P&gt;PGI Accounting Document No&lt;/P&gt;&lt;P&gt;Billing Type&lt;/P&gt;&lt;P&gt;Billing No&lt;/P&gt;&lt;P&gt;Billing Amount&lt;/P&gt;&lt;P&gt;Currency&lt;/P&gt;&lt;P&gt;&amp;amp; so on........&lt;/P&gt;&lt;P&gt;Functional test case is a set of conditions or variables under which a tester will determine if a certain business process works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This test case is used for testing the system for certain business process. for example, if tester wants to test purchase order functionality so he will use functional test case which explains how to carry out the functional test. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check these links for Unit Test&lt;/P&gt;&lt;P&gt;&lt;A href="http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.wbia_adapters.doc/doc/mysap3/sap144.htm" target="test_blank"&gt;http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.wbia_adapters.doc/doc/mysap3/sap144.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/general/role-of-sap-consultant-in-testing.htm" target="test_blank"&gt;http://www.sap-img.com/general/role-of-sap-consultant-in-testing.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://hosteddocs.ittoolbox.com/CM021805.pdf" target="test_blank"&gt;http://hosteddocs.ittoolbox.com/CM021805.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Padmam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 10:56:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unit-testing/m-p/3021474#M714363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-30T10:56:45Z</dc:date>
    </item>
  </channel>
</rss>

