Skip to content

Latest commit

 

History

History
466 lines (302 loc) · 15.8 KB

testing.md

File metadata and controls

466 lines (302 loc) · 15.8 KB

Content

TESTING

the webpage on different devices

VIEW WEBSITE LIVE## HTML, CSS, JAVASCRIPT Validation Testing

1. HTML Validation

The tool used for this code validation was the W3C Markup Validation Service, which was used by URL to make sure there were no errors in none of the HTML Files. The results were the following:

w3c html validation service one error results

Date: Monday, May 10th, 2021

1. Issue: The element a must not appear as a descendant of the button element.

  • Fixes: Remove the a inside the button button element like the example bellow:

Before:

<li class="nav-item" data-toggle="collapse" data-target=".navbar-collapse.show">
    <div class="dropdown menu-dropdown">
        <button class="dropbtn page-scroll menu-dropbtn active"><a class="nav-link" href="index.html"><i
                    class="fa fa-home"></i> Home</a></button>
        <div class="dropdown-content menu-dropdown-content">
            <a href="index.html#about">> About Produck</a>
            <a href="index.html#services">> Our Services</a>
            <a href="index.html#contact">> Contact Us</a>
            <a href="index.html#footer">> Favourite Links</a>
        </div>
    </div>
</li>

After:

<li class="nav-item" data-toggle="collapse" data-target=".navbar-collapse.show">
    <div class="dropdown menu-dropdown">
        <button class="dropbtn page-scroll menu-dropbtn nav-link active"><i class="fa fa-home"></i> Home</button>
        <div class="dropdown-content menu-dropdown-content">
            <a href="index.html#about">> About Produck</a>
            <a href="index.html#services">> Our Services</a>
            <a href="index.html#contact">> Contact Us</a>
            <a href="index.html#footer">> Favourite Links</a>
        </div>
    </div>
</li>

2. Issue: Stray end tag i.

  • Fixes: Remove the </i> element from the code as it is no longer in use to finally get the following:
<h4>Hey There!</h4>

3. Issue: Duplicate ID contactForm.

  • Fixes: Replace the id name of the newsletter form from the footer to the following:
<form onsubmit="return sendEmail(this);" id="newsletterForm"></form>

4. Issue: The type attribute is unnecessary for JavaScript resources.

  • Fixes: Remove the type attribute (type="text/javascript") from all of the following:
<script type="text/javascript" src="assets/js/filename.js"></script>

The final report would have shown no errors in the html files as these would have been properly fixed as indicated above. However, due to a lack of time, the changes won't be implemented before the project deadline.

Home Page

w3c html validation home page results

PM Role Page

w3c html validation pm role page results

Leaders Page

w3c html validation leaders page results

PM Books Page

w3c html validation pm books page results

Resources Page

w3c html validation resources page results

ToBuyList Page

w3c html validation tobuylist page results

ToReadList Page

w3c html validation toreadlist page results

ToRateList Page

w3c html validation toratelist page results

Bookmarks Page

w3c html validation bookmarks page results

BookNotes Page

w3c html validation booknotes page results

2. CSS Validation

The tool used for this code validation was the W3C CSS Validation Service, which was used by URL to make sure that there were no errors in the CSS Style Sheet. The results were the following:

w3c css validation service no error results

Date: Monday, May 10th, 2021

The CSS yielded no major errors, so I proceeded with further testing after fixing the first two issues (the transition-delay and box-sizing values).

Just in case, the testing was performed again, this time by File Upload and Direct Input, and the results were exactly the same.

w3c css validation final results

3. JAVASCRIPT Validation

The tool used for this code validation was the JS Hint V2.12.0, which was used by Direct Input of all the js files in this project to make sure there were no errors in none of the JavaScript Files. The results were the following:

bookmarks.js

JS Hint JavaScript validation initial results

Date: Tuesday, May 11th, 2021

booknotes.js

JS Hint JavaScript validation initial results

Date: Tuesday, May 11th, 2021

resources.js

JS Hint JavaScript validation initial results

Date: Tuesday, May 11th, 2021

sendemail.js

JS Hint JavaScript validation initial results

Date: Tuesday, May 11th, 2021

sendnewsl.js

JS Hint JavaScript validation initial results

Date: Tuesday, May 11th, 2021

tobuylist.js

JS Hint JavaScript validation initial results

Date: Tuesday, May 11th, 2021

toreadlist.js

JS Hint JavaScript validation initial results

Date: Tuesday, May 11th, 2021

Testing Performance


In order to test the website's performance on desktop and mobile, Google Lighthouse was used in both cases.

Desktop & Mobile

The initial results were the following:

google lighthouse results

google lighthouse results

google lighthouse accessibility results

google lighthouse best practices results

google lighthouse runtime settings

Date: Friday, May 14th, 2021

Back to Content

Testing Accessibility


To test the website accessibility Wave Web Accessibility Evaluation Tool was used. The obtained results are the following:

wave accessibility results

Date: Saturday, May 15th, 2021

Back to Content

Testing User Stories


Target Audience:

  • Recent Graduates (Tech/Non-Tech Background)
  • Product Enthusiasts (Curious/Passionate)
  • Aspiring Product Managers
  • Entry-Level Product Managers
  • APMs (Associate Product Managers)
  • Non-Tech Background Professionals
  • Entrepreneurs (Founders & Co-Founders)
  • Professionals Transitioning Into Product

