INFO-6053 Fall 2017
Project 3
Page 1 of 6
Title INFO-6053 Project 3 – Automated Testing with Selenium
Due Date Monday, January 8th
2018 by 11:59 PM
Submission
To
Project 3 drop box on FOL
Project
Structure
This is a group project. Each group may consist of 3 to 6
members. Each member of a group will receive the same
mark for the project
Marking Scheme
Available
Marks
Item Score
5 Selenium IDE test of add contact form
5 Selenium IDE test of edit contact form
5 Selenium IDE test of error form
10 Selenium Web Driver test of either the edit contact
OR error form (only one of these forms needs to be
tested using Web Driver)
5 Project report
5 Grammar, spelling, following instructions.
35 Total
Background Information
Your testing team is part of a new company that is developing a set of web-
based applications for home and business use. While none of the
applications are anywhere near ready for release, the development team
has completed its first prototype of the contacts module that will be part of
the core of all of the new applications.
INFO-6053 Fall 2017
Project 3
Page 2 of 6
The company’s management have decided, after investigating a number of
options, that a large portion of the testing of its applications will be done
using the Selenium tool suite. Management have left the decision about
which Selenium tools to the testing team. They have also decided that the
testing team will perform some tests on the contacts prototype for two
purposes:
To assess the current state of the contacts module.
To help the testing team to determine which Selenium tools to
use by performing some automated tests on the prototype.
The prototype of the contacts module consists of the functionality to add,
edit and view contact information via a web interface. While the basic form
structures and page layouts are correct, no CSS has yet been applied to
the pages, although some simple formatting has been put in the HTML tags
to make the pages easier to read. There is no JavaScript on any of the
pages and none is planned for the finished version of this module.
The application consists of 3 main forms, one to add new contacts, one to
edit and existing contact and one to allow the user to correct any data input
errors made while using the other two. The basic layout of all 3 is the same
although the underlying functionality is different. There is also a simple
HTML page that lists all of the data for a selected contact. Another page
displays a list of all contacts and includes buttons for viewing or editing the
details of each contact. A fourth form is used to display the results of
saving/updating the database.
The data gathered and displayed by this module is stored in a single
MariaDB (MySQL equivalent) database table with the following structure
(shown as an SQL table create command):
CREATE TABLE `addresses` ( .
1. INFO-6053 Fall 2017
Project 3
Page 1 of 6
Title INFO-6053 Project 3 – Automated Testing with Selenium
Due Date Monday, January 8th
2018 by 11:59 PM
Submission
To
Project 3 drop box on FOL
Project
Structure
This is a group project. Each group may consist of 3 to 6
members. Each member of a group will receive the same
mark for the project
2. Marking Scheme
Available
Marks
Item Score
5 Selenium IDE test of add contact form
5 Selenium IDE test of edit contact form
5 Selenium IDE test of error form
10 Selenium Web Driver test of either the edit contact
OR error form (only one of these forms needs to be
tested using Web Driver)
5 Project report
5 Grammar, spelling, following instructions.
35 Total
Background Information
Your testing team is part of a new company that is developing a
set of web-
3. based applications for home and business use. While none of the
applications are anywhere near ready for release, the
development team
has completed its first prototype of the contacts module that
will be part of
the core of all of the new applications.
INFO-6053 Fall 2017
Project 3
Page 2 of 6
The company’s management have decided, after investigating a
number of
options, that a large portion of the testing of its applications
will be done
using the Selenium tool suite. Management have left the
decision about
which Selenium tools to the testing team. They have also
decided that the
testing team will perform some tests on the contacts prototype
for two
4. purposes:
to
use by performing some automated tests on the prototype.
The prototype of the contacts module consists of the
functionality to add,
edit and view contact information via a web interface. While the
basic form
structures and page layouts are correct, no CSS has yet been
applied to
the pages, although some simple formatting has been put in the
HTML tags
to make the pages easier to read. There is no JavaScript on any
of the
pages and none is planned for the finished version of this
module.
The application consists of 3 main forms, one to add new
contacts, one to
edit and existing contact and one to allow the user to correct
any data input
errors made while using the other two. The basic layout of all 3
is the same
5. although the underlying functionality is different. There is also
a simple
HTML page that lists all of the data for a selected contact.
Another page
displays a list of all contacts and includes buttons for viewing
or editing the
details of each contact. A fourth form is used to display the
results of
saving/updating the database.
The data gathered and displayed by this module is stored in a
single
MariaDB (MySQL equivalent) database table with the following
structure
(shown as an SQL table create command):
CREATE TABLE `addresses` (
`addr_id` int(20) NOT NULL AUTO_INCREMENT,
`addr_type` char(10) NOT NULL,
`addr_first_name` varchar(50) DEFAULT NULL,
`addr_last_name` varchar(50) DEFAULT NULL,
`addr_business` varchar(75) DEFAULT NULL,
`addr_addr_line_1` varchar(75) DEFAULT NULL,
7. `addr_phone_3_type` varchar(10) DEFAULT NULL,
`addr_phone_3` varchar(25) DEFAULT NULL,
`addr_web_url_1` varchar(128) DEFAULT NULL,
`addr_web_url_2` varchar(128) DEFAULT NULL,
`addr_web_url_3` varchar(128) DEFAULT NULL,
PRIMARY KEY (`addr_id`),
KEY `first_name` (`addr_first_name`),
KEY `last_name` (`addr_last_name`),
KEY `business` (`addr_business`),
KEY `email_1` (`addr_email_1`),
KEY `email_2` (`addr_email_2`),
KEY `email_3` (`addr_email_3`)
)
The database table described above and the input fields on the
web forms
are related as follows:
as the corresponding form field’s name and id attributes.
8. they appear in the table.
maximum length of the corresponding table field.
or edited on
any
form or page. It may be included on a page as a hidden input
field, although this fields name and/or id attributes are not
required to match the database field name.
The input error form is only displayed when data validation
fails on either
the new contact or edit contact form. At this time, data
validation checks
INFO-6053 Fall 2017
Project 3
Page 4 of 6
that a least one of the name fields (first name, last name and
9. business)
contains one or more characters; and that at least one of the
address,
phone, email, or web site fields contains one or more characters.
Your team’s task is to test the operation of the prototype’s
functionality and
report any problems. This testing must be performed using the
Selenium
IDE and Selenium Web Driver tools to help your team develop
the skills
that will be needed when full product testing begins.
Project Specific Information
1) The web application to be tested and all of the tools
necessary are
pre-installed on a Linux virtual machine for VMWare
Workstation.
This VM can be downloaded from http://ity-
ftp1.fanshawec.ca/_SST/INFO6053 (only accessible on-
campus).
The download file is a zip file, you will need to decompress it
before
opening it with VMWare Workstation. The use of 7zip is
10. strongly
recommended. Use the username user and password Linux1 to
access the VM. This user account has sudo access to
administrative commands.
2) Rather than using the Linux VM, you can also install the web
pages
and other tools on your own computer if you wish. The file
address_book.zip available from the Project 3 drop box folder
contains the PHP scripts for the web site and an SQL source file
for
the database. You will have to install all of the necessary tools
and
libraries to perform the project tasks on your system. See the
PowerPoint slides about Selenium for information on the tools
that
you will need.
3) The Selenium related PowerPoint slides used in class
describe all of
the IDE and Web Driver components necessary to do this
project.
There are also many online resources and published books
available.
11. 4) The form for adding a new contact has no known errors in it,
so you
can use it as a reference for the other two forms.
5) On the Linux VM, the initial page of the application can be
loaded
using http://localhost/index.php (or simply http://localhost as it
is the
default page).
6) You are NOT required to fix any errors you find.
http://localhost/index.php
http://localhost/
INFO-6053 Fall 2017
Project 3
Page 5 of 6
Project Instructions
1) All tests are to begin by going to the page
http://localhost/index.php
(or http://<ip_address_of_web_server>/index.php.
12. 2) You are to test all 3 data entry forms (add new contact, edit
and
existing contact, input error). The input error form is only
displayed
when an error occurs while working with one of the other forms.
3) All 3 forms must be tested using the Selenium IDE using an
automated test for each.
4) In addition to the automated IDE tests, either the edit form or
the error
form must also be tested using a Web Driver test program. This
program must report all errors found on the form during a single
execution.
5) You are to write a report that:
a. Lists the name and student ID of all team members,
b. Briefly describes the tests performed (no more than 1 page
per
test), and
c. Describes, in detail, all errors found during testing.
Submissions
13. 1) You are to submit 3 files to the Project 3 drop box:
a. A Microsoft Word document containing your report,
b. A zip file containing your Selenium IDE tests in the default
HTML format.
c. A zip file containing your Web Driver test code, include both
source and binary files (for Java, *.java and *.class files) and
any project configuration files needed to compile/execute the
test. For example, if you develop your test using Eclipse,
include the entire Eclipse project directory.
2) All files must be submitted prior to the deadline specified at
the
beginning of this document.
http://localhost/index.php
http://localhost/index.php
INFO-6053 Fall 2017
Project 3
Page 6 of 6
14. Hints
1) All known errors are on the edit and error forms.
2) There are no PHP compilation errors
3) The database table is correct.
4) Make sure that all of the test data you use results in distinct
values in
each form field so that it is possible to check that output
appears in
the right places.
5) Remember that there are many HTML attributes that can
appear in
an element on a page, some of which can affect the data input or
output capabilities of an element.
6) Remember that this application is a prototype, there is no
data validation on any of the forms.
Plagiarism
Remember that plagiarism is an academic offense, make sure
that your
15. group does its own work.
Running head: TITLE OF PAPER 1
TITLE OF PAPER 3Week 5 - Final PaperFinal Paper
Think of an organization you have worked for or one with
which you are very familiar. Diagnose the need for change and
present a plan to transform the organization, utilizing Kotter’s
8-Step Approach.
Include the following sections headings and additional sections
as needed:
1. Introduction
2. Company Overview
3. Diagnosis
4. Kotter's 8-Step Approach
5. Conclusion
Writing the Final Paper
The Final Paper:
1. Must be eight- to- ten double-spaced pages in length
(excluding the title and reference pages) and formatted
according to APA style as outlined in the approved APA style
guide.
2. Must include a title page that includes:
a. Title of paper
b. Student’s name
c. Course name and number
d. Instructor’s name
e. Date submitted
3. Must include an introductory paragraph with a succinct thesis
statement.
4. Must address the topic of the paper with critical thought.
5. Must conclude with a restatement of the thesis and a
conclusion paragraph.
6. Must use at least five scholarly sources.
7. Must use APA style as outlined in the approved APA style
16. guide to document all sources.
8. Must include, on the final page, a Reference Page that is
completed according to APA style as outlined in the approved
APA style guide.
Description:
Total Possible Score: 30.009. Introduction/ Thesis Statement
10. Total: 2.00
11. Distinguished - Introduction and thesis statement are
thoroughly and comprehensively developed, giving a clear
direction and purpose of the paper.
12. Proficient - Introduction and thesis statement are clearly
developed and provide some direction and purpose of the paper.
13. Basic - Introduction and thesis statement are present and
somewhat provide direction and purpose of the paper.
14. Below Expectations - Introduction and thesis statement are
present, but incomplete. The direction and purpose of the paper
is unclear.
15. Non-Performance - The introduction and thesis statement
are either nonexistent or lack the components described in the
assignment instructions.
16. 17. Company Overview
18. Total: 5.00
19. Distinguished - Provides an exceptionally clear and detailed
company overview.
20. Proficient - Provides a clear company overview. Some
minor relevant information is missing.
21. Basic - Provides a minimal company overview. Many
relevant details are missing.
22. Below Expectations - Attempts to provide a company
overview. The overview is somewhat incomplete and/or
inaccurate.
23. Non-Performance - The company overview is either
nonexistent or lacks the components described in the assignment
instructions.
17. 24. 25. Diagnoses the Need for Change
26. Total: 7.00
27. Distinguished - Comprehensively and accurately diagnoses
the need for change within the selected organization.
28. Proficient - Diagnoses the need for change within the
selected organization. Some relevant details may be missing.
29. Basic - Minimally diagnoses the need for change within the
selected organization. Many relevant details may be missing.
30. Below Expectations - Attempts to diagnose the need for
change within the selected organization. The need for change
may be insufficiently described and/or inaccurate.
31. Non-Performance - The diagnosis of the need for change is
either nonexistent or lacks the components described in the
assignment instructions.
32. 33. Presents a Plan to Transform the Organization
34. Total: 7.00
35. Distinguished - Presents a well-structured, highly detailed,
and perceptive plan to transform the organization. Effectively
uses Kotter’s 8-Step Approach in the development of the plan.
36. Proficient - Presents a concise plan to transform the
organization. Uses Kotter’s 8-Step Approach in the
development of plan. The plan is lacking some detail.
37. Basic - Presents a brief plan to transform the organization.
Somewhat uses Kotter’s 8-Step Approach in the development of
the plan. The plan lacks detail and/or organizational structure.
38. Below Expectations - Attempts to present a plan to
transform the organization. May not use all elements of
Kotter’s 8-Step Approach in the development of the plan. The
plan lacks significant detail and/or there is little organizational
structure.
39. Non-Performance - The plan to transform the organization is
either nonexistent or lacks the components described in the
assignment instructions.
40. 41. Conclusion
42. Total: 3.00
43. Distinguished - Conclusion is skillfully developed and
18. thoroughly summarizes the research, content, direction, and
purpose of the paper.
44. Proficient - Conclusion is mostly developed and adequately
summarizes the research, content, direction, and purpose of the
paper.
45. Basic - Conclusion is present and loosely summarizes the
research, content, direction, and purpose of the paper.
46. Below Expectations - Conclusion is present, but somewhat
incomplete. It does not adequately summarize the research,
content, direction, and purpose of the paper.
47. Non-Performance - The conclusion is either nonexistent or
lacks the components described in the assignment instructions.
48. 49. Written Communication: Content Development
50. Total: 1.00
51. Distinguished - Uses appropriate, pertinent, and persuasive
content to discover and develop sophisticated ideas within the
context of the discipline, shaping the work as a whole.
52. Proficient - Uses appropriate and pertinent content to
discover ideas within the context of the discipline, shaping the
work as a whole.
53. Basic - Uses appropriate and pertinent content, but does not
apply it toward discovering or developing ideas. Overall content
assists in shaping the written work.
54. Below Expectations - Uses content, but it may be unrelated
or inappropriate to the topic. Content does not contribute
toward the development of the written work, and may distract
the reader from its purpose.
55. Non-Performance - The assignment is either nonexistent or
lacks the components described in the instructions.
56. 57. Written Communication: Context of and Purpose for
Writing
58. Total: 1.00
59. Distinguished - Demonstrates methodical application of
organization and presentation of content. The purpose of the
writing is evident and easy to understand. Summaries, quotes,
and/or paraphrases fit naturally into the sentences and
19. paragraphs. Paper flows smoothly.
60. Proficient - Demonstrates sufficient application of
organization and presentation of content. The purpose of the
writing is, for the most part, clear and easy to understand.
There are some problems with the blending of summaries,
paraphrases, and quotes. Paper flows somewhat smoothly.
61. Basic - Demonstrates a limited understanding of
organization and presentation of content in written work. The
purpose of the writing is somewhat evident, but may not be
integrated throughout the assignment. There are many problems
with the blending of summaries, paraphrases, and quotes. Paper
does not flow smoothly in all sections.
62. Below Expectations - Organization and presentation of
content is extremely limited. The purpose of the writing is
unclear. There is little or no blending of summaries,
paraphrases, and quotes. Paper does not flow smoothly when
read.
63. Non-Performance - The assignment is either nonexistent or
lacks the components described in the instructions.
64. 65. Written Communication: Control of Syntax and
Mechanics
66. Total: 1.00
67. Distinguished - Displays meticulous comprehension and
organization of syntax and mechanics, such as spelling and
grammar. Written work contains no errors, and is very easy to
understand.
68. Proficient - Displays comprehension and organization of
syntax and mechanics, such as spelling and grammar. Written
work contains only a few minor errors, and is mostly easy to
understand.
69. Basic - Displays basic comprehension of syntax and
mechanics, such as spelling and grammar. Written work
contains a few errors, which may slightly distract the reader.
70. Below Expectations - Fails to display basic comprehension
of syntax or mechanics, such as spelling and grammar. Written
work contains major errors, which distract the reader.
20. 71. Non-Performance - The assignment is either nonexistent or
lacks the components described in the instructions.
72. 73. APA Formatting
74. Total: 1.00
75. Distinguished - Accurately uses APA formatting
consistently throughout the paper, title and reference page.
76. Proficient - Exhibits APA formatting throughout the paper.
However, layout contains a few minor errors.
77. Basic - Exhibits basic knowledge of APA formatting
throughout the paper. However, layout does not meet all APA
requirements.
78. Below Expectations - Fails to exhibit basic knowledge of
APA formatting. There are frequent errors, making the layout
difficult to distinguish as APA.
79. Non-Performance - The assignment is either nonexistent or
lacks the components described in the instructions.
80. 81. Page Requirement
82. Total: 1.00
83. Distinguished - The paper meets the specific page
requirement stipulated in the assignment description.
84. Proficient - The paper closely meets the page requirement
stipulated in the assignment description.
85. Basic - The paper meets over half of the page requirement.
86. Below Expectations - A fraction of the page requirement is
completed.
87. Non-Performance - The assignment is either nonexistent or
lacks the components described in the instructions.
88. 89. Resource Requirement
90. Total: 1.00
91. Distinguished - Provides ample resources and uses the
correct number of sources from the specified search agents.
92. Proficient - Provides the approximate number of sources,
while using some of the correct search agents specified in the
assignment instructions.
93. Basic - Provides over half of the sources required in the
assignment instructions.
21. 94. Below Expectations - Provides inadequate number of
resources and does not include sources from specified search
agents.
95. Non-Performance - The assignment is either nonexistent or
lacks the components described in the instructions.
96.
97. Powered by