• No results found

Test Case

4.3 Test Log

PCSO Lottery Digits Generator Test Log Project:

Test Script Version Result

Test Case: 1 Passed: Yes Failed: No Deferred: No Comment: Error-Free Test Case: 2 Passed: Yes Failed: No Deferred: No Comment: Error-Free Test Case: 3 Passed: Yes Failed: No Deferred: No Comment: Error-Free Test Case: 4 Passed: Yes Failed: No Deferred: No Comment: Error-Free Test Case: 5 Passed: Yes Failed: No Deferred: No Comment: Error-Free Test Case: 6 Passed: Yes Failed: No Deferred: No Comment: Error-Free Test Case: 7 Passed: Yes Failed: No Deferred: No Comment: Error-Free Test Case: 8 Passed: Yes Failed: No Deferred: No Comment: Error-Free Test Case: 9 Passed: Yes Failed: No Deferred: No Comment: Error-Free Test Case: 10 Passed: Yes Failed: No Deferred: No Comment: Error-Free Test Case: 11 Passed: Yes Failed: No Deferred: No Comment: Error-Free Test Case: 12 Passed: Yes Failed: No Deferred: No Comment: Error-Free Test Case: 13 Passed: Yes Failed: No Deferred: No Comment: Error-Free Test Case: 14 Passed: Yes Failed: No Deferred: No Comment: Error-Free Test Case: 15 Passed: Yes Failed: No Deferred: No Comment: Error-Free

Metrics Metric: LOC 211 Calculation: n/a Metric: LLOC 69 Calculation: n/a

Signature: Ma. Carmen N. Lim Date: 2012.05.10

0535 - 0000 – 7999(I-DIT)

2 9

4.4

Screen Dumps

LOTTO DIGITS GENERATOR FORM

This is the actual interface of Lottery Digit Generator where lucky draws actually occur in quadratic Textboxes once the Next Draw Button is clicked.

Numbers are then sorted via the Sort „Numbers‟ button and stored into a database via the „Store Digits button‟.

ABOUT WINDOW

This window pops up once the user, click on the File Menu from the bar on top of the Lottery Digits Generator Screen. It only shows the technical details that associates with the game system in terms of the date of creation, version, the author and licensing.

0535 - 0000 – 7999(I-DIT)

3 0

STORED ITEMS MESSAGE BOX

This pops up once the user clicked on the “Store Digits” Button on the Lottery Digits Generator interface to indicate that the winning lottery digits drawn was stored in a database and is rendered USED.

HELP WINDOW

This window shows up when the help menu is clicked from the bar atop the lottery digit generator machines interface. It displays context on how to operate the gaming system.

0535 - 0000 – 7999(I-DIT)

3 1

CHAPTER V: IMPLEMENTATION

5.1 User Manual

This section of the documentation is compelled to explain to the user the proper utilization of PCSO Lottery Digits Generator. Again, the purpose of the machine is to generate winning number combinations for all categories of that game of luck. Technically, the Lottery system is crafted in C Sharp Programming language which streamlines items contained in a particular windows form application. This type of C language can work with robust graphical user interfaces which would need prerequisites to run. So before we begin with directives on how to operate this lottery digit generator we should first determine System Requirements for the user to take note and obtain. The machine is best suited for the later versions of windows which are XP and 2007 since it is crafted using visual C# 2008 Express Edition.

Software Requirements

 Microsoft Visual Studio 2008/ 2010 Express Edition (Freeware) Hardware Requirements

 Central Processing Unit

 Hi-Res Monitor

 keyboard

 Mouse

 PowerBox

 USB Port/ CD Rom DVD Drive

Windows XP Home/ Professional Windows 7

Minimum Recommended Recommended

Pentium 233-megahertz (MHz) processor

Pentium 300-megahertz (MHz) processor

1 gigahertz (GHz) or faster 32-bit (x86) or 64-bit (x64) processor

64 MB RAM 128 MB RAM 1 gigabyte (GB) RAM (32-bit) or 2 GB RAM (64-bit) 1.5 gigabytes (GB) HDD 1.5 gigabytes (GB) HDD 16 GB hard disk space (32-bit) or 20 GB (64-bit)

Super VGA (800 x 600) Super VGA (800 x 600)

