Sunteți pe pagina 1din 14

Design Document for

Design Document for

Submitted by

On 13-June-2008

Page 1 of 14
Design Document for

Document Control

Reference No: / / 001


Security Confidential
Classification:
Issue Date:
Author(s): Name

Reviewed by: Names

Approved by Name

Document History: Date Revision Change

Page 2 of 14
Design Document for

T ABLE OF C ONTENTS

1. OVERVIEW 4
1.1 PURPOSE 4
1.2 SCOPE 4
2. SCRIPTING GUIDELINES AND STANDARDS 5
3. PROCESS FLOW 6
3.1 BUSINESS PURPOSE 6
3.2 (PSEUDO CODE) 6
3.3 FLOWCHART 6
4. IDENTIFIED ACTIONS 7
5. DESIGN OF SCRIPTS 8
5.1 SAP_AUTO_LOGON 8
5.2 9
5.3 9
5.4 10
5.5 11
5.6 SAP_AUTO_LOGOFF 11
6. SCRIPT STRUCTURE 13
7. ASSUMPTIONS 14

Page 3 of 14
Design Document for

1. O VERVIEW

1.1 PURPOSE
This document is aimed for providing a clear understanding to the Test Engineer for scripting
and the overall design of the test script to the Functional Consultants.

1.2 SCOPE
This document details the overview of scripting standards, Process flow and the description of
identified functions as well as Reusable actions for Automation of test scripts.

Page 4 of 14
Design Document for

2. S CRIPTING G UIDELINES AND S TANDARDS

Refer enclosed attachment for Scripting Guidelines and Standards, which will be followed while
automating the Test Script.

Scripting Guidelines
abd Standards.doc

Page 5 of 14
Design Document for

3. P ROCESS FLOW

3.1 BUSINESS PURPOSE

3.2 (PSEUDO CODE)


Note: Parameters to be fetched from external datasheets which is loaded through internal
QTP logic.

Change in Position
DataSheet.xls

a.

3.3 FLOWCHART
Refer enclosed attachment for Action Call details.

Flowchart

Page 6 of 14
Design Document for

4. I DENTIFIED A CTIONS

 SAP Auto Logon

Page 7 of 14
Design Document for

5. D ESIGN OF S CRIPTS

5.1 SAP_AUTO_LOGON
Name : SAP_AUTO_LOGON

Functionality : It will login to corresponding SAP server with the user data from the

Data table

Assumptions : N/A

Pre Condition : N/A

Post Condition : Successfully Login to particular Server

Pseudo Code : Enter the Server Description, Username, Password, Client, Language

key and press Enter.

Input Parameters : Refer Table no: 1a

Table 1a

Parameters Type Mandator Description


y
Mention the Server Description of the SAP
ServerDescription String value Yes
server to be connected.
Client String value Yes Mention the Client description of the SAP
severs to be connected.

User String value Yes Mention the User Name.

Password String value Yes Mention the Password.

Language String value Yes Mention the Language.

Login Flag Yes

Output Parameters : N/A

Check points : N/A

Error Handling : When an invalid username/password is entered, system throws invalid


Username/password message, “Name or password Incorrect”, please
re-enter”. The Error handling function will stop execution, exit from
test and will report the error message in the result summary.

Page 8 of 14
Design Document for

5.2
Name :

Functionality :
Assumptions :

Pre Condition : N/A

Post Condition : N/A

Input parameters : Refer Table no: 2a

Output Parameters : N/A

Pseudo code :

1.

Table 2a

Parameters Type Mandat Description


ory

5.3
Name :

Functionality :

Assumptions :

Pre Condition : N/A

Post Condition :

Page 9 of 14
Design Document for

Input parameters : Refer Table no: 3a

Output Parameters : N/A

Pseudo code : 1

Check point :

Table 3a

Global Parameters Type Mandatory Description

5.4
Name :
Functionality :
Assumptions : N/A

Pre Condition : N/A

Post Condition :

Input parameters : Refer Table no: 4a

Output Parameters : N/A

Pseudo code :

1.

Check points :

Table 4a

(Action_Name) Type Mandatory Description


Parameters

Page 10 of 14
Design Document for

5.5
Name :

Functionality :

Assumptions : N/A

Pre Condition : N/A

Post Condition : N/A

Input parameters : Refer Table no: 5a

Output Parameters : N/A

Pseudo code :

Check points : N/A

Table 5a

(Action_Name) Type Mandatory Description


Parameters

5.6 SAP_AUTO_LOGOFF
Name : Sap_Log_Off

Functionality : Logs off from SAP.

Assumptions : N/A

Pre Condition : N/A

Post Condition : Successfully logged off from SAP.

Pseudo Code : 1. Select System>>Logoff from menubar.

2. Click ‘Yes’ button

Calls : N/A

Input parameters : N/A

Page 11 of 14
Design Document for

Output Parameters : N/A

Check Points : N/A

Error handling : N/A

Page 12 of 14
Design Document for

6. S CRIPT S TRUCTURE

Page 13 of 14
Design Document for

7. ASSUMPTIONS

Test Automation design is based on following assumptions;

 All the scripts including applications like SAP are specifically designed for the use in
‘English’ language only.

 A common date format [mm/dd /yyyy] should follow through out the script

Page 14 of 14

S-ar putea să vă placă și