You are on page 1of 2

CS619: Test Phase Fall

2019

Suppose there is a website of purchasing grocery and as a web developer you have to enter
information of different main products like oil, soap and shampoo. Your task is to display the
main products category with its companies and prices. Information of 5 main products must be
visible on home page and when click on the specific main products list it should navigate to the
page containing the related main products companies with images. You have to make a search
box which can search by name or price of the main product or company from the database and
display it on the page. For this purpose, you must link your database with your website. Also
make two users of that website. One is admin and other is registered user. For admin all the
fields of the main products and companies should be editable which means if admin changes
anything from the website login it must also be changed in database and webpage, while for the
registered user it should not be editable.

Main Product Company Price

Oil Dalda Rs-1000

Sunflower Rs-1050

Shampoo Sunsilk Rs-358

Clear Rs-258

Soap Safeguard Rs-56

Dettol Rs-51

Sample information of Main Products and Companies

Virtual University of Pakistan

1
CS619: Test Phase Fall
2019
You are required to make one page with Main Products information having search box for the
main products and their companies and a button or hyperlink to display next company’s
information because only 5 main products information can be displayed on page and a menu
with three companies on the top of the page. Requirements for the above webpage are following.

1. Login as Administrator
2. Login as Registered user
3. Register new user

 When click on first two options a login form opens to login with the authorize user
(admin/register user).
 When click on third option a registration form opens to register the user as registered user
and all its information must be stored in the database against the specific user.
 Admin can insert, update, delete, and modify the record.
 Registered user can only view and select the record of its choice.
 Database must be relational.
 If any main product is deleted by the admin, all the companies related to that product
should be automatically deleted from both the database and webpage.

Good Luck!

Virtual University of Pakistan

You might also like