10-30-2007 10:47 AM
hi ,
after developing the object , how unit testing is performed in real time ?
is test cases are prepare by abapers or functional people ?
please provide one scenario or documentation regarding this.
thanks in advance
regards,
hari priya
10-30-2007 10:56 AM
Hi Hari
We can do the Unit Testing in 2 ways.
For this we have to create the UTP(Unit Test Plan).
1. By having the knowledge on the developed functionality, the developer himself will create the UTP.
2. The Functional team will provide the UTS(Unit Test Scripts), based on UTS the developer will simply create the UTP.
Regards,
Sree
10-30-2007 10:52 AM
Functional people will provide the test cases .. but it's also the developers task
to prepare their own test cases after all he has the clear picture of the object developed ...
Scenario's depend on the object you develop and there is no documentation for this.
10-30-2007 10:53 AM
Hi Hari Priya,
The Unit Testing is done by the Abapers or functional people depends on the project.
But always you can do one round of Unit testing to ensure the correctness of your program.
Reward If Useful.
Regards,
Chitra.
10-30-2007 10:55 AM
hi,
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 .
<b>Reward points if helpful</b>
regards,
pavan
10-30-2007 10:56 AM
Hi Hari
We can do the Unit Testing in 2 ways.
For this we have to create the UTP(Unit Test Plan).
1. By having the knowledge on the developed functionality, the developer himself will create the UTP.
2. The Functional team will provide the UTS(Unit Test Scripts), based on UTS the developer will simply create the UTP.
Regards,
Sree
10-30-2007 10:56 AM
Hi,
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.
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.
Type CATT test cases have two maintenance modes:
CATT Create test cases.
Extended CATT: Create test cases with complex check logic: all CATT functions are available.
Procedure
Create test cases. Use the recording functionality. You can create transaction chains that correspond with your business processes.
Define test rules in the test cases.
Create test case variants.
Manage the test cases in the Test Organizer.
Run the test cases and analyze the logs. You may have to retest test cases in which errors occurred.
============================================================
Below mentioned is the example of test case for procuremnt scenario.
INput values
ME21N Create PO Vendor (code) material (code) price - generates PO
ME29N Release PO (Po Number, rel code) - PO is released
MIGO GR against PO (Mvt 101, PO number, qty, delivery note )
MIRO IR against PO ( PO number, value )
Here actually against T-Code we specify what result we are expecting by inputing certain values in respective fields & record the output according to our business requirement
E.G.
You can definitely do manual testing & 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 & you can look forward to mend the same accordingly.
As far as test script is concerned, it can be designed by individual as per requirement. Eg of most probable columns are as under:
Customer
Sales area
Sales Order Type
Sales order no
Sales Order Date
Material
Quantity
Sales Order Amount
Sales Order Currency
Pricing Procedure
Plant
Shipping Point
Delivery Type
Delivery No
Delivery date
PGI no
PGI Accounting Document No
Billing Type
Billing No
Billing Amount
Currency
& so on........
Functional test case is a set of conditions or variables under which a tester will determine if a certain business process works.
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.
Check these links for Unit Test
http://www.sap-img.com/general/role-of-sap-consultant-in-testing.htm
http://hosteddocs.ittoolbox.com/CM021805.pdf
Regards,
Padmam.