Sie sind auf Seite 1von 27

Offline Website

Downloader

Group Members
Introduction


Faisal Mahmood
MC110400153
INTRODUCTION OF PROJECT
Internet is worlds largest computer
network.
It is connecting billions of devices
together.
Websites play a vital role in todays
Internet.
Website offers a wealth of information.
INTRODUCTION OF PROJECT
To gain access to the information sources
hosted by web servers require a working
internet connection.
This limits users potential to acquire
information when he needs.
Offline Website Downloader makes this
possible by downloading websites to local
hard drive.
Process Model
Water fall model is followed to develop the
software.
It is a sequential development approach, in
which development is seen as flowing
steadily downwards through the phases of
requirements analysis, design,
implementation, testing, and maintenance.
Actors Catalog
The only actor of the System is
User who triggers different
commands from available list.
Use Case Diagram
Business Rules Catalog
Provide the option of URL filtering.
Options for selecting to download specific
contents.
Show the average downloading speed and
downloading progress of the websites.
Ability to stop or pause the downloading
of any website.
Keeping historical log of website mirroring.
Architectural Design
Project Scope
Project Schedule
Sequence Diagrams
Logical Model/Class Diagram
+createProject()
+startForm()
+openProject()
+startDownload()
-projectFile
-ArrayList
OfflineWebsiteDownloader
+saveProject()
+getURLs()
+verifyURLs()
-ProjectDir
-URLs
CreateProject
+continueInterrupted()
+overWrite()
+modifyOptions()
+viewWebsite()
+viewLog()
+removeWebsite()
-projectFilePath
OpenProject
+selectOptions()
-Server
-Stay
-Level
-Contents
SelectOptions
+updateUI()
-URL
-fileSize
-downloadSize
-scannedLinks
-downloadedLinks
-currentSpeed
-averageSpeed
-totalData
DownloadProgress
+setOptions()
+getTotalLinks()
+getDownloadedLinks()
+getLevel()
+getSize()
+setParallel()
+startThread()
+parseHTML()
-rootDir
-prefix
-protocol
-downThreadCount
-size
-currentLevel
DownloadEngine
+download()
-address
-bytesDown
DownloadThread
+writeLog()
-log
Logger
+Browse()
-filePath
Internal Browser
W
r
i
t
e
L
o
g
create
open
L
a
u
n
c
h
c
r
e
a
t
e
c
r
e
a
t
e
c
r
e
a
t
e
User Interfaces
User Interfaces
User Interfaces
User Interfaces
Tools
Java Developer Kit 7
NetBeans IDE 7.4
Test Cases
Test Case # 1
Test Case Title: Supply link to download

Preconditions None
Actions User writes the URL for downloading
Expected Results URL is added into download queue
Tested By: mc110400153
Result Pass
---------------------------------------------------
Test Case # 2
Test Case Title: Select download directory

Preconditions User has provided the link(s) for downloading.
Actions User selects the download directory from local disk file system
Expected Results Download directory is selected
Tested By: mc110400153
Result Pass
Test Cases
Test Case # 3
Test Case Title: Select level of downloading

Preconditions User has selected the download directory
Actions User picks a level for downloading
Expected Results Downloading level is selected
Tested By: mc110400153
Result Pass
Test Case # 4
Test Case Title: Apply URL filter

Preconditions User has defined maximum mirroring depth
Actions User selects or deselects URL filtering
Expected Results URL filters are applied or disabled
Tested By: mc110400153
Result Pass
Test cases
Test Case # 5
Test Case Title: Select Contents to download

Preconditions User has selected URL filters
Actions User selects specific contents or everything to download
Expected Results Content filters are applied or disabled
Tested By: mc110400153
Result Pass
---------------------------------------------------
Test Case # 6
Test Case Title: Show downloading speed and progress

Preconditions Website downloading is in progress
Actions Downloading speed is calculated by system.
Expected Results Software displays downloading speed and progress.
Tested By: mc110400153
Result Pass
Test Plan
List Feature Function
1. Write Project Name

.
2. Select Download Directory

.
3. Provide URLs

.
4. Select Mirroring Depth

.
5. Select to stay on same server or not

.
6. Select download Contents
.
7. Start Download

.
8. Pause / Stop downloading

.
9. Overwrite / delete website
.
10. Browse downloaded website

.
11. View Log

.
Thanks!

Any Questions
The End

Das könnte Ihnen auch gefallen