1 Intro_Web Application Testing
1 Intro_Web Application Testing
AGENDA
D Introduction to web testing
D Web architecture
D Web testing challenges
D Web testing approach
Types of
[
applications
Desktop application - runs on personal
computers and work stations.
[ Client server application - have two different
components to test. Application is loaded on server
machine while the application executes on every
client machine. This environment is mostly used in
Intranet networks.
L Mobile applications - runs on mobile platforms
[ Web application - is loaded on the servers whose
location may or may not be known and accessible
via Browser.
World Wide Web
"
-
Tier
Tw0
"
Application Logic
Conn ec
Database Connectivity
Appli c a t i o n
Ser Ver
The layer processes the business logic
of the application (calculations, logical
decisions, data processing, ...).
'
Tier
Three
ti ""
RD
vity
Data
Database
Server
Where the Information Is stored. The
Information is passed back to the
business logic on query.
BM "
Challenges in Web
Testing
Advanced Web Technology - QA continuously update
their technical knowledge and skills.
Poor Bandwidth or Slow Network - load/stress testing
Web Applications Deployment - regression testing
Limited Web Testing Schedule - test planning
Data Integrity - security testing
ADA compliant (Americans with Disabilities Act) -
accessibility and usability testing
Platforms/Browsers - compatibility testing
Challenges in Web
Testing
Advanced Web Technology - QA continuously update
their technical knowledge and skills.
Poor Bandwidth or Slow Network - load/stress testing
Web Applications Deployment - regression testing
Limited Web Testing Schedule - test planning
Data Integrity - security testing
ADA compliant (Americans with Disabilities Act) -
accessibility and usability testing
Platforms/Browsers - compatibility testing
I have a Web Test what next?
Outgoing links
Internal links
Anchor Links
MailTo Links
Functionality Testing : Forms
JavaScript data validation
Error handling .
Check default values are
being populated
Once submitted , the data in the forms is
submitted to a live database or is linked to an
working email address
Forms are optimally formatted for better
readability
Functionality Testing : Cookies
Cookies are small files used by websites to
primarily remember active user sessions.
11Testing cookies (sessions) are deleted either
when cache is cleared or when they reach their
•
expiry.
□Delete cookies (sessions) and test that login
credentials are asked for when you next visit
the
site.
Functionality Testing : HTML, CSS
Navigation:
D Menus , buttons or Links should be
easily visible and consistent on all
webpages
Content:
D Content should be legible with no
spelling or grammatical errors.
D Images should contain an "alt" text
Database Testing
FF2
./
./
./
., N/A
./
.,
N/A ./
./
FF ./ ./ ./
3
Safari 3.0 ./ ./ ./
O per a 9. 24 ./ ./ ./ ./
./
./
./
./
./
Performance Testing:
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
L Test unauthorized access to secure pages
should not be permitted
1 Restricted files shouId not be
downloadable without appropriate access
[ Check sessions are automatically killed
after prolonged user inactivity
L On use of SSL certificates , website
should re-direct to encrypted SSL pages.
Network: TCP/IP
IP - Internet Protocol
l
I
Link la y er
Server
■ FTP Serverstypes
- One of the oldest of the
Internet services, File Transfer Protocol makes
it possible to move one or more files securely
between computers while providing file security
and organization as well as transfer control.
■ In Database servers, clients passes SOL
(Structured Query Language) requests as
messages to the server and the results of the
query are returned over the network. The code
that processes the SOL request and the data
resides on the server allowing it to use its own
processing power to find the requested data,
rather than pass all the records back to a client
and let it find its own data as was the case for
the file server...
Server
■ FTP Serverstypes
- One of the oldest of the
Internet services, File Transfer Protocol makes
it possible to move one or more files securely
between computers while providing file security
and organization as well as transfer control.
■ In Database servers, clients passes SOL
(Structured Query Language) requests as
messages to the server and the results of the
query are returned over the network. The code
that processes the SOL request and the data
resides on the server allowing it to use its own
processing power to find the requested data,
rather than pass all the records back to a client
and let it find its own data as was the case for
the file server...
Complication specific to
Web application
s
The browser's 'Back' button can complicate
the dependent relationship between pages
in Web application, especially with orphan
pages.