Earning Outcomes: LSPU Self-Paced Learning Module (SLM)
Earning Outcomes: LSPU Self-Paced Learning Module (SLM)
Earning Outcomes: LSPU Self-Paced Learning Module (SLM)
Description
of the
Lesson
Learning Outcomes
Intended Students should be able to meet the following intended learning outcomes:
Learning
Outcomes .
Targets/ At the end of the lesson, students should be able to:
Objectives
(For further instructions, refer to your Google Classroom and see the
schedule of activities for this module)
Note: The insight that you will post on online discussion forum using Learning Management
System (LMS) will receive additional scores in class participation.
A number of issues related to education and training have been raised by the
increased use of automation, robotics, computer systems, and related technologies. As
automation has increased, there has developed a shortage of technically trained personnel to
implement these technologies competently. This shortage has had a direct influence on the
rate at which automated systems can be introduced. The shortage of skilled staffing in
automation technologies raises the need for vocational and technical training to develop the
required work-force skills. Unfortunately the educational system is also in need of
technically qualified instructors to teach these subjects, and the laboratory equipment
available in schools does not always represent the state-of-the-art technology typically used
in industry.
WEB TESTING
Web Testing, or website testing is checking your web application or website for
potential bugs before its made live and is accessible to general public. Web Testing checks
for functionality, usability, security, compatibility, performance of the web application or
website.
During this stage issues such as that of web application security, the functioning of
the site, its access to handicapped as well as regular users and its ability to handle traffic is
checked.
How to test Web Application?
In Software Engineering, the following testing types/technique may be performed
depending on your web testing requirements.
Functionality Testing
Functionality Testing of a Website is a process that includes several testing
parameters like user interface, APIs, database testing, security testing, client and server
testing and basic website functionalities. Functional testing is very convenient and it allows
users to perform both manual and automated testing. It is performed to test the
functionalities of each feature on the website.
Web based Testing Activities includes:
Test all links in your webpages are working correctly and make sure there are no
broken inks. Links to be checked will include –
• Outgoing links
• Internal links
• Anchor Links
• MailTo Links
Usability Testing
Usability Testing has now become a vital part of any web based project. It can be
carried out by testers like you or a small focus group similar to the target audience of the
web application.
Test the site Navigation:
Menus, buttons or Links to different pages on your site should be
easily visible and consistent on all webpages
Test the Content:
Content should be legible with no spelling or grammatical errors.
Images if present should contain an “alt” text
Interface Testing
Three areas to be tested here are – Application, Web and Database Server
• Application: Test requests are sent correctly to the Database and output at the client
side is displayed correctly. Errors if any must be caught by the application and must
be only shown to the administrator and not the end user.
• Web Server: Test Web server is handling all application requests without any
service denial.
• Database Server: Make sure queries sent to the database give expected results.
Test system response when connection between the three layers (Application, Web
and Database) cannot be established and appropriate message is shown to the end user.
Database Testing
Database is one critical component of your web application and stress must be laid
to test it thoroughly. Testing activities will include-
• Test if any errors are shown while executing queries
• Data Integrity is maintained while creating, updating or deleting data in database.
• Check response time of queries and fine tune them if necessary.
• Test data retrieved from your database is shown accurately in your web application
Compatibility Testing
Compatibility tests ensure that your web application displays correctly across
different devices. This would include-
Browser Compatibility Test: Same website in different browsers will display
differently. You need to test if your web application is being displayed correctly across
browsers, JavaScript, AJAX and authentication is working fine. You may also check for
Mobile Browser Compatibility.
Performance Testing
This will ensure your site works under all loads. Software Testing activities will
include but not limited to –
• Website application response times at different connection speeds
• Load test your web application to determine its behavior under normal and peak
loads
• Stress test your web site to determine its break point when pushed to beyond normal
loads at peak time.
• Test if a crash occurs due to peak load, how does the site recover from such an
event
• Make sure optimization techniques like gzip compression, browser and server side
cache enabled to reduce load times
Security Testing
Security Testing is vital for e-commerce website that store sensitive customer
information like credit cards. Testing Activities will include-
Crowd Testing
You will select a large number of people (crowd) to execute tests which otherwise
would have been executed a select group of people in the company. Crowd sourced testing
is an interesting and upcoming concept and helps unravel many an unnoticed defects.
Functionality Testing
Functional testing is used to ensure that functionality, specified as part of the
software requirements, works as intended from the end user’s perspective. It is common
knowledge that the test process that uncovers the most bugs is letting the end-user use the
software.
A single end-user can make the whole system crash in minutes, even after unit,
integration, and performance tests have passed. This usually happens because the user does
something the developers did not expect.
Automating tests, as specified by the requirements, will ensure that the web
application is working as intended. However, functional test automation cannot fully
replace the human perspective. That’s why you should always supplement your automated
test cases with exploratory testing to provide a positive user experience.
Regression Testing
Regression testing can be described as “repeated functional testing”. It is used to
make sure that software’s functionality continues to work after parts of it have been
modified with new code or configuration. For instance, when new features are built,
regression testing ensures that old features of the software continue to work as intended.
Automated regression testing uses computer-based tools and techniques to test
software that has been changed or updated. An automated process allows for the
development of automated systems that re-run all regression tests at specified intervals,
such as daily or weekly, and report any failure.
When regression testing is automated, you can quickly and reliably run through
simple scenarios and check a variety of changes to get fast feedback. This, in turn, frees up
time for testers to focus on product improvement or conduct manual exploration into more
unusual cases that require special attention.
Cross-browser Testing
Cross-browser testing ensures that your web application is performing as expected
across different browsers, both on desktop and mobile.
This is important because browsers tend to be updated fairly frequently, meaning
that by the time you are ready to deploy your application, it might not work as intended in
your target browsers.
Performance Testing
Performance testing, such as stress and load testing, ensures that a web application
can endure extended periods of activity or peak user loads. Reaching the necessary stress
conditions or load level wouldn’t be feasible if done manually, therefore automation is key
in proving that your application can perform in any situation
.
Web app test automation best practices
Before you start automating your web application tests, make sure you draft a test
automation strategy to keep you on track. Things to keep in mind before you start
automation are:
Always start small and, once you’re comfortable, start scaling your automation
efforts. No one wants to end up with hundreds of automated test cases that are impossible to
maintain.
Make sure you don’t fall into the 'test automation paradox', where test automation
was supposed to enable efficient software development and free up resources, but it actually
brings with it an array of new costly tasks and never-ending maintenance.
Selenium IDE
How to add Selenium IDE in Browser
1. Search for Selenium IDE Extension in Google chrome
https://chrome.google.com/webstore/detail/seleniumide/
mooikfkahbdckldjjndioackbalphokd?hl=en
Selenium Software is not just a single tool but a suite of software, each piece
catering to different Selenium QA testing needs of an organization. Here is the list of tools
• Selenium Integrated Development Environment (IDE)
• Selenium Remote Control (RC)
• WebDriver
• Selenium Grid
At the moment, Selenium RC and WebDriver are merged into a single framework
to form Selenium 2. Selenium 1, by the way, refers to Selenium RC.
Seeing potential in this idea to help automate other web applications, he made
Engaging Activities
Performance Tasks
Directions
Most of the assessment in Data Structures and Algorithms programming based, here’s the rubric
for programming problems.
Learning Resources
T. Cormen, C. Leiserson, R. Rivest and C. Stein, Introduction to Algorithms 3 rd Edition, London,
England, MIT Press, 2010
R. Sedgewick and K. Wayne, Algorithms 4th Edition, United States of America, Pearson Education
Inc., 2011
G. Heineman, G. Pollice and S. Selkow, Algorithm in a Nutshell, United States of America, O’ Reilly
Media Inc., 2016
https://www.codementor.io/learn-programming/3-essential-algorithm-examples-you-should-know
https://www.programiz.com/dsa/algorithm