Scrathch Card

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 28

NIET

SCRATCH CARD SYSTEM

CSE

In this scratch card system different commercial people keep introducing their products On web by registering their organization. The vendor or user can make use of scratch card and buy the products online Application, Objective and Benefits:
The application will be utilized by the service sale organization for sale their products ,and also useful for any users for downloading the services .

1.Goal: The Web Site will be launched by the client as per his requirements.
2.Objective : The objective of this application is to service sale organizations. 3.Benefits : Maintain a database of the vendors and scratch card. This application will produce the following deliverable:

Allow Vendors to Register and login.

Authorized Vendors can upload the Services. Vendors gain the Profit. Users can login by using the Scratch Card Number. Users can make download the Services as per the Scratch Card Cost and File cost.

Users can Forward the one scratch card balance to another card

Will Not Do: - This application will not be responsible if user lost the Scratch Card Number .

SCRATCH CARD SYSTEM

CSE

NIET
Architecture Diagram

SCRATCH CARD SYSTEM

CSE

NIET

Modules:
This project consists of 4 modules:
Vendors Registration on web by using flex Publishing Vendors Resources/Facilities on web Implementing the Scratch card number Accessing the Resources and Display the balance

MODULE 1: Vendors Registration on web by using flex:


Here vendors has to Register their Organization name by supplying the require information so that they will get their user id and password. Vendor Name Password Organization Name Address

Email Id

SCRATCH CARD SYSTEM

CSE

NIET
Phone Number Vendor will get username and password ,so that vendor can login by providing login information.

MODULE 2:

Publishing Vendors Resources/Facilities on web:


Here the authorized vendors can publish their Resources and facilities in the web . Need to provide service type Need to provide service name Need to provide cost of services Upload the services

MODULE 3: Implementing the Scratch card number :


Here in this module need to produce the Secret code of the Scratch card. Here the we need to generate the random number for scratch card for various cost

SCRATCH CARD SYSTEM

CSE

NIET

MODULE 4: Accessing the Resources and Display the balance:


Here in this module the user can make use of the available Resources and benefits according to the scratch card amount and finally also know the balancing amount . User should login by providing scratch card number Validate the scratch card number User can choose the type of services to be download

Check every time cost of scratch card before user downloading service .
Reduce the cost from the scratch card as soon as user download the services

Unified Modeling Language:


The Unified Modeling Language allows the software engineer to express an analysis model using the modeling notation that is governed by a set of syntactic semantic and pragmatic rules. A UML system is represented using five different views that describe the system from distinctly different perspective. Each view is defined by a set of diagram, which is as follows.

SCRATCH CARD SYSTEM

CSE

NIET
1.User Model View
This view represents the system from the users perspective. . The analysis representation describes a usage scenario from the end-users perspective

2.Structural model view


In this model the data and functionality are arrived from inside the system. This model view models the static structures.

3.Behavioral Model View


It represents the dynamic of behavioral as parts of the system depicting the interactions of collection between various structural elements described in the user model and structural model view.

4.Implementation Model View


In this the structural and behavioral as parts of that are represented as they are to be built.

5.Environmental model view


In this the structural and behavioral aspects of the environment in which the system is to be implemented are represented.

SCRATCH CARD SYSTEM

CSE

NIET

The goals of UML are


1.To model systems using object-oriented concepts.
2.To establish an explicit coupling between conceptual as well as executable artifacts. 3.To address the issues of scale inherent in complex, mission critical system. 4.To create a Modeling language usable by both humans and machines

SCRATCH CARD SYSTEM

CSE

NIET UsecaseDiagrams:
VendorInformation

VendorProfit Admin GenerateScratchCard

login

Vender

Registration

Webserver VenderLogin

Upload Services

Validating Scratch Card Number User DownloadServices

DataBase

CostForward

SCRATCH CARD SYSTEM

CSE

NIET

VenderRegistration

VenderLogin Vender

Webserver

ValidVendors Upload Services Database

Validating Scratch Card Number

CostForward User Webserver

DownloadServices DataBase

SCRATCH CARD SYSTEM

CSE

NIET Admin usecase:

VendorInformation

ViewVendorProfit Admin server

GenerateScratchCard

Register&Login DataBase

SCRATCH CARD SYSTEM

CSE

NIET ClassDiagram

SCRATCH CARD SYSTEM

CSE

NIET
SequenceDiagrams:

Vendor : New Class

Register

Login

SelectCategory

UploadService

GetProfit

database

1: ForNewVendors ForNewVendors

2: store vendor information

3: login

4: validate vendors

6: For InvalidVendors

5: invalidVendors/NewVendors 7: SelectServiceCategory

8: Uploadservices UpdateProfit 9: Update Profit

GetProfitInformation 10: ViewProfitRequest

11: DisplayProfit

SCRATCH CARD SYSTEM

CSE

NIET
Collaboration Diagram:

Vendor:
vendor

1: for new vendors

Register 2: log in for valid vendors Databas e

3: in valid vendors 4: for invalid vendors 9: Get profit requestGet profit info 11: Display Profit

log in 8: 10:

5: select service category 7: update profit

Get profit

6: upload service select category upload service

SCRATCH CARD SYSTEM

CSE

NIET
User Collaboration:

4: for in vlaid sc card or zero balance 1: Enter scratch card number User Login 2: check for Validation Validate scno and balance

6: for valid sc number 5: 7: file select & download Select category 10: Enter sctatch card numbers Select file name 8: send file cost 3: Accss cost of sc card

