Automating sap testing with qtp10 & qc10
-
Upload
patrick-sun -
Category
Technology
-
view
119 -
download
2
Transcript of Automating sap testing with qtp10 & qc10
Automating SAP Testing with QTP 10 and QC 10
Agenda
1. Key facts about SAP Testing
2. SAP Testing : Types
3. Testing @ SAP System Landscape
6. SAP Quality Center (QC) by HP
7. SAP SolMan + HP QC = Accelerated Testing
9. Advantages
8. Showcase : Business Scenario
11. Appendix
Questions
4. SAP Testing : Efficient Approach
5. SAP Solution Manager (SolMan)
Ramakrishna Chary
Ramakrishna Chary
Vijay Nandipati
Vijay Nandipati
Sriharsha Achutanna
Sriharsha Achutanna
Sriharsha Achutanna
Sriharsha Achutanna
Sriharsha Achutanna
Ramakrishna Chary
10. ROI
Sriharsha Achutanna
2
Over 86% of customers are concerned about
risks due to a lack of comprehensive Testing
75% of SAP Customers report that testing is
the major cost and Time factor during SAP
application implementation
Approximately 25% of a corporate application
changes per year
Applications gain complexity over their lifetime
requires additional testing
More than 50% percent of the development time
spent in testing
Testing helps SAP Applications in achieving
Correctness of business reports
More reliable
Usability
Integrity of the software application
SOURCE: SAP
Key Facts about SAP Testing
Time Detected
Require
ments
Architect
ure
Constru
ction
System
Test
Post-
Release
Time
Introd
uced
Requireme
nts 1× 3× 5–10× 10× 10–100×
Architectu
re - 1× 10× 15× 25–100×
Constructi
on - - 1× 10× 10–25×
Source: Wikipedia
3
Agenda
1. Key facts about SAP Testing
2. SAP Testing : Types
3. Testing @ SAP System Landscape
6. SAP Quality Center (QC) by HP
7. SAP SolMan + HP QC = Accelerated Testing
9. Advantages
8. Showcase : Business Scenario
4. SAP Testing : Efficient Approach
5. SAP Solution Manager (SolMan)
11. Appendix
Questions
10. ROI
4
Types of Testing
Unit Testing
System Testing
Integration Testing
Regression Testing
User Acceptance Testing
Performance Testing
SAP Testing : Types
5
Agenda
1. Key facts about SAP Testing
2. SAP Testing : Types
3. Testing @ SAP System Landscape
6. SAP Quality Center (QC) by HP
7. SAP SolMan + HP QC = Accelerated Testing
9. Advantages
8. Showcase : Business Scenario
4. SAP Testing : Efficient Approach
5. SAP Solution Manager (SolMan)
11. Appendix
Questions
10. ROI
6
Testing @ SAP system Landscape
For single application component like SAP ECC 6.0…
Development Quality
Assurance Production
Pre Production
Sandbox Training
SAP recommends 3 system Landscape
Development
Quality
Production
Unit Testing is executed in the Development system
System Testing, Integrated Testing is executed in the
Quality Assurance System
Load Testing, UAT is executed in the Pre Production
system
Development Quality
Assurance
Pre Production
Testing activities are
involved
7
Testing @ SAP system Landscape
In entire SAP System Landscape, where multiple application components are involved as shown in the below example…
Dev QA PROD Pre PRD
Dev QA PROD Pre PRD
Dev QA PROD PrePRD Dev QA PROD PrePRD
SAP ECC
SAP BIW
SAP SEM SAP CRM
All enterprise applications
are subjected to changes
due to
- Custom developments
- New Support Packages
- New Implementations
- New Processes
- Software Upgrades
8
Agenda
1. Key facts about SAP Testing
2. SAP Testing : Types
3. Testing @ SAP System Landscape
6. SAP Quality Center (QC) by HP
7. SAP SolMan + HP QC = Accelerated Testing
9. Advantages
8. Showcase : Business Scenario
4. SAP Testing : Efficient Approach
5. SAP Solution Manager (SolMan)
11. Appendix
Questions
10. ROI
9
SAP Testing : Efficient Approach
In entire SAP System Landscape, where multiple application components are involved as shown in the below example…
Dev QA PROD Pre PRD
Dev QA PROD Pre PRD
Dev QA PROD PrePRD Dev QA PROD PrePRD
SAP ECC
SAP BIW
SAP SEM SAP CRM
SAP Solution
Manager
HP Quality
Center
10
Agenda
1. Key facts about SAP Testing
2. SAP Testing : Types
3. Testing @ SAP System Landscape
6. SAP Quality Center (QC) by HP
7. SAP SolMan + HP QC = Accelerated Testing
9. Advantages
8. Showcase : Business Scenario
4. SAP Testing : Efficient Approach
5. SAP Solution Manager (SolMan)
11. Appendix
Questions
10. ROI
11
SAP Solution Manager (SolMan)
SAP Solution Manager provides
- tools,
- Services
- methods
- technical and applications- related documentation
- templates
Full Control on entire IT Infrastructure
Supports all phases of entire lifecycle of Software
solution
- Implementation
- Operation
- Support
SAP Solution Manager for Implementation
SAP Solution Manager for Operation
SAP Solution Manager for Support
12
Agenda
1. Key facts about SAP Testing
2. SAP Testing : Types
3. Testing @ SAP System Landscape
6. SAP Quality Center (QC) by HP
7. SAP SolMan + HP QC = Accelerated Testing
9. Advantages
8. Showcase : Business Scenario
4. SAP Testing : Efficient Approach
5. SAP Solution Manager (SolMan)
11. Appendix
Questions
10. ROI
13
Agenda
1. Key facts about SAP Testing
2. SAP Testing : Types
3. Testing @ SAP System Landscape
6. SAP Quality Center (QC) by HP
7. SAP SolMan + HP QC = Accelerated Testing
9. Advantages
8. Showcase : Business Scenario
4. SAP Testing : Efficient Approach
5. SAP Solution Manager (SolMan)
11. Appendix
Questions
10. ROI
14
Solman – HP QC Execution process
15
Agenda
1. Key facts about SAP Testing
2. SAP Testing : Types
3. Testing @ SAP System Landscape
6. SAP Quality Center (QC) by HP
7. SAP SolMan + HP QC = Accelerated Testing
9. Advantages
8. Showcase : Business Scenario
4. SAP Testing : Efficient Approach
5. SAP Solution Manager (SolMan)
11. Appendix
Questions
10. ROI
16
Business Scenario : Key Terms
Test Scenario
Test Case
Test Scenario is the high level business process that has to be validated
Test case is a sequence of steps to execute the business flow.
17
Business Scenario : Process Flow …… 01
Navigate to Transaction Code SOLAR_PROJECT_ADMIN Maintain a project E1_SALES with key project information like Project Start and End Date, Project Team members, Milestones, Blueprint selection etc..
18
Navigate to SAP Quality Center -> Site Administrator and create a new project E1_SALES under default domain
Business Scenario : Process Flow …… 02
Note: In SAP Quality Center: - Assign the users to the project - Enable “Enterprise Integration SAP Extension
19
Navigate to Transaction Code SOLAR_PROJECT_ADMIN Map the SAP Solution Manager Project to SAP Quality Center Project “E1_SALES”
Business Scenario : Process Flow …… 03
20
Business Blueprint : Navigate to Transaction Code SOLAR01 Define a new business scenario “Sales” under Business Scenarios Folder. You need to navigate to Business Process Folder structure tab and define the Sales Process steps as shown in the figure
Business Scenario : Process Flow …… 04
21
Business Blueprint : Navigate to Transaction Code SOLAR02 Note that you can see this tab only after successful integration between SAP SolMan and SAP Quality Center
Navigate to “Transfer to SAP QC by HP” tab and a Test Object
Business Scenario : Process Flow …… 05
22
Business Blueprint : Select the Test Object for the business process
Business Blueprint : Test Object is created for the business process
Business Scenario : Process Flow …… 06
Once the Test Object is created Navigate to Menu ->Configuration -> “ Send Data to Quality Center”
23
Mark the business scenario “Sales” This will transfer the Test objects to SAP Quality Center as Test Requirements
Business Scenario : Process Flow …… 07
All the Test Object from SAP SolMan are transferred as Requirements in SAP Quality Center
24
Convert these requirements into Test Cases and Design Steps to derive Test plan
Business Scenario : Process Flow …… 08
25
Manually, define the steps for the Test Case. Note that, you can use BPT and SAP TAO along with QTP to generate the steps
Navigate to Test Plan tab, you should see a Test Case
Business Scenario : Process Flow …… 09
26
Manually, run the Test Case Step by clicking the Run button in Test Lab Tab
Once the Test Case is executed, send the Test Case Results back to the Solution Manager by navigating to Tools menu as shown.
Business Scenario : Process Flow …… 10
27
Navigate to Transaction Code SOLAR_EVAL. You should see the Test Case Results in the Solution Manager
Sales Process : Regression Testing …… 11
28
Regression testing
- partially retesting a modified program.
- general assurance that no additional errors were introduced in the process of
fixing other problems.
- Repetitive process
- Automation
Sales Process : Regression Testing …… 12
29
VB Script is generated by QTP for all the actions performed and it is shown in expert view
In Keyword view all the SAP screen objects can be seen for the actions performed.
Sales Process : Regression Testing …… 13
30
The generated script in QTP is saved which can be further uploaded to QC
QTP generated script is maintained in the HP QC as shown in the figure. We can also invoke QTP and execute the script from QC itself.
Sales Process : Performance Testing …… 14
31
Performance Testing
- system performs under a particular workload.
- validate and verify scalability, reliability and resource usage
The different types of performance testing :
1. Load testing (Test de charge)
2. Stress testing (test de stress)
3. Endurance testing (Test endurance)
4. Spike testing (pic de charge)
Sales Process : Performance Testing …… 15
32
Vuser_init, Actions, Vuser_end are the 3 components for any load runner test
Code for the business functionality is saved in Actions.
Sales Process : Performance Testing …… 16
33
Establish connection to upload LR script to QC.
The load runner script saved in QC can be executed from QC by invoking Load Runner.
Sales Process : Reusable Business Components …… 17
34
Business Components are created in the Business Components tab
The Business Process components are grouped to form different test scenarios
Sales Process : SAP TAO …… 18
35
SAP Test Acceleration and Optimization
- Generate automatic tests during regression testing of SAP
solutions, quickly.
- Creates components from the screens of a transaction and
parameterizes them.
- Supports maintenance of components
Sales Process : SAP TAO …… 19
36
Inspect will identify all the components for the particular Transaction Code
Sales Process : SAP TAO …… 20
37
All the components are sent to Business Components tab in QC
Test Case is created with all the components from TAO
Different Types of Testing …… 21
38
Manual Testing Regression Testing Performance Testing Business Process Testing BPT using SAP TAO
39
Solution Manager
Quality Center
QTP
BPT
SAP TAO
Load Runner
HP Products
SAP Products
Different Types of Testing Tools …… 22
Agenda
1. Key facts about SAP Testing
2. SAP Testing : Types
3. Testing @ SAP System Landscape
6. SAP Quality Center (QC) by HP
7. SAP SolMan + HP QC = Accelerated Testing
9. Advantages
8. Showcase : Business Scenario
4. SAP Testing : Efficient Approach
5. SAP Solution Manager (SolMan)
11. Appendix
Questions
10. ROI
40
Advantages
Centralized Testing Approach
Reduce redundancy & inconsistency
Adhere to standards
Capture testing metrics & test results
Maximize managerial visibility & test coverage
Independent verification of test results
Defects Reporting
Automatic reporting of defects with quality information
Prompt defect resolution
41
Agenda
1. Key facts about SAP Testing
2. SAP Testing : Types
3. Testing @ SAP System Landscape
6. SAP Quality Center (QC) by HP
7. SAP SolMan + HP QC = Accelerated Testing
9. Advantages
8. Showcase : Business Scenario
4. SAP Testing : Efficient Approach
5. SAP Solution Manager (SolMan)
11. Appendix
Questions
10. ROI
42
Agenda
1. Key facts about SAP Testing
2. SAP Testing : Types
3. Testing @ SAP System Landscape
6. SAP Quality Center (QC) by HP
7. SAP SolMan + HP QC = Accelerated Testing
9. Advantages
8. Showcase : Business Scenario
4. SAP Testing : Efficient Approach
5. SAP Solution Manager (SolMan)
11. Appendix
Questions
10. ROI
43
Question & Answers