Upload
pankajsarmi
View
214
Download
0
Embed Size (px)
Citation preview
7/28/2019 Unit Testing.docx
1/6
Unit Testing
When you test every single document is called unit testing.
String Testing
One transaction full activity is called string testing . For example Vendor invoice, goods received and vendor
payment.
Integration Testing
It is purely with other modules and we have to check whether the FI testing is working with other related modules or
not.
Regression Testing
Testing for whole database. Bring all the data into another server and do the testing is called regression.
UAT
When we test any particular document with the user and if it is ok immediately we have to take the signature on the
document, which is signed off and can be forwarded to the immediate boss. There are some steps to be followed
when we go for user acceptance testing.
Transaction u2013 Script Writing u2013 Expected Results u2013 Compare with Actual Results
TPR (Transaction Problem Reporting)
7/28/2019 Unit Testing.docx
2/6
While doing the user acceptance testing if we get any problems then there are some methodologies to be followed
according to the companyu2019s policy and normally as a tester we always need to write on Test Script itself.
Regression test is done to ensure that existing functionalities / processes are not effected by the configs /
developments that you made.
For eg after you have finished your configs / developments in all domains of yourproject SD, FI, MM etc, you will test
to see that already existing processes arenot effected by your code. If you developed a customized logic that for new
sales org 2000, delivery split is basing on warehouse num. It should not effect any other sales org. Then you will test
to see if there is a delivery split in existing sales org 1000 basing on warehouse num
Testing : the core team members along with endusers will 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.
Unit testing is refer to the module which are going to implement. SD, MM, FICO etc. there will be test script based on
that testing will be performed.
Integration testing will be cross the modules. MM-SD-FICO for example. Integration testing is also called SIT (
System integration testing)
Testing mathologies and types: there are 6 types of testings:
1. Unit Testing
2. System Testing
3. System Integration security Testing
4. Performance Testing
5. User Acceptance testing
6. Regression Testing
7/28/2019 Unit Testing.docx
3/6
Unit testing is done in bit and pieces. Like e.g. in SD standard order cycle; we do have 1-create order, then 2-
delivery, then 3-transfer order, then 4-PGI and then 5-Invoice. So we will be testing 1,2,3,4 and 5 seperately alone
one by one using test cases and test data. We will not be looking and checking/testing any integration between order
and delivery; delivery and TO; TO and PGI and then invoice.
Whrereas System testing you will be testing the full cycle with it's integration, and you will be testing using test cases
which give a full cyclic test from order to invoice.
Security testing you will be testing different roles and functionalities and will check and signoff.
Performance testing is refered to as how much time / second will take to perform some actions, like e.g. PGI. If BPP
defination says 5 seconds for PGI then it should be 5 and not 6 second. Usually it is done using software.
Regression testing is reffered to a test which verfies that some new configuration doesnot adversly impact existing
functionality. This will be done on each phase of testing.
User Acceptance Testing: Refers to Customer testing. The UAT will be performed through the execution of
predefined business scenarios, which combine various business processes. The user test model is comprised of a
sub-set of system integration test cases.
We use different software during testing. Most commonly use are
Test Director: which is used to record requirement, preparing test plan and then recording the progress. We will be
incorporating defects that are coming during these testings using different test cases.
Mercury Load Runner: is used for performance testing. This is an automatic tool.
7/28/2019 Unit Testing.docx
4/6
What does the following terms means :
- Technical Unit Testing
- Functional Unit Testing
- IntegrationTesting
- Volume Testing
- Parallel Testing?
Technical Unit Testing= Test of some technical development such as a user exit, custom program, or interface. the
test usually consists of a test data set that is processed according to the new program. A successful test only proves
the developed code works and that it performed the process as as designed.
Functional Unit Testing= Test of configuration, system settings or a custom development (it may follow the technical
unit testing) These usually use actual data or data that is masked but essentially the same as a real data set. A
successful test shows that the development or configuration works as designed and the data is accurate as a result.
IntegrationTesting= Testing a process, development or configuration within the context of any other functions that the
process, development or functionality will touch or integrate . The test should examine all data involved across all
modules and any data indirectly affected. A successful test indicates that the processes work as designed and
integrate with other functions without causing any problems in any integrated areas.
Volume Testing= testing a full data set that is either actual or masked to insure that the entire volume does causesystem problems such as network transmission problems, system resources issues, or any systemic problem, A
successful test indicates that the processes will not slow or crash the system due to a full data set being utilized.
7/28/2019 Unit Testing.docx
5/6
Parallel Testing= Testing the new system or processes with a complete data set while running the same processes in
the legacy system. A successful test will show identical results when both the legacy system and new system results
are compared.
I would also note that when a new implementation is being done you will want to conduct at least one cut over test
from the old system to the new and you should probably do several.
What kind of testings that are carried out in testing server?
1. Individual Testing ( Individually which we've created)
2. Regressive Testing ( Entire Process)
3. Integration Testing ( Along with other integrated modules)
The 3 types of testing is as follows:-
1. Unit testing (where an individual process relevant to a SD or MM etc is tested)
2. Integration testing (where a process is tested that cuts across all areas of SAP).
3. Stress testing (where lots of transactions are run to see if the system can handle the data)
Regression testing is the process of testing changes to
computer programs to make sure that the older programming
still works with the new changes. Regression testing is a
normal part of the program development process and, in
larger companies, is done by code testing specialists. Test
department coders develop code test scenarios and exercises
7/28/2019 Unit Testing.docx
6/6
that will test new units of code after they have been
written. These test cases form what becomes the test bucket.
Before a new version of a software product is released, the
old test cases are run against the new version to make sure
that all the old capabilities still work. The reason they
might not work is because changing or adding new code to aprogram can easily introduce errors into code that is not
intended to be changed.
thanking you
venkat
+91-9871905974Regression testing is referred to a test which verifies that
some new configuration doesn't adversely impact existing
functionality. This will be done on each phase of testing.
User Acceptance Testing: Refers to Customer testing. The
UAT will be performed through the of predefined
business scenarios, which combine various business
processes. The user test is comprised of a sub-set of
system integration test cases.
We use different software during testing. Most commonly use are
Test Director: which is used to record requirement,preparing test plan and then recording the progress. We
will be incorporating defects that are coming during these
testings using different test cases.
Mercury Load Runner: is used for performance testing. This
is an automatic tool.