update scratch card cost

cost forward

9: update cost 11: update scratch card Datebas e

SCRATCH CARD SYSTEM

CSE

NIET
StateChart Diagrams: User:
Idle Register Submitting login Details

Select category

Upload services

Database Get Profit

Idle

SCRATCH CARD SYSTEM

CSE

NIET
Vendor:
Idle Registering

Submitting login Details

Select category

Upload services

Get Profit

Details

Idle

SCRATCH CARD SYSTEM

CSE

Activity Diagram: No
User

Enter scratch card no

no
Invalid scno/Bal<0

valid

Search categories

Yes

Search games

Search songs

Search e-books

Select games

Select songs

Select e-books

Download services

Know the Bal amount

Vendor:
Vendor

Submit login details

invalid
Register

Registerd
Upload Services

Get Profit

Update Database

SCRATCH CARD SYSTEM

CSE

NIET
Component Diagram:

SCRATCH CARD SYSTEM

CSE

NIET
Deployment Diagram:

SCRATCH CARD SYSTEM

CSE

NIET
TESTING SOFTWARE TESTING:
Once source code has been generated, software must be tested to allow errors to be identified and removed before delivery to the customer. While it is not possible to remove every error in a large software package, the software engineers goal is to remove as many as possible early in the software development cycle.

Software Testing Principles:


All tests should be traceable to customer requirements. Tests should be planned long before testing begins. Testing should begin in the small and progress to the large. Exhaustive testing is not possible.

To be most effective, testing should be conducted by an independent third party.

Good Test Attributes:


A good test has a high probability of finding an error.

A good test is not redundant.


A good test should not be too simple or too complex

SCRATCH CARD SYSTEM

CSE

NIET
Two basic test techniques involve
Testing module input/output (black-box) Exercising internal logic of software components (white-box).

Black-Box Testing:
Knowing the specified function that a product has been designed to perform, tests can be conducted that demonstrates each function is fully operational, at the same time searching for errors in each function. It enables us to derive sets of input conditions that will fully exercise all function requirements for a program.

It attempts to find errors in the following categories:Incorrect or missing functions Interface errors Errors in data structures or external database access Performance errors Initialization and termination errors

SCRATCH CARD SYSTEM

CSE

NIET
White-Box Testing:
This is performed knowing the internal workings of a product. Tests are conducted to ensure that all gears mesh, that is, that internal operation performs according to specification and all internal components have been adequately exercised. This can be done on close examination of procedural detail by providing test cases that exercise specific set of conditions and/or loops tests logical paths through the software.

Using the white-box testing we can derive test cases that,


Guarantee that all independent paths within a module have been exercised at least once. Exercise all logical decisions on their true and false sides. Execute all loops at their boundaries and within their operational bounds and Exercise internal data structures to assure their validity. By the test cases each of the modules have executed at least once and tested for bugs. All the logic decisions on their true and false sides are executed so that the system will perform well.

SCRATCH CARD SYSTEM

CSE

NIET
Unit Testing:
Black box and white box testing.

Module interfaces are tested for proper information flow.


Local data are examined to ensure that integrity is maintained. Boundary conditions are tested. Basis path testing should be used. All error handling paths should be tested. Drivers and/or stubs need to be developed to test incomplete software.

Integration Testing: Top-down integration testing:


1.Main control module used as a test driver and stubs are substitutes for components directly subordinate to it. 2. Subordinate stubs are replaced one at a time with real components (following the depth-first or breadth-first approach). 3. Tests are conducted as each component is integrated. 4. On completion of each set of tests and other stub is replaced with a real component. 5. Regression testing may be used to ensure that new errors not introduced.

SCRATCH CARD SYSTEM

CSE

NIET
Bottom-up integration testing:
1. Low level components are combined in clusters that perform a specific software function. 2. A driver (control program) is written to coordinate test case input and output. 3. The cluster is tested. 4.Drivers are removed and clusters are combined moving upward in the program structure.

Validation Testing:
Ensure that each function or performance characteristic conforms to its specification.

Deviations (deficiencies) must be negotiated with the customer to establish a means for
resolving the errors. Configuration review or audit is used to ensure that all elements of the software configuration have been properly developed, cataloged, and documented to allow its support during its maintenance phase

SCRATCH CARD SYSTEM

CSE

NIET
Types of Validation Testing:
Alpha Test: A customer conducts it at the developers site. The software is used in a natural setting with the developer looking over the shoulder of the user and recording errors and usage problems.

Beta Test : This test is conducted at one or more users sited by the end user(s) of the software. Here the developer is generally not present. Therefore, the beta test is a live application of the software in an environment that cant be controlled by the developer.

Testing:
Testing is the crucial phase of Software Development Life Cycle in order to deliver the product with proper and proposed functionality. Several tests are conducted to test the functionality of the system. The following are few test cases conducted to ensure the product functionality

SCRATCH CARD SYSTEM

CSE

NIET
Test case1: Whenever a worker tries to register second time by sending sms as REG;<skill> then the system will respond by sending the below SMS: Sorry, You are already registered

Test case2: Whenever the unregistered user sends his status (BUSY/FREE), the system will respond as follows: sorry, you are not a registered worker, if u want to register with us send sms like REG;<skill> to us.

Test case3: If the user (worker or customer) sends unrecognized message to the system then the system will respond by the following SMS: Sorry, we are unable to understand your message, try again.

SCRATCH CARD SYSTEM

CSE

You might also like