Key Produck's Features:

  • ToBuyList App
  • ToReadList App
  • BookNotes App
  • ToRateList App
  • Bookmarks App

Crucial User Stories to Test MVP & Validate Hypothesis:

Home Page screenshot of the home page

  1. As a Product Enthusiast, I want to easily understand what this web-based platform is all about and what kind of services it offers to aspiring Product Managers, so that I can decide to stay or leave.

    • Hero Image section
    • Welcome section
    • Our Services section
  2. As an Associate Product Manager, I want to subscribe to Produck's newsletter to receive weekly or monthly up-to-date information, so that I can use it wisely to get promoted to Product Manager.

    • Footer section
  3. As an Entrepreneur, I want to contact Produck's team or the founders directly to get to know them in person, so that I can propose them a strategic partnership to build great products together.

    • Contact Us section
    • Footer section

PM Role Page screenshot of the pm role page

  1. As a Non-Tech Background Professional, I want to know what are the main tasks PMs usually do or are responsible for, so that I can prepare myself for the role by practicing in advance.

    • About section
    • Key Responsibilities section
  2. As a Professional Transitioning Into PM, I want to know what soft and hard skills are required to be a great Product Manager, so that I figure out if theres's anything I need to work on or develop.

    • Background Knowledge section
    • Required Soft Skills section

Leaders Page screenshot of the leaders page

PM Books Page screenshot of the pm books page

Resources Page screenshot of the resources page

  1. As an Aspiring Product Manager, I want to be able to easily find the best sources of product-related information, so that I can learn and apply this knowledge to get my first PM role as APM.

    • Leaders page (Industry Experts)
    • PM Books page (Must-Read Books)
    • Resources page (Selected Resources)

Bookmarks App screenshot of the bookmarks app

  1. As an Aspiring Product Manager, I want to be able to easily save my favourite sources of product-related information, so that I can revit them whenever and wherever I want to until I excel the topic.

    • Bookmarks app

ToBuyList App screenshot of the tobuylist app

ToReadList App screenshot of the toreadlist app

ToRateList App screenshot of the toratelist app

  1. As a Recent Graduate, I want to be able to track and rate all product-related books I will be reading this year, so that I can learn as much as possible to help me find a great opportunity as intern.

    • ToBuyList app
    • ToReadList app
    • ToRateList app

BookNotes App screenshot of the booknotes app

  1. As an Entry-Level Product Manager, I want to be able to take notes of key concepts/frameworks from the PM book I'm reading, so that I can use that valuable information later on when I'm at work.

    • BookNotes app

Back to Content

Testing Site Responsiveness


The tool used to test the website responsiveness was Responsive Test Tool, which helped view the platform on various devices (mobile, tablet, laptop, desktop, tv).

The platform was tested in the following devices:

  • Desktop (various sizes)
  • Laptop (various sizes)
  • Mobile Phones (various sizes)
    • Apple iPhones (various sizes)
    • Google Pixels (various sizes)
    • Samsung Galaxys (various sizes)
    • LGs (various sizes)
  • Tablets (various sizes)
    • Amazon
    • Apple
    • LG
    • Samsung
    • HTC
    • Microsoft
  • Television (various sizes)

screenshot of tool options

In more detail, the platform was tested in the following browsers:

  • Chrome
  • Firefox
  • Microsoft Edge
  • Safari
  • Opera

It was also tested in the following mobile phone operating systems:

  • iOS
  • Android

Results:

The website had a great performance and could be used perfectly, no funcional issues were found during the testing. However, the layout was not exactly the same (or the intended design) in all systems or devices, but the interviewed users could interact with ease and achieve their goals successfully.

Back to Content

Manual Testing


Testing buttons, links, and overall functionality throughout the entire platform:

Interactive Sections

ToBuyList App

  • Switch to night mode √
  • Add books √
  • Flash messages √
  • Delete books √

ToReadList App

  • Switch to night mode √
  • Add new category √
  • Delete categories √
  • Add new book √
  • Delete books √
  • Sort books √
  • Mark books as done √
  • Sort categories √

BookNotes App

  • Switch to night mode √
  • Add notes √
  • Edit notes √
  • Delete notes √

ToRateList App

  • Switch to night mode √
  • Select book from the list √
  • Enter rating √

Bookmarks App

  • Select book from the list √
  • Add bookmarks √
  • Delete bookmarks √

Informative Sections

Home Page

Nav Bar Section

  • Links lead to correct destination √
  • Naming is clear and accurate √
  • Dropdown menus work perfectly on Desktop √
  • Dropdown menus work perfectly on Mobile √

Hero Image Section

  • Link lead to correct destination √

Welcome Section

  • Links lead to correct destination √

Contact Us Section

  • Links lead to correct destination √
  • External links open in new tab √
  • Message submission works perfectly √

Footer Section

  • Links lead to correct destination √
  • External links open in new tab √
  • Newsletter subscription works perfectly √

PM Role Page

About Section

  • Links lead to correct destination √

Leaders Page

  • Links lead to correct destination √
  • External links open in new tab √

PM Books Page

  • Links lead to correct destination √
  • External links open in new tab √

Resources Page

  • Links lead to correct destination √
  • External links open in new tab √
  • Filters work perfectly √
  • Dropdown menus work perfectly on Desktop √
  • Dropdown menus work perfectly on Mobile √

Back to Content

Return to README.md Document