SlideShare a Scribd company logo
Business Unit or Product Name
© 2003 IBM CorporationIBM Confidential
A Perspective on Web
Testing
Siva Prasanth Rentala
srentala@in.ibm.com
IGSI-OZONE,Pune,IGSI.
2
Business Unit or Product Name
© 200 3 IBMIBM Confidential
The purpose of this presentation is to depict a perspective
on Web centric application testing. The document
concentrates only on describing importance of web
testing, how to conduct web testing and automation of
web testing.
The importance of Web Testing is growing phenomenally
as the importance and implementation of Web
applications is taking place in a rapid speed in each and
every company’s applications.
Objective
3
Business Unit or Product Name
© 200 3 IBMIBM Confidential
The foremost advantage of Web application is it reduces
physical distance between user and the application near
to zero. Web application can be accessed from
anywhere and anytime by anyone around the world.
E-COMMERCE applications like B2B, B2C and market
places are the most promising web application as E-
COMMERCE is yet to be part of life of the entire world
Hence the significance if Web Testing is growing
tremendously. Due to enormous growth in number of
web applications the site needs be not only user friendly
but also reader friendly to attract more users repeatedly.
Web application advantages?
4
Business Unit or Product Name
© 200 3 IBMIBM Confidential
1. Web Testing is the process of
testing Web centric
applications.
2. Web Testing involves more
dimensions, less time, higher
risks to include tests for
performance, usability and
compatibility than client/server
applications etc. An optimal
Web Testing approach begins
with a thorough risk analysis
of your application to identify
and prioritize key areas and
testing tasks.
What is Web Testing?
5
Business Unit or Product Name
© 200 3 IBMIBM Confidential
We site deadlines are often far shorter than anyone
would like.
“Web software testing costs time and money.” &
“Web Software testing saves time and money.”
Both of these statements are true. The equation,
however, cannot be completed without the word
“effective”. With effective Web testing, the net result is
always time and money savings. The chart below
illustrates the geometric increase in cost incurred if
testing is not sufficient.
Why web test?
6
Business Unit or Product Name
© 200 3 IBMIBM Confidential
Software Testing was never easy.
But in Web arena the testing became more complex and
challenging.
Today the users of web applications are not only limited
but also users from all parts of the world.
With Web based applications the world is moved into the
living rooms.
How Web Testing distinguish
traditional Software Testing?
7
Business Unit or Product Name
© 200 3 IBMIBM Confidential
1. Performance due to concurrent users
2. Compatibility
3. Robustness
4. Continuous testing
5. Security and user authentication
Which distinguishes the web a
applications from Client-server
applications?
8
Business Unit or Product Name
© 200 3 IBMIBM Confidential
Automated Vs Manual Testing
• The automated testing is becoming more important
and influential in the web application testing.
• While testing the web application
1. load testing,
2. stress testing and
3. performance testing cannot be done efficiently if we
test manually. Manual testing cannot be possible to
test the web site response time when 100 users
access the site concurrently.
• But there is no automated testing tool, which supports
100% web testing. Web testing should be combination
of manual and automated testing.
How to test Web applications?
9
Business Unit or Product Name
© 200 3 IBMIBM Confidential
Cost of fixing web errors
The relative cost of correcting errors escalates by a factor of two
between consecutive stages of a project.
Design Build Test Rollout Production
x =
x 2x 4x 10x 60x 100-300x
10
Business Unit or Product Name
© 200 3 IBMIBM Confidential
 Design a test case, then run it.
 If the program fails the test, write a bug report. Start
over after the bug is fixed.
 If the program passes the test, automate it. Run the
test again (either from a script or with the aid of a
capture utility). Capture the screen output at the end
of the test. Save the test case and the output.
 Next time, run the test case and compare its output to
the saved output. If the outputs match, the program
passes the test
Here is the basic paradigm for
GUI-based automated testing
11
Business Unit or Product Name
© 200 3 IBMIBM Confidential
 Defects are caught early in the development cycle
before they become costly.
 Time can be spent extending test coverage rather