DirectX 9 graphics device with WDDM 1.0 or higher driver

0535 - 0000 – 7999(I-DIT)

3 2

Once the user has already acquired the system requirements for running this

machine, we can now prepare the Lottery Digits generator for installation for starters.

PCSO Lottery Digits Generator Setup:

There are two means of installing the Lottery Digits generator into the user‟s desktop and that would be either a USB device or CD RW that can be either Manual or Wizard, read ahead for the procedures.

A. USB device installation:

One way to install the PCSO Lottery Digits Generator Machine is via a USB device or commonly referred to as the flash drive. Initially the developer will provide the file you will transfer then just follow these quick steps:

1.) Pull out your USB flash drive wherever and plug it in a USB port the user‟s desktop should

automatically recognize the device and should automatically direct a user to its removable disk drive. Open that drive.

NOTE: you can manually locate your USB drive on MY COMPUTER!!

2.) Once the USB removable disk drive is opened you will immediately see the Lotto Folder in there, copy paste that into your desktop to transfer it .

0535 - 0000 – 7999(I-DIT)

3 3

B. CD-RW Installation (Manual) :

This is another method in installing the PCSO Lottery Digits Generator into the user‟s desktop it is also a simple task of transferring a file. The CD RW will be provided by the developer initially upon request by the way.

1.) Feed the PCSO lottery digits generator CD-RW into the computers CD ROM drive. Wait for it to load then it will prompt the user to open a folder.

NOTE: The user can manually open the CDROM local drive in MY COMPUTER too.

2.) Once the CDROM local drive is opened the user will see a zipped Lotto folder Copy and paste then right click >> extract that into the desktop and taddah!!

The system is transferred.

After the installation we shall proceed to opening then operating the Lottery Machine.

B.1. CD-RW Installation (Wizard):

1.) From the PCSO Lottery Machine CD-RW, extract zipped

folders into desktop first then the user will see theses icons on the window. They can double click any of the two icons to install the application.

2.) Once double clicked an application warning will show, don‟t feel threatened by that message for that is normal.

Ignore the warning and click install.

0535 - 0000 – 7999(I-DIT)

3 4

3.) Right when install button was clicked the Lottery Machine will be

automatically start and installed into “windows program files” and will show up in the “all programs” panel when the user hits the start button.

Opening and Operating the PCSO Lottery Digits Generator Machine:

1.) We have now transferred the Lotto folder into the desktop all we have to do now is double click it.

2.) Locate the lotto icon that looks like this in the face of that folder.

0535 - 0000 – 7999(I-DIT)

3 5

3.) After clicking the ICON the MICROSOFT Visual Studio 2008 Express Edition Editor will appear from there go to the solution explorer then double click on frmLotto.cs

4.) The user is now in the designer view of the program they don‟t have to do anything but press the play button.

PAK!!

Click frmLotto.cs TWICE!!

0535 - 0000 – 7999(I-DIT)

3 6

The Program is now running, we shall now control our PCSO Lottery Digits Generator. Its interface will just be explained for this phase.

REQUIRED: Before you can use the controls you should input a draw number into the textbox provided.

MAIN CONTROLS:

A.) To draw lottery number simply press Next Draw > button it will start selecting numbers in random according to the lottery game type. Notice the Draw No label change to indicate the count of attempts.

B.) To sort out the numbers simply click Sort Numbers Button.

C.) Click Store Digits to store winning digit combinations into MS Access database. A message box will inform the user that the data has been saved when this is successful.

ADDITIONAL Controls:

END – to close the program.

FILE – to view about dialog box.

HELP- built in tutorial for the lottery machine.

Area where drawn Lottery Numbers will Appear!

0535 - 0000 – 7999(I-DIT)

3 7

Store Number Button Usage:

Let‟s say, the user has already drawn winning

lottery digits and stored it in a

database using the Store Digits button in the machine‟s interface.

A Message box that states the lottery digits are stored into a database so they will be marked as USED. When this happens the user can view the numbers stored in a database so they can take note of it. To do that they should go to the

database explorer in the visual studio interface of the lottery solution then expand the

table folder then right click on the UsedNums table and click retrieve data. The stored digits will be displayed in that tables field right away

0535 - 0000 – 7999(I-DIT)

3 8

CHAPTER VI: CONCLUSION

Related documents