than repeating manual tests.
 The skill level required to run tests is reduced.
 Fixes are easier to verify because the scenarios that
created them are automated.
 Full regression testing can be performed on each
target platform.
 Metrics can be automatically gathered.
Advantage of automated testing
12
Business Unit or Product Name
© 200 3 IBMIBM Confidential
Following diagram explains the
automated web testing process.
13
Business Unit or Product Name
© 200 3 IBMIBM Confidential
User Interface testing includes verifying the Web user
Interface with respect to UI specifications.The
testing should verify that the UI built is as per UI
specifications.
Following tools are available UI testing
1. Rational Robot
2. QA Partner by Segue Software and
3. Xrunner and WinRunner by Mercury Interactive.
User Interface testing
14
Business Unit or Product Name
© 200 3 IBMIBM Confidential
The functionality test should make sure that the application
behaves as per design specifications dead link testing,
Navigation, HTML validation Spell check and Content
1. Rational Suite TestStudio (Functionality testing)
2. Xenu Link Sleuth software (For Link testing)
3. http://www.w3c.org (For HTML validation)
4. SilkTest International (Functionality testing)
5. Compuware WebCheck –(Web test tool can check links, site
mapping, orphaned URL's , missing attributes; scans for over
50 types of web site problems)
6. Doctor HTML (Site with online web page checker by Imagiware.
Checks spelling, forms, table structure, form structure, tag usage.
Validates links.)
Functionality
15
Business Unit or Product Name
© 200 3 IBMIBM Confidential
Compatibility testing is necessary to ensure that the site performs
same and as intended across multiple operating systems and
different browser configurations.
Operation Systems: Windows 95, 98, NT and 2000 and XP and
Mac OS 7.6.1 – 9, UNIX, Linux so on.
Browsers: Web site to be tested from Netscape 3.0 - 6, IE 3.0 -
5.0, AOL 3.0 - 5.0, as well as other browsers for both Windows
and Macintosh platforms.
Following testing tools can be used for Compatibility
1. VeriTest (Compatibility Testing)
Compatibility : minimal OS and
browsers to be tested
16
Business Unit or Product Name
© 200 3 IBMIBM Confidential
Performance testing
Performance testing of web sites required sophisticated
automating tools due to manual tests couldn’t simulate the
testing conditions like maximum users
There are numerous situations when famous sites like
www.msnbc.com, www cnn.com faced performance
problems apart from their preparedness to meet the
maximum traffic.
Predictable events like and unpredictable events like
1. Olympic games or
2. Football world cup where famous sites are flood with heavy
traffic and the web applications also needs to gear for some
3. Sept 11 2001 attack on WTC in New York. Many sites were
th
17
Business Unit or Product Name
© 200 3 IBMIBM Confidential
1. For example On 12 February 2002, MSNBC.com,
NBCOlympics.com and Olympics.com handled as many as
260,000 concurrent users.
2. MSNBC and KeyLabs predicted and planned for heavy site
traffic by using RadView WebLOAD application testing and
analysis software. MSNBC normally handles 15 million pages
of information per day but ran at 30 million to 40 million per
day during the first week of the Olympics.
There are numerous situations
18
Business Unit or Product Name
© 200 3 IBMIBM Confidential
1. Load testing:
The Load testing determines the system performance at
maximum usage levels. The measure of transaction times during
load testing is not as important how far a system can be pushed
until it fails.
2. Stress testing:
Stress testing runs or stresses a web application under heavy
loads for sustained periods Stress testing determines when the
performance of a system degrades over a period of time.
The performance testing
includes following testing
19
Business Unit or Product Name
© 200 3 IBMIBM Confidential
Security
1. The security is very important psychological factor while
retaining or attracting more users to visit the site. Especially
E-Commerce related applications should be geared for users
to protect the users confidential information like credit card
information, address, contact information and so on.
For additional security and encryption, check to see if the
Secure Sockets Layer (SSL) protocol is being used.
Following tools can be used for security testing:
1. Entrust (Securing the Internet)
2. ActiveTest Secure Check (Security testing service for web
applications)
3. .
20
Business Unit or Product Name
© 200 3 IBMIBM Confidential
Usability & Error handling testing
1. For a large number of products, it is believed that the usability
becomes the final arbiter of quality. This is true for a large
number of desktop applications that gained market share
through providing a good user experience.
2. Error handling strategy to be tested thoroughly as the end
user should not feel uneasy due to the error message
displayed while browsing the site or submitting a web form if
any error occurs. The error message and the way message
displayed should be user friendly.
3. The error message should be meaningful and appropriate
21
Business Unit or Product Name
© 200 3 IBMIBM Confidential
Network testing
Tests need to be run to ensure that a site is network able and can
run on several network OS environments. Also stress tests is
needed to ensure that a minimum number of users can use an
application at one time
22
Business Unit or Product Name
© 200 3 IBMIBM Confidential
White box testing Vs Black box
testing
The manual testing can be done in following well-known software
testing techniques. Manual testing can be done wherever web test
automation is not possible or feasible. 
1. White box testing :Use White box testing to test the site's
construction. White box testing in software development
involves exercising all possible paths.
2. Black Box testing : Black box testing can be used to test the
site's functionality. Black box testing helps ensure that a
program performs the way it was expected to function. In
dynamic Web sites, the states of pages are constantly
changing depending on how user visits a site.
23
Business Unit or Product Name
© 200 3 IBMIBM Confidential
Analysis of web testing results
Many of the automated web tools provide test results in different
forms of presentations. The analysis of these results is very
important in improving the web site performance by understanding
the areas of improvement. There are lots of options available to
improve the performance if problem domain area is identified.
Hence the web test result analysis is foremost important activity to
improve the web site popularity.
24
Business Unit or Product Name
© 200 3 IBMIBM Confidential
Tips for Web testing
1. The figures below represent total page size, including both
text and graphics:
2. The 0-10K range qualifies as exemplary
3. Pages between 10-20K rate as well-optimized
4. The 20-40K range is merely adequate
5. 40-60K pages earn a dubious designator
6. Anything over 60K is unacceptable
25
Business Unit or Product Name
© 200 3 IBMIBM Confidential
What should be the optimal
Download time?
1. Download Time = 0.1 Second-When a Website operates as
quickly as this, it appears to happen instantly to the user..
2. Download Time = 1 Second-If the site operates this quickly,
the user won't have a chance to focus their attention
somewhere else.
3. Download Time = <15 Seconds-This amount of time is
accepted to be the threshold for keeping the user's attention
focused.
4. Download Time - >15 Seconds -Over 15 seconds is
considered to be too long to keep the user's attention
focused, and they're likely to lose interest and do other things.
26
Business Unit or Product Name
© 200 3 IBMIBM Confidential
Web testing checklist
Following checklist is useful for web testing
.A perspective on Web TestingWeb Testing Checklist.doc
27
Business Unit or Product Name
© 200 3 IBMIBM Confidential
User Testing Techniques
Following checklist is useful for web testing
User Testing Techniques
28
Business Unit or Product Name
© 200 3 IBMIBM Confidential
Vendors Of Web Testing tools
Following are the list of renowned companies famous in supplying
Web Testing tools.
..A perspective on Web TestingVendors Of Web Testing
tools.doc
29
Business Unit or Product Name
© 200 3 IBMIBM Confidential
Conclusion
Website testing is a very important part of web site development
and sub sequent maintenance. Whether it be an assessment
completed during development, or the analysis of your impact on
the audience after you've launched the site, testing is vital. It can
save any good Websites from failing to satisfy their visitors.
30
Business Unit or Product Name
© 200 3 IBMIBM Confidential
References
What should a Test to be automated? By Brain Marick for Quality
week magazine.
WebSite testing by Edward Miller of Software Research inc.
31
Business Unit or Product Name
© 200 3 IBMIBM Confidential
32
Business Unit or Product Name
© 200 3 IBMIBM Confidential

More Related Content

PPTX
Web Application Testing
PPTX
Testing web application
PPTX
Web Application Software Testing
PDF
What is Web Testing?
PDF
Risk oriented testing of web-based applications
PDF
Web App Testing - A Practical Approach
PDF
Unit 09: Web Application Testing
DOCX
Window Desktop Application Testing
Web Application Testing
Testing web application
Web Application Software Testing
What is Web Testing?
Risk oriented testing of web-based applications
Web App Testing - A Practical Approach
Unit 09: Web Application Testing
Window Desktop Application Testing

What's hot (19)

PPT
A perspective on web testing
PPT
Test Automation Framework Online Training by QuontraSolutions
DOC
Website testing
PPSX
Automation Framework 042009 V2
PDF
Ecommerce Website Testing Checklist
DOC
Kasi Viswanath
PDF
Automated Browser Compatibility Testing
DOC
Khushboo_Resume
PDF
Laws of test automation framework
PDF
Test Automation Framework Design | www.idexcel.com
DOCX
PPTX
Compatibility testing a must do of the web apps 2012
PPT
Test Automation Best Practices (with SOA test approach)
PPT
Test Automation Framework Development Introduction
PPT
Centralized test automation framework implementation
PPTX
STARWEST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
PPT
Designing a Test Automation Framework By Quontra solutions
PPTX
Selenium RC, Selenium WebDriver and HP LoadRunner
PPTX
Test automation framework
A perspective on web testing
Test Automation Framework Online Training by QuontraSolutions
Website testing
Automation Framework 042009 V2
Ecommerce Website Testing Checklist
Kasi Viswanath
Automated Browser Compatibility Testing
Khushboo_Resume
Laws of test automation framework
Test Automation Framework Design | www.idexcel.com
Compatibility testing a must do of the web apps 2012
Test Automation Best Practices (with SOA test approach)
Test Automation Framework Development Introduction
Centralized test automation framework implementation
STARWEST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
Designing a Test Automation Framework By Quontra solutions
Selenium RC, Selenium WebDriver and HP LoadRunner
Test automation framework
Ad

Viewers also liked (20)

PDF
Testing Web Applications
PPT
Website Testing Project
PPTX
Software testing ppt
PPTX
Tools to Test Ecommerce Website
PPT
TESTING Checklist
PPTX
Locking and Race Conditions in Web Applications
PPTX
Automated API pentesting using fuzzapi
PPTX
Ecommerce testing
PDF
Pentesting RESTful WebServices v1.0
PPTX
2014 Ecommerce Best Practices
PPTX
Pentesting ReST API
PPT
Data recovery
PPT
Data recovery
PPT
PDF
Web application security & Testing
PPTX
database recovery techniques
PPTX
Data recovery
PPTX
PPTX
Matching test items
PPT
Testing Web Applications
Website Testing Project
Software testing ppt
Tools to Test Ecommerce Website
TESTING Checklist
Locking and Race Conditions in Web Applications
Automated API pentesting using fuzzapi
Ecommerce testing
Pentesting RESTful WebServices v1.0
2014 Ecommerce Best Practices
Pentesting ReST API
Data recovery
Data recovery
Web application security & Testing
database recovery techniques
Data recovery
Matching test items
Ad

Similar to A perspective on web testing.ppt (20)

PPT
A perspective on web testing
PDF
Load testing for jquery based e commerce web applications with cloud performa...
PDF
Mobile application-testing for shanethatech
PDF
Innovate 2013 session 1243 mobile testing.v3
PDF
28791456 web-testing
PPT
IBM Mobile Quality Assurance Open Beta Study Group Session 3 (Instrumenting...
PDF
A Complete Guide to Web App Testing.pdf file
PDF
A Complete Guide to Web Apps Testing.pdf
PDF
IRJET- Agriculture Business to Business Website
DOC
Neha Arora_Resume
PPT
IBM Mobile Quality Assurance - Open Beta Study Group Session 2
PPT
IBM AppScan Enterprise - The total software security solution
PDF
Mobile Performance Testing Approaches and Challenges
PDF
A Complete Step-by-Step Guide to Mobile App Performance Testing.pdf
PDF
Experitest & Wipro Co-Webinar
PPTX
APM Talk
PDF
Best Practices & Lessons Learned from the field on EMC Documentum xCP 2.0
PDF
Nordics IBM Mobile Foundation Integration in Action
PPT
Worklight mobile v6
PPT
Are You Ready For More Visitors Cognizant Gomez Jan20
A perspective on web testing
Load testing for jquery based e commerce web applications with cloud performa...
Mobile application-testing for shanethatech
Innovate 2013 session 1243 mobile testing.v3
28791456 web-testing
IBM Mobile Quality Assurance Open Beta Study Group Session 3 (Instrumenting...
A Complete Guide to Web App Testing.pdf file
A Complete Guide to Web Apps Testing.pdf
IRJET- Agriculture Business to Business Website
Neha Arora_Resume
IBM Mobile Quality Assurance - Open Beta Study Group Session 2
IBM AppScan Enterprise - The total software security solution
Mobile Performance Testing Approaches and Challenges
A Complete Step-by-Step Guide to Mobile App Performance Testing.pdf
Experitest & Wipro Co-Webinar
APM Talk
Best Practices & Lessons Learned from the field on EMC Documentum xCP 2.0
Nordics IBM Mobile Foundation Integration in Action
Worklight mobile v6
Are You Ready For More Visitors Cognizant Gomez Jan20

More from sivaprasanth rentala (18)

PDF
Rentala hari daughter rojasirisha engagement photos album 26Feb2018
PDF
Rentala hari daughter rojasirishaengagementphotsalbum 26feb2018
PPTX
Rentala Roja sirisha engagement phots album 26 feb2018 photo - copy
PDF
Siva prasanth rentala computer cerificates 28 jan2018
PDF
Sivaprasanth rentala ibm-bravo awards
PDF
Sivaprasanth rentala L&T Infoteh(L&T ITL) awards certificates
PPT
Ibmsoftwareconfigurationmanagement 24-6-2010-101119015120-phpapp02
PPT
Ibm software configuration management 24-6-2010
PPS
Copy of good quotes.ppt
PPT
Contract savings new
PPT
Contract savings schema
PPT
Contract savings may 10th 2004 by gm euro
PPT
Contract savings job overview
PPT
Contract savings
PPT
PPT
A brief look at ibm mainframe history
PPT
Facebook features
DOC
Sivaprasanth Rentala_Kedar profile
Rentala hari daughter rojasirisha engagement photos album 26Feb2018
Rentala hari daughter rojasirishaengagementphotsalbum 26feb2018
Rentala Roja sirisha engagement phots album 26 feb2018 photo - copy
Siva prasanth rentala computer cerificates 28 jan2018
Sivaprasanth rentala ibm-bravo awards
Sivaprasanth rentala L&T Infoteh(L&T ITL) awards certificates
Ibmsoftwareconfigurationmanagement 24-6-2010-101119015120-phpapp02
Ibm software configuration management 24-6-2010
Copy of good quotes.ppt
Contract savings new
Contract savings schema
Contract savings may 10th 2004 by gm euro
Contract savings job overview
Contract savings
A brief look at ibm mainframe history
Facebook features
Sivaprasanth Rentala_Kedar profile

Recently uploaded (20)

PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Pre independence Education in Inndia.pdf
PPTX
GDM (1) (1).pptx small presentation for students
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
Pharma ospi slides which help in ospi learning
PPTX
master seminar digital applications in india
PPTX
Cell Types and Its function , kingdom of life
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Supply Chain Operations Speaking Notes -ICLT Program
Microbial disease of the cardiovascular and lymphatic systems
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Final Presentation General Medicine 03-08-2024.pptx
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
O7-L3 Supply Chain Operations - ICLT Program
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Pre independence Education in Inndia.pdf
GDM (1) (1).pptx small presentation for students
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Microbial diseases, their pathogenesis and prophylaxis
Pharma ospi slides which help in ospi learning
master seminar digital applications in india
Cell Types and Its function , kingdom of life
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
human mycosis Human fungal infections are called human mycosis..pptx
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
O5-L3 Freight Transport Ops (International) V1.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
Supply Chain Operations Speaking Notes -ICLT Program

A perspective on web testing.ppt

  • 1. Business Unit or Product Name © 2003 IBM CorporationIBM Confidential A Perspective on Web Testing Siva Prasanth Rentala srentala@in.ibm.com IGSI-OZONE,Pune,IGSI.
  • 2. 2 Business Unit or Product Name © 200 3 IBMIBM Confidential The purpose of this presentation is to depict a perspective on Web centric application testing. The document concentrates only on describing importance of web testing, how to conduct web testing and automation of web testing. The importance of Web Testing is growing phenomenally as the importance and implementation of Web applications is taking place in a rapid speed in each and every company’s applications. Objective
  • 3. 3 Business Unit or Product Name © 200 3 IBMIBM Confidential The foremost advantage of Web application is it reduces physical distance between user and the application near to zero. Web application can be accessed from anywhere and anytime by anyone around the world. E-COMMERCE applications like B2B, B2C and market places are the most promising web application as E- COMMERCE is yet to be part of life of the entire world Hence the significance if Web Testing is growing tremendously. Due to enormous growth in number of web applications the site needs be not only user friendly but also reader friendly to attract more users repeatedly. Web application advantages?
  • 4. 4 Business Unit or Product Name © 200 3 IBMIBM Confidential 1. Web Testing is the process of testing Web centric applications. 2. Web Testing involves more dimensions, less time, higher risks to include tests for performance, usability and compatibility than client/server applications etc. An optimal Web Testing approach begins with a thorough risk analysis of your application to identify and prioritize key areas and testing tasks. What is Web Testing?
  • 5. 5 Business Unit or Product Name © 200 3 IBMIBM Confidential We site deadlines are often far shorter than anyone would like. “Web software testing costs time and money.” & “Web Software testing saves time and money.” Both of these statements are true. The equation, however, cannot be completed without the word “effective”. With effective Web testing, the net result is always time and money savings. The chart below illustrates the geometric increase in cost incurred if testing is not sufficient. Why web test?
  • 6. 6 Business Unit or Product Name © 200 3 IBMIBM Confidential Software Testing was never easy. But in Web arena the testing became more complex and challenging. Today the users of web applications are not only limited but also users from all parts of the world. With Web based applications the world is moved into the living rooms. How Web Testing distinguish traditional Software Testing?
  • 7. 7 Business Unit or Product Name © 200 3 IBMIBM Confidential 1. Performance due to concurrent users 2. Compatibility 3. Robustness 4. Continuous testing 5. Security and user authentication Which distinguishes the web a applications from Client-server applications?
  • 8. 8 Business Unit or Product Name © 200 3 IBMIBM Confidential Automated Vs Manual Testing • The automated testing is becoming more important and influential in the web application testing. • While testing the web application 1. load testing, 2. stress testing and 3. performance testing cannot be done efficiently if we test manually. Manual testing cannot be possible to test the web site response time when 100 users access the site concurrently. • But there is no automated testing tool, which supports 100% web testing. Web testing should be combination of manual and automated testing. How to test Web applications?
  • 9. 9 Business Unit or Product Name © 200 3 IBMIBM Confidential Cost of fixing web errors The relative cost of correcting errors escalates by a factor of two between consecutive stages of a project. Design Build Test Rollout Production x = x 2x 4x 10x 60x 100-300x
  • 10. 10 Business Unit or Product Name © 200 3 IBMIBM Confidential  Design a test case, then run it.  If the program fails the test, write a bug report. Start over after the bug is fixed.  If the program passes the test, automate it. Run the test again (either from a script or with the aid of a capture utility). Capture the screen output at the end of the test. Save the test case and the output.  Next time, run the test case and compare its output to the saved output. If the outputs match, the program passes the test Here is the basic paradigm for GUI-based automated testing
  • 11. 11 Business Unit or Product Name © 200 3 IBMIBM Confidential  Defects are caught early in the development cycle before they become costly.  Time can be spent extending test coverage rather than repeating manual tests.  The skill level required to run tests is reduced.  Fixes are easier to verify because the scenarios that created them are automated.  Full regression testing can be performed on each target platform.  Metrics can be automatically gathered. Advantage of automated testing
  • 12. 12 Business Unit or Product Name © 200 3 IBMIBM Confidential Following diagram explains the automated web testing process.
  • 13. 13 Business Unit or Product Name © 200 3 IBMIBM Confidential User Interface testing includes verifying the Web user Interface with respect to UI specifications.The testing should verify that the UI built is as per UI specifications. Following tools are available UI testing 1. Rational Robot 2. QA Partner by Segue Software and 3. Xrunner and WinRunner by Mercury Interactive. User Interface testing
  • 14. 14 Business Unit or Product Name © 200 3 IBMIBM Confidential The functionality test should make sure that the application behaves as per design specifications dead link testing, Navigation, HTML validation Spell check and Content 1. Rational Suite TestStudio (Functionality testing) 2. Xenu Link Sleuth software (For Link testing) 3. http://www.w3c.org (For HTML validation) 4. SilkTest International (Functionality testing) 5. Compuware WebCheck –(Web test tool can check links, site mapping, orphaned URL's , missing attributes; scans for over 50 types of web site problems) 6. Doctor HTML (Site with online web page checker by Imagiware. Checks spelling, forms, table structure, form structure, tag usage. Validates links.) Functionality
  • 15. 15 Business Unit or Product Name © 200 3 IBMIBM Confidential Compatibility testing is necessary to ensure that the site performs same and as intended across multiple operating systems and different browser configurations. Operation Systems: Windows 95, 98, NT and 2000 and XP and Mac OS 7.6.1 – 9, UNIX, Linux so on. Browsers: Web site to be tested from Netscape 3.0 - 6, IE 3.0 - 5.0, AOL 3.0 - 5.0, as well as other browsers for both Windows and Macintosh platforms. Following testing tools can be used for Compatibility 1. VeriTest (Compatibility Testing) Compatibility : minimal OS and browsers to be tested
  • 16. 16 Business Unit or Product Name © 200 3 IBMIBM Confidential Performance testing Performance testing of web sites required sophisticated automating tools due to manual tests couldn’t simulate the testing conditions like maximum users There are numerous situations when famous sites like www.msnbc.com, www cnn.com faced performance problems apart from their preparedness to meet the maximum traffic. Predictable events like and unpredictable events like 1. Olympic games or 2. Football world cup where famous sites are flood with heavy traffic and the web applications also needs to gear for some 3. Sept 11 2001 attack on WTC in New York. Many sites were th
  • 17. 17 Business Unit or Product Name © 200 3 IBMIBM Confidential 1. For example On 12 February 2002, MSNBC.com, NBCOlympics.com and Olympics.com handled as many as 260,000 concurrent users. 2. MSNBC and KeyLabs predicted and planned for heavy site traffic by using RadView WebLOAD application testing and analysis software. MSNBC normally handles 15 million pages of information per day but ran at 30 million to 40 million per day during the first week of the Olympics. There are numerous situations
  • 18. 18 Business Unit or Product Name © 200 3 IBMIBM Confidential 1. Load testing: The Load testing determines the system performance at maximum usage levels. The measure of transaction times during load testing is not as important how far a system can be pushed until it fails. 2. Stress testing: Stress testing runs or stresses a web application under heavy loads for sustained periods Stress testing determines when the performance of a system degrades over a period of time. The performance testing includes following testing
  • 19. 19 Business Unit or Product Name © 200 3 IBMIBM Confidential Security 1. The security is very important psychological factor while retaining or attracting more users to visit the site. Especially E-Commerce related applications should be geared for users to protect the users confidential information like credit card information, address, contact information and so on. For additional security and encryption, check to see if the Secure Sockets Layer (SSL) protocol is being used. Following tools can be used for security testing: 1. Entrust (Securing the Internet) 2. ActiveTest Secure Check (Security testing service for web applications) 3. .
  • 20. 20 Business Unit or Product Name © 200 3 IBMIBM Confidential Usability & Error handling testing 1. For a large number of products, it is believed that the usability becomes the final arbiter of quality. This is true for a large number of desktop applications that gained market share through providing a good user experience. 2. Error handling strategy to be tested thoroughly as the end user should not feel uneasy due to the error message displayed while browsing the site or submitting a web form if any error occurs. The error message and the way message displayed should be user friendly. 3. The error message should be meaningful and appropriate
  • 21. 21 Business Unit or Product Name © 200 3 IBMIBM Confidential Network testing Tests need to be run to ensure that a site is network able and can run on several network OS environments. Also stress tests is needed to ensure that a minimum number of users can use an application at one time
  • 22. 22 Business Unit or Product Name © 200 3 IBMIBM Confidential White box testing Vs Black box testing The manual testing can be done in following well-known software testing techniques. Manual testing can be done wherever web test automation is not possible or feasible.  1. White box testing :Use White box testing to test the site's construction. White box testing in software development involves exercising all possible paths. 2. Black Box testing : Black box testing can be used to test the site's functionality. Black box testing helps ensure that a program performs the way it was expected to function. In dynamic Web sites, the states of pages are constantly changing depending on how user visits a site.
  • 23. 23 Business Unit or Product Name © 200 3 IBMIBM Confidential Analysis of web testing results Many of the automated web tools provide test results in different forms of presentations. The analysis of these results is very important in improving the web site performance by understanding the areas of improvement. There are lots of options available to improve the performance if problem domain area is identified. Hence the web test result analysis is foremost important activity to improve the web site popularity.
  • 24. 24 Business Unit or Product Name © 200 3 IBMIBM Confidential Tips for Web testing 1. The figures below represent total page size, including both text and graphics: 2. The 0-10K range qualifies as exemplary 3. Pages between 10-20K rate as well-optimized 4. The 20-40K range is merely adequate 5. 40-60K pages earn a dubious designator 6. Anything over 60K is unacceptable
  • 25. 25 Business Unit or Product Name © 200 3 IBMIBM Confidential What should be the optimal Download time? 1. Download Time = 0.1 Second-When a Website operates as quickly as this, it appears to happen instantly to the user.. 2. Download Time = 1 Second-If the site operates this quickly, the user won't have a chance to focus their attention somewhere else. 3. Download Time = <15 Seconds-This amount of time is accepted to be the threshold for keeping the user's attention focused. 4. Download Time - >15 Seconds -Over 15 seconds is considered to be too long to keep the user's attention focused, and they're likely to lose interest and do other things.
  • 26. 26 Business Unit or Product Name © 200 3 IBMIBM Confidential Web testing checklist Following checklist is useful for web testing .A perspective on Web TestingWeb Testing Checklist.doc
  • 27. 27 Business Unit or Product Name © 200 3 IBMIBM Confidential User Testing Techniques Following checklist is useful for web testing User Testing Techniques
  • 28. 28 Business Unit or Product Name © 200 3 IBMIBM Confidential Vendors Of Web Testing tools Following are the list of renowned companies famous in supplying Web Testing tools. ..A perspective on Web TestingVendors Of Web Testing tools.doc
  • 29. 29 Business Unit or Product Name © 200 3 IBMIBM Confidential Conclusion Website testing is a very important part of web site development and sub sequent maintenance. Whether it be an assessment completed during development, or the analysis of your impact on the audience after you've launched the site, testing is vital. It can save any good Websites from failing to satisfy their visitors.
  • 30. 30 Business Unit or Product Name © 200 3 IBMIBM Confidential References What should a Test to be automated? By Brain Marick for Quality week magazine. WebSite testing by Edward Miller of Software Research inc.
  • 31. 31 Business Unit or Product Name © 200 3 IBMIBM Confidential
  • 32. 32 Business Unit or Product Name © 200 3 IBMIBM Confidential