SlideShare a Scribd company logo
1 of 37
Testing Web-based Systems
Prof. Durga Prasad Mohapatra
Professor
Dept.of CSE, NIT Rourkela
• Web-based software systems consist of a set
of web pages and components that interact to
form a system which executes using web
server(s), network, HTTP, and a browser, in
which user input affects the state of system.
• These are typical programs that operate on
the Internet, interacting with the user through a
browser.
What is Web-based System?
Some related terms
 Web page: The information that can be
viewed in a single browser window.
 Website: A collection of web pages and
associated software components that are
related semantically by content and
syntactically through links and other control
mechanisms. They can be dynamic and
interactive.
Some related terms cont …
 Web application: A program that runs as a
whole or in part on one or more web
servers and that can be run through a
website.
 Web applications need the presence of a
web server in simple configuration or
multiple servers in more complex settings.
 Such applications are called web-based
applications.
Some related terms cont …
 Similar applications, which may operate
independent of any servers and rely on
operating systems services to perform their
functions, are termed web-enabled
applications.
 Now a days, with the integration of
technologies for development of such
applications, there is a thin line separating
web-based and web-enabled applications.
 So, they are collectively referred to as web
applications.
 Web systems are based on the client-server
architecture wherein a client typically enables
users to communicate with the server.
 Therefore, these systems share some
characteristics of client-server architecture.
 However, there are a number of aspects of web
systems that necessitate having the different
techniques to test them.
Traditional software vs. web-based
software
 Clients of the traditional client-server systems
are platform-specific.
◦ This means that a client application is developed and
tested for each supported client operating system.
◦ But the web client is operating within the web browser's
environment.
◦ Web browsers already consist of operating system-
specific client software running on a client computer.
◦ But these browsers need to support HTML, as well as
active contents to display web page information.
Traditional software vs. web-based
software
cont…
Traditional software vs web-based
software
cont …
◦ For this purpose, browser vendors must create
rendering engines and interpreters to translate and
format HTML contents.
◦ In making these software components, various
browsers and their releases introduce incompatibility
issues.
 Web-based systems have a more dynamic
environment as compared to traditional client-
server systems.
◦ In client-server systems, the roles of the clients and
servers and their interaction are predefined and static
as compared to web applications, where client side
programs and contents may be generated dynamically.
Traditional software vs web-based
software
cont…
Traditional software vs web-based
software
cont…
◦ Moreover, the environment for web applications
is not predefined and is changing dynamically i.e.
hardware and software are changing,
configuration are ever-changing, etc.
◦ Web applications often are affected by these
factors that may cause incompatibility and
interoperability issues.
 In the traditional client-server systems, the
normal flow of control is not affected by the user.
◦ But in web applications, users can break the normal
control flow.
◦ For example, users can press the back or refresh
button in the web browser.
Traditional software vs web-based
software
cont…
 Due to the dynamic environment, web systems
demand more frequent maintenance.
 The user profile for web systems is very diverse
as compared to client-server systems.
◦ Therefore, the load on web access due to this diversity
is not predictable.
Traditional Software vs web-based
software
cont…
 Diversity and Complexity
 Dynamic environment
 Very short development time
 Continuous evolution
 Compatibility and interoperability
Challenges in Testing for Web-based
Systems
 Interface Testing
 Usability Testing
 Content Testing
 Navigation Testing
 Configuration/Compatibility Testing
 Security Testing
 Performance Testing
Types of Testing for Web-based
Systems
 Web model must be checked to ensure all
interfaces.
 Interface between client and server
 Two interfaces on server side :
Web server and application server interface
Application server and database server interface
 Check for error messages, roll backs
 Errors must be cached, handled, and displayed
Interface Testing
 Check for :
◦ The user interruption in between transactions
◦ Connection to the web server is reset in between
◦ Compatibility of the server with software, hardware,
network, and data base.
Interface Testing cont..
 We can lose users because of a poor design.
 It is not a functional testing
 The web application is reviewed and tested from
a users point of view
 Take help from use case diagrams
Usability Testing
Usability Testing cont
…
 Check that form controls such as boxes and
buttons are easy to use, appropriate to the
task, and provide easy navigation for the
user.
 Check Spelling errors
 Check the misleading links
 For validation, perform a scenario based
usability testing with the help of use cases
 Take help from end users :
◦ In form of a questionnaire
◦ As they use, answer, and give feedback
Usability Testing cont…
 The content seen on the web pages has a
strong impression on user.
 Affects the next visit to web page.
◦ If these contents are not satisfactory to him, he may
not visit the web page again.
Content Testing
 Check the web application contents(input fields)
for :
◦ Completeness(existence)
Check that certain information is available on a given web
page, links between pages exist or even check the existence of
the web pages themselves.
◦ Correctness(semantics)
Web application content may need to be checked against
semantic conditions to see if they meet the web document.
◦ Validation on each field for :
 specified lengths
 mandatory fields
 default values
Content Testing cont …
 Therefore contents should be
◦ Correct
◦ Visible
◦ Flexible to use
◦ Organized
◦ Consistent
Content Testing cont …
 This type of testing targets the testing of static
and dynamic contents of web application
 Static contents can be checked as part of
verification.
 For instance, forms are the integral part of any
web site.
 Forms are used to get information from users
and to keep interacting with them.
Content Testing contd…
 First check all the validations on each field.
 Check for the default values of fields and also
wrong inputs to the fields in the forms.
 Options to create forms if any, form delete, view
or modify the forms must also be checked.
Content Testing cont…
Static testing may consider the following points
 Various layouts.
 Check forms for their field validations, error
message for wrong input, optional and
mandatory fields with specified length, buttons
on the form, etc.
 For tables, check that actually a table is present
and has the expected number of rows &
columns and the pre-defined properties.
Content Testing contd…
 Grammatical mistakes in text description of
web page.
 Typographical mistakes.
 Content organization.
 Content consistency.
 Data integrity and errors while you edit, delete,
modify the forms.
Content Testing cont…
 Content accuracy and completeness.
 Relationship between content objects
 Text contents
 Text fragments against formatting expectations.
 Graphics content with proper visibility.
Content Testing cont…
 Media contents to be placed at appropriate
places.
 All types of navigation links like internal links,
external links, mail links, broken links to be
placed at appropriate places.
 All links on a web page are active.
A check list for content verification may be
prepared.
Content Testing cont…
 There may be dynamic contents on a web page
also.
 Largely, dynamic testing will be suitable in
testing these dynamic contents.
 These dynamic contents can be in many forms.
 One possibility is that constantly changing
contents are there, e.g. weather information
web pages or online news paper.
 Another case may be that web applications are
generated dynamically from information
Content Testing cont…
 Many web applications work interactively in a
manner, that in response to a user request for
some information,
 interact with some DBMS,
 extract the relevant data,
 create the dynamic content objects for this
extracted data and
 send these content objects to user for display.
 In the same manner, the information can be
generated dynamically from cookies also.
Content Testing cont…
 The problem in the design of these dynamic
contents is
that there may be many errors due to its dynamic
behviour.
 Therefore, testing of these dynamic contents
becomes necessary to uncover the errors.
 Changing contents on a web page must be
tested
whether the contents are appearing every time in
the same format.
Moreover, there is consistency between the
Content Testing cont…
 Test all database interface-related functionalities
for all dynamic content objects.
 Check
◦ if all the database queries are executing correctly,
◦ data is retrieved correctly, and
◦ also updated correctly.
 Load testing or performance testing can also be
done on database.
Content Testing cont…
 Cookies are small files stored on the user
machine.
 These are basically used to maintain the
session, mainly the login sessions.
 The testing of the entire interface with these
cookies must also be tested.
Content Testing cont…
 Test the application by enabling or disabling the
cookies in browser options.
 Test if the cookies are encrypted before writing
to user machine.
 Check the effect on application security by
deleting the cookies.
Content Testing cont…
 Discussed some related terms on web-based
systems.
 Compared traditional S/W vs. web-based S/W.
 Discussed the challenges in testing of web-
based systems.
 Discussed some important types of testing for
web-based systems.
◦ Interface Testing
◦ Usability Testing
◦ Content Testing
Summary
References
1. N. Chauhan, Software Testing; Principles
and Practices, Second Edition, (Chapter –
15), Oxford University Press, 2018.
Thank You

More Related Content

Similar to Lecture31-Web-based-testing-I.pptx

WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_26-04-2022_tes...
WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_26-04-2022_tes...WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_26-04-2022_tes...
WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_26-04-2022_tes...madhurpatidar2
 
Web Engineering: A Practitioner Approach -Testing web app - Content Managemen...
Web Engineering: A Practitioner Approach -Testing web app - Content Managemen...Web Engineering: A Practitioner Approach -Testing web app - Content Managemen...
Web Engineering: A Practitioner Approach -Testing web app - Content Managemen...Esraa Farrag
 
Software Testing Introduction (Part 4))
 Software Testing Introduction (Part 4)) Software Testing Introduction (Part 4))
Software Testing Introduction (Part 4))Thapar Institute
 
Glimpse and Benefits of Testing
Glimpse and Benefits of TestingGlimpse and Benefits of Testing
Glimpse and Benefits of TestingSourabh Kasliwal
 
CH 1018. Schools often use concrete rewards to increase adaptive.docx
CH 1018. Schools often use concrete rewards to increase adaptive.docxCH 1018. Schools often use concrete rewards to increase adaptive.docx
CH 1018. Schools often use concrete rewards to increase adaptive.docxcravennichole326
 
Testing of web based Applicatons
Testing of web based ApplicatonsTesting of web based Applicatons
Testing of web based ApplicatonsVenkatakumar Reddy
 
What is Web Testing?
What is Web Testing?   What is Web Testing?
What is Web Testing? QA InfoTech
 
most common Web Testing interview questions and answers.pptx
most common Web Testing interview questions and answers.pptxmost common Web Testing interview questions and answers.pptx
most common Web Testing interview questions and answers.pptxMetSylvaMetuge
 
Quality Attributes of Web Software Applications ∗
Quality Attributes of Web Software Applications ∗Quality Attributes of Web Software Applications ∗
Quality Attributes of Web Software Applications ∗hasnainqayyum1
 
Reliability Improvement with PSP of Web-Based Software Applications
Reliability Improvement with PSP of Web-Based Software ApplicationsReliability Improvement with PSP of Web-Based Software Applications
Reliability Improvement with PSP of Web-Based Software ApplicationsCSEIJJournal
 
072SWE415StNotes13.ppt
072SWE415StNotes13.ppt072SWE415StNotes13.ppt
072SWE415StNotes13.pptPritishMarathe
 
Ensuring Effective Performance Testing in Web Applications.pdf
Ensuring Effective Performance Testing in Web Applications.pdfEnsuring Effective Performance Testing in Web Applications.pdf
Ensuring Effective Performance Testing in Web Applications.pdfkalichargn70th171
 
Browser-Based Load Testing with Grafana K6
Browser-Based Load Testing with Grafana K6Browser-Based Load Testing with Grafana K6
Browser-Based Load Testing with Grafana K6Knoldus Inc.
 
Webapplicationtesting
WebapplicationtestingWebapplicationtesting
Webapplicationtestingnazeer pasha
 
Migrating Large Amounts of Web Content
Migrating Large Amounts of Web ContentMigrating Large Amounts of Web Content
Migrating Large Amounts of Web ContentJeff Evans
 
How to Ensure Compatibility Across Different Browsers and Operating Systems i...
How to Ensure Compatibility Across Different Browsers and Operating Systems i...How to Ensure Compatibility Across Different Browsers and Operating Systems i...
How to Ensure Compatibility Across Different Browsers and Operating Systems i...pcloudy2
 
The Ultimate Website Testing Checklist for 2022
 The Ultimate Website Testing Checklist for 2022 The Ultimate Website Testing Checklist for 2022
The Ultimate Website Testing Checklist for 2022VOCSO Technologies
 

Similar to Lecture31-Web-based-testing-I.pptx (20)

WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_26-04-2022_tes...
WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_26-04-2022_tes...WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_26-04-2022_tes...
WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_26-04-2022_tes...
 
Web Engineering: A Practitioner Approach -Testing web app - Content Managemen...
Web Engineering: A Practitioner Approach -Testing web app - Content Managemen...Web Engineering: A Practitioner Approach -Testing web app - Content Managemen...
Web Engineering: A Practitioner Approach -Testing web app - Content Managemen...
 
Software Testing Introduction (Part 4))
 Software Testing Introduction (Part 4)) Software Testing Introduction (Part 4))
Software Testing Introduction (Part 4))
 
Glimpse and Benefits of Testing
Glimpse and Benefits of TestingGlimpse and Benefits of Testing
Glimpse and Benefits of Testing
 
Testing web application
Testing web applicationTesting web application
Testing web application
 
CH 1018. Schools often use concrete rewards to increase adaptive.docx
CH 1018. Schools often use concrete rewards to increase adaptive.docxCH 1018. Schools often use concrete rewards to increase adaptive.docx
CH 1018. Schools often use concrete rewards to increase adaptive.docx
 
Testing of web based Applicatons
Testing of web based ApplicatonsTesting of web based Applicatons
Testing of web based Applicatons
 
What is Web Testing?
What is Web Testing?   What is Web Testing?
What is Web Testing?
 
most common Web Testing interview questions and answers.pptx
most common Web Testing interview questions and answers.pptxmost common Web Testing interview questions and answers.pptx
most common Web Testing interview questions and answers.pptx
 
Quality Attributes of Web Software Applications ∗
Quality Attributes of Web Software Applications ∗Quality Attributes of Web Software Applications ∗
Quality Attributes of Web Software Applications ∗
 
Reliability Improvement with PSP of Web-Based Software Applications
Reliability Improvement with PSP of Web-Based Software ApplicationsReliability Improvement with PSP of Web-Based Software Applications
Reliability Improvement with PSP of Web-Based Software Applications
 
072SWE415StNotes13.ppt
072SWE415StNotes13.ppt072SWE415StNotes13.ppt
072SWE415StNotes13.ppt
 
Ensuring Effective Performance Testing in Web Applications.pdf
Ensuring Effective Performance Testing in Web Applications.pdfEnsuring Effective Performance Testing in Web Applications.pdf
Ensuring Effective Performance Testing in Web Applications.pdf
 
Browser-Based Load Testing with Grafana K6
Browser-Based Load Testing with Grafana K6Browser-Based Load Testing with Grafana K6
Browser-Based Load Testing with Grafana K6
 
Webapplicationtesting
WebapplicationtestingWebapplicationtesting
Webapplicationtesting
 
Migrating Large Amounts of Web Content
Migrating Large Amounts of Web ContentMigrating Large Amounts of Web Content
Migrating Large Amounts of Web Content
 
Beginners QA Testing
Beginners QA TestingBeginners QA Testing
Beginners QA Testing
 
Lecture 10.pptx
Lecture 10.pptxLecture 10.pptx
Lecture 10.pptx
 
How to Ensure Compatibility Across Different Browsers and Operating Systems i...
How to Ensure Compatibility Across Different Browsers and Operating Systems i...How to Ensure Compatibility Across Different Browsers and Operating Systems i...
How to Ensure Compatibility Across Different Browsers and Operating Systems i...
 
The Ultimate Website Testing Checklist for 2022
 The Ultimate Website Testing Checklist for 2022 The Ultimate Website Testing Checklist for 2022
The Ultimate Website Testing Checklist for 2022
 

Recently uploaded

Low Rate Call Girls Patna Anika 8250192130 Independent Escort Service Patna
Low Rate Call Girls Patna Anika 8250192130 Independent Escort Service PatnaLow Rate Call Girls Patna Anika 8250192130 Independent Escort Service Patna
Low Rate Call Girls Patna Anika 8250192130 Independent Escort Service Patnamakika9823
 
VIP Call Girls Indore Kirti 💚😋 9256729539 🚀 Indore Escorts
VIP Call Girls Indore Kirti 💚😋  9256729539 🚀 Indore EscortsVIP Call Girls Indore Kirti 💚😋  9256729539 🚀 Indore Escorts
VIP Call Girls Indore Kirti 💚😋 9256729539 🚀 Indore Escortsaditipandeya
 
Artifacts in Nuclear Medicine with Identifying and resolving artifacts.
Artifacts in Nuclear Medicine with Identifying and resolving artifacts.Artifacts in Nuclear Medicine with Identifying and resolving artifacts.
Artifacts in Nuclear Medicine with Identifying and resolving artifacts.MiadAlsulami
 
Lucknow Call girls - 8800925952 - 24x7 service with hotel room
Lucknow Call girls - 8800925952 - 24x7 service with hotel roomLucknow Call girls - 8800925952 - 24x7 service with hotel room
Lucknow Call girls - 8800925952 - 24x7 service with hotel roomdiscovermytutordmt
 
VIP Call Girls Tirunelveli Aaradhya 8250192130 Independent Escort Service Tir...
VIP Call Girls Tirunelveli Aaradhya 8250192130 Independent Escort Service Tir...VIP Call Girls Tirunelveli Aaradhya 8250192130 Independent Escort Service Tir...
VIP Call Girls Tirunelveli Aaradhya 8250192130 Independent Escort Service Tir...narwatsonia7
 
CALL ON ➥9907093804 🔝 Call Girls Baramati ( Pune) Girls Service
CALL ON ➥9907093804 🔝 Call Girls Baramati ( Pune)  Girls ServiceCALL ON ➥9907093804 🔝 Call Girls Baramati ( Pune)  Girls Service
CALL ON ➥9907093804 🔝 Call Girls Baramati ( Pune) Girls ServiceMiss joya
 
Call Girls Service Navi Mumbai Samaira 8617697112 Independent Escort Service ...
Call Girls Service Navi Mumbai Samaira 8617697112 Independent Escort Service ...Call Girls Service Navi Mumbai Samaira 8617697112 Independent Escort Service ...
Call Girls Service Navi Mumbai Samaira 8617697112 Independent Escort Service ...Call girls in Ahmedabad High profile
 
Call Girls Darjeeling Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Darjeeling Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Darjeeling Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Darjeeling Just Call 9907093804 Top Class Call Girl Service AvailableDipal Arora
 
VIP Call Girls Pune Vrinda 9907093804 Short 1500 Night 6000 Best call girls S...
VIP Call Girls Pune Vrinda 9907093804 Short 1500 Night 6000 Best call girls S...VIP Call Girls Pune Vrinda 9907093804 Short 1500 Night 6000 Best call girls S...
VIP Call Girls Pune Vrinda 9907093804 Short 1500 Night 6000 Best call girls S...Miss joya
 
Kesar Bagh Call Girl Price 9548273370 , Lucknow Call Girls Service
Kesar Bagh Call Girl Price 9548273370 , Lucknow Call Girls ServiceKesar Bagh Call Girl Price 9548273370 , Lucknow Call Girls Service
Kesar Bagh Call Girl Price 9548273370 , Lucknow Call Girls Servicemakika9823
 
Call Girls Ludhiana Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 9907093804 Top Class Call Girl Service AvailableDipal Arora
 
Bangalore Call Girls Nelamangala Number 7001035870 Meetin With Bangalore Esc...
Bangalore Call Girls Nelamangala Number 7001035870  Meetin With Bangalore Esc...Bangalore Call Girls Nelamangala Number 7001035870  Meetin With Bangalore Esc...
Bangalore Call Girls Nelamangala Number 7001035870 Meetin With Bangalore Esc...narwatsonia7
 
Russian Escorts Girls Nehru Place ZINATHI 🔝9711199012 ☪ 24/7 Call Girls Delhi
Russian Escorts Girls  Nehru Place ZINATHI 🔝9711199012 ☪ 24/7 Call Girls DelhiRussian Escorts Girls  Nehru Place ZINATHI 🔝9711199012 ☪ 24/7 Call Girls Delhi
Russian Escorts Girls Nehru Place ZINATHI 🔝9711199012 ☪ 24/7 Call Girls DelhiAlinaDevecerski
 
Russian Call Girls in Pune Tanvi 9907093804 Short 1500 Night 6000 Best call g...
Russian Call Girls in Pune Tanvi 9907093804 Short 1500 Night 6000 Best call g...Russian Call Girls in Pune Tanvi 9907093804 Short 1500 Night 6000 Best call g...
Russian Call Girls in Pune Tanvi 9907093804 Short 1500 Night 6000 Best call g...Miss joya
 
Call Girls Service Jaipur Grishma WhatsApp ❤8445551418 VIP Call Girls Jaipur
Call Girls Service Jaipur Grishma WhatsApp ❤8445551418 VIP Call Girls JaipurCall Girls Service Jaipur Grishma WhatsApp ❤8445551418 VIP Call Girls Jaipur
Call Girls Service Jaipur Grishma WhatsApp ❤8445551418 VIP Call Girls Jaipurparulsinha
 
Call Girls Colaba Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls Colaba Mumbai ❤️ 9920874524 👈 Cash on DeliveryCall Girls Colaba Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls Colaba Mumbai ❤️ 9920874524 👈 Cash on Deliverynehamumbai
 
Call Girls Service Surat Samaira ❤️🍑 8250192130 👄 Independent Escort Service ...
Call Girls Service Surat Samaira ❤️🍑 8250192130 👄 Independent Escort Service ...Call Girls Service Surat Samaira ❤️🍑 8250192130 👄 Independent Escort Service ...
Call Girls Service Surat Samaira ❤️🍑 8250192130 👄 Independent Escort Service ...CALL GIRLS
 
Book Paid Powai Call Girls Mumbai 𖠋 9930245274 𖠋Low Budget Full Independent H...
Book Paid Powai Call Girls Mumbai 𖠋 9930245274 𖠋Low Budget Full Independent H...Book Paid Powai Call Girls Mumbai 𖠋 9930245274 𖠋Low Budget Full Independent H...
Book Paid Powai Call Girls Mumbai 𖠋 9930245274 𖠋Low Budget Full Independent H...Call Girls in Nagpur High Profile
 

Recently uploaded (20)

Low Rate Call Girls Patna Anika 8250192130 Independent Escort Service Patna
Low Rate Call Girls Patna Anika 8250192130 Independent Escort Service PatnaLow Rate Call Girls Patna Anika 8250192130 Independent Escort Service Patna
Low Rate Call Girls Patna Anika 8250192130 Independent Escort Service Patna
 
VIP Call Girls Indore Kirti 💚😋 9256729539 🚀 Indore Escorts
VIP Call Girls Indore Kirti 💚😋  9256729539 🚀 Indore EscortsVIP Call Girls Indore Kirti 💚😋  9256729539 🚀 Indore Escorts
VIP Call Girls Indore Kirti 💚😋 9256729539 🚀 Indore Escorts
 
Artifacts in Nuclear Medicine with Identifying and resolving artifacts.
Artifacts in Nuclear Medicine with Identifying and resolving artifacts.Artifacts in Nuclear Medicine with Identifying and resolving artifacts.
Artifacts in Nuclear Medicine with Identifying and resolving artifacts.
 
Lucknow Call girls - 8800925952 - 24x7 service with hotel room
Lucknow Call girls - 8800925952 - 24x7 service with hotel roomLucknow Call girls - 8800925952 - 24x7 service with hotel room
Lucknow Call girls - 8800925952 - 24x7 service with hotel room
 
VIP Call Girls Tirunelveli Aaradhya 8250192130 Independent Escort Service Tir...
VIP Call Girls Tirunelveli Aaradhya 8250192130 Independent Escort Service Tir...VIP Call Girls Tirunelveli Aaradhya 8250192130 Independent Escort Service Tir...
VIP Call Girls Tirunelveli Aaradhya 8250192130 Independent Escort Service Tir...
 
CALL ON ➥9907093804 🔝 Call Girls Baramati ( Pune) Girls Service
CALL ON ➥9907093804 🔝 Call Girls Baramati ( Pune)  Girls ServiceCALL ON ➥9907093804 🔝 Call Girls Baramati ( Pune)  Girls Service
CALL ON ➥9907093804 🔝 Call Girls Baramati ( Pune) Girls Service
 
Call Girls Service Navi Mumbai Samaira 8617697112 Independent Escort Service ...
Call Girls Service Navi Mumbai Samaira 8617697112 Independent Escort Service ...Call Girls Service Navi Mumbai Samaira 8617697112 Independent Escort Service ...
Call Girls Service Navi Mumbai Samaira 8617697112 Independent Escort Service ...
 
Call Girls Darjeeling Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Darjeeling Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Darjeeling Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Darjeeling Just Call 9907093804 Top Class Call Girl Service Available
 
VIP Call Girls Pune Vrinda 9907093804 Short 1500 Night 6000 Best call girls S...
VIP Call Girls Pune Vrinda 9907093804 Short 1500 Night 6000 Best call girls S...VIP Call Girls Pune Vrinda 9907093804 Short 1500 Night 6000 Best call girls S...
VIP Call Girls Pune Vrinda 9907093804 Short 1500 Night 6000 Best call girls S...
 
Kesar Bagh Call Girl Price 9548273370 , Lucknow Call Girls Service
Kesar Bagh Call Girl Price 9548273370 , Lucknow Call Girls ServiceKesar Bagh Call Girl Price 9548273370 , Lucknow Call Girls Service
Kesar Bagh Call Girl Price 9548273370 , Lucknow Call Girls Service
 
Call Girls Ludhiana Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 9907093804 Top Class Call Girl Service Available
 
Bangalore Call Girls Nelamangala Number 7001035870 Meetin With Bangalore Esc...
Bangalore Call Girls Nelamangala Number 7001035870  Meetin With Bangalore Esc...Bangalore Call Girls Nelamangala Number 7001035870  Meetin With Bangalore Esc...
Bangalore Call Girls Nelamangala Number 7001035870 Meetin With Bangalore Esc...
 
Russian Escorts Girls Nehru Place ZINATHI 🔝9711199012 ☪ 24/7 Call Girls Delhi
Russian Escorts Girls  Nehru Place ZINATHI 🔝9711199012 ☪ 24/7 Call Girls DelhiRussian Escorts Girls  Nehru Place ZINATHI 🔝9711199012 ☪ 24/7 Call Girls Delhi
Russian Escorts Girls Nehru Place ZINATHI 🔝9711199012 ☪ 24/7 Call Girls Delhi
 
Russian Call Girls in Delhi Tanvi ➡️ 9711199012 💋📞 Independent Escort Service...
Russian Call Girls in Delhi Tanvi ➡️ 9711199012 💋📞 Independent Escort Service...Russian Call Girls in Delhi Tanvi ➡️ 9711199012 💋📞 Independent Escort Service...
Russian Call Girls in Delhi Tanvi ➡️ 9711199012 💋📞 Independent Escort Service...
 
Russian Call Girls in Pune Tanvi 9907093804 Short 1500 Night 6000 Best call g...
Russian Call Girls in Pune Tanvi 9907093804 Short 1500 Night 6000 Best call g...Russian Call Girls in Pune Tanvi 9907093804 Short 1500 Night 6000 Best call g...
Russian Call Girls in Pune Tanvi 9907093804 Short 1500 Night 6000 Best call g...
 
Call Girls Service Jaipur Grishma WhatsApp ❤8445551418 VIP Call Girls Jaipur
Call Girls Service Jaipur Grishma WhatsApp ❤8445551418 VIP Call Girls JaipurCall Girls Service Jaipur Grishma WhatsApp ❤8445551418 VIP Call Girls Jaipur
Call Girls Service Jaipur Grishma WhatsApp ❤8445551418 VIP Call Girls Jaipur
 
Escort Service Call Girls In Sarita Vihar,, 99530°56974 Delhi NCR
Escort Service Call Girls In Sarita Vihar,, 99530°56974 Delhi NCREscort Service Call Girls In Sarita Vihar,, 99530°56974 Delhi NCR
Escort Service Call Girls In Sarita Vihar,, 99530°56974 Delhi NCR
 
Call Girls Colaba Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls Colaba Mumbai ❤️ 9920874524 👈 Cash on DeliveryCall Girls Colaba Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls Colaba Mumbai ❤️ 9920874524 👈 Cash on Delivery
 
Call Girls Service Surat Samaira ❤️🍑 8250192130 👄 Independent Escort Service ...
Call Girls Service Surat Samaira ❤️🍑 8250192130 👄 Independent Escort Service ...Call Girls Service Surat Samaira ❤️🍑 8250192130 👄 Independent Escort Service ...
Call Girls Service Surat Samaira ❤️🍑 8250192130 👄 Independent Escort Service ...
 
Book Paid Powai Call Girls Mumbai 𖠋 9930245274 𖠋Low Budget Full Independent H...
Book Paid Powai Call Girls Mumbai 𖠋 9930245274 𖠋Low Budget Full Independent H...Book Paid Powai Call Girls Mumbai 𖠋 9930245274 𖠋Low Budget Full Independent H...
Book Paid Powai Call Girls Mumbai 𖠋 9930245274 𖠋Low Budget Full Independent H...
 

Lecture31-Web-based-testing-I.pptx

  • 1. Testing Web-based Systems Prof. Durga Prasad Mohapatra Professor Dept.of CSE, NIT Rourkela
  • 2. • Web-based software systems consist of a set of web pages and components that interact to form a system which executes using web server(s), network, HTTP, and a browser, in which user input affects the state of system. • These are typical programs that operate on the Internet, interacting with the user through a browser. What is Web-based System?
  • 3. Some related terms  Web page: The information that can be viewed in a single browser window.  Website: A collection of web pages and associated software components that are related semantically by content and syntactically through links and other control mechanisms. They can be dynamic and interactive.
  • 4. Some related terms cont …  Web application: A program that runs as a whole or in part on one or more web servers and that can be run through a website.  Web applications need the presence of a web server in simple configuration or multiple servers in more complex settings.  Such applications are called web-based applications.
  • 5. Some related terms cont …  Similar applications, which may operate independent of any servers and rely on operating systems services to perform their functions, are termed web-enabled applications.  Now a days, with the integration of technologies for development of such applications, there is a thin line separating web-based and web-enabled applications.  So, they are collectively referred to as web applications.
  • 6.  Web systems are based on the client-server architecture wherein a client typically enables users to communicate with the server.  Therefore, these systems share some characteristics of client-server architecture.  However, there are a number of aspects of web systems that necessitate having the different techniques to test them. Traditional software vs. web-based software
  • 7.  Clients of the traditional client-server systems are platform-specific. ◦ This means that a client application is developed and tested for each supported client operating system. ◦ But the web client is operating within the web browser's environment. ◦ Web browsers already consist of operating system- specific client software running on a client computer. ◦ But these browsers need to support HTML, as well as active contents to display web page information. Traditional software vs. web-based software cont…
  • 8. Traditional software vs web-based software cont … ◦ For this purpose, browser vendors must create rendering engines and interpreters to translate and format HTML contents. ◦ In making these software components, various browsers and their releases introduce incompatibility issues.
  • 9.  Web-based systems have a more dynamic environment as compared to traditional client- server systems. ◦ In client-server systems, the roles of the clients and servers and their interaction are predefined and static as compared to web applications, where client side programs and contents may be generated dynamically. Traditional software vs web-based software cont…
  • 10. Traditional software vs web-based software cont… ◦ Moreover, the environment for web applications is not predefined and is changing dynamically i.e. hardware and software are changing, configuration are ever-changing, etc. ◦ Web applications often are affected by these factors that may cause incompatibility and interoperability issues.
  • 11.  In the traditional client-server systems, the normal flow of control is not affected by the user. ◦ But in web applications, users can break the normal control flow. ◦ For example, users can press the back or refresh button in the web browser. Traditional software vs web-based software cont…
  • 12.  Due to the dynamic environment, web systems demand more frequent maintenance.  The user profile for web systems is very diverse as compared to client-server systems. ◦ Therefore, the load on web access due to this diversity is not predictable. Traditional Software vs web-based software cont…
  • 13.  Diversity and Complexity  Dynamic environment  Very short development time  Continuous evolution  Compatibility and interoperability Challenges in Testing for Web-based Systems
  • 14.  Interface Testing  Usability Testing  Content Testing  Navigation Testing  Configuration/Compatibility Testing  Security Testing  Performance Testing Types of Testing for Web-based Systems
  • 15.  Web model must be checked to ensure all interfaces.  Interface between client and server  Two interfaces on server side : Web server and application server interface Application server and database server interface  Check for error messages, roll backs  Errors must be cached, handled, and displayed Interface Testing
  • 16.  Check for : ◦ The user interruption in between transactions ◦ Connection to the web server is reset in between ◦ Compatibility of the server with software, hardware, network, and data base. Interface Testing cont..
  • 17.  We can lose users because of a poor design.  It is not a functional testing  The web application is reviewed and tested from a users point of view  Take help from use case diagrams Usability Testing
  • 18. Usability Testing cont …  Check that form controls such as boxes and buttons are easy to use, appropriate to the task, and provide easy navigation for the user.  Check Spelling errors  Check the misleading links
  • 19.  For validation, perform a scenario based usability testing with the help of use cases  Take help from end users : ◦ In form of a questionnaire ◦ As they use, answer, and give feedback Usability Testing cont…
  • 20.  The content seen on the web pages has a strong impression on user.  Affects the next visit to web page. ◦ If these contents are not satisfactory to him, he may not visit the web page again. Content Testing
  • 21.  Check the web application contents(input fields) for : ◦ Completeness(existence) Check that certain information is available on a given web page, links between pages exist or even check the existence of the web pages themselves. ◦ Correctness(semantics) Web application content may need to be checked against semantic conditions to see if they meet the web document. ◦ Validation on each field for :  specified lengths  mandatory fields  default values Content Testing cont …
  • 22.  Therefore contents should be ◦ Correct ◦ Visible ◦ Flexible to use ◦ Organized ◦ Consistent Content Testing cont …
  • 23.  This type of testing targets the testing of static and dynamic contents of web application  Static contents can be checked as part of verification.  For instance, forms are the integral part of any web site.  Forms are used to get information from users and to keep interacting with them. Content Testing contd…
  • 24.  First check all the validations on each field.  Check for the default values of fields and also wrong inputs to the fields in the forms.  Options to create forms if any, form delete, view or modify the forms must also be checked. Content Testing cont…
  • 25. Static testing may consider the following points  Various layouts.  Check forms for their field validations, error message for wrong input, optional and mandatory fields with specified length, buttons on the form, etc.  For tables, check that actually a table is present and has the expected number of rows & columns and the pre-defined properties. Content Testing contd…
  • 26.  Grammatical mistakes in text description of web page.  Typographical mistakes.  Content organization.  Content consistency.  Data integrity and errors while you edit, delete, modify the forms. Content Testing cont…
  • 27.  Content accuracy and completeness.  Relationship between content objects  Text contents  Text fragments against formatting expectations.  Graphics content with proper visibility. Content Testing cont…
  • 28.  Media contents to be placed at appropriate places.  All types of navigation links like internal links, external links, mail links, broken links to be placed at appropriate places.  All links on a web page are active. A check list for content verification may be prepared. Content Testing cont…
  • 29.  There may be dynamic contents on a web page also.  Largely, dynamic testing will be suitable in testing these dynamic contents.  These dynamic contents can be in many forms.  One possibility is that constantly changing contents are there, e.g. weather information web pages or online news paper.  Another case may be that web applications are generated dynamically from information Content Testing cont…
  • 30.  Many web applications work interactively in a manner, that in response to a user request for some information,  interact with some DBMS,  extract the relevant data,  create the dynamic content objects for this extracted data and  send these content objects to user for display.  In the same manner, the information can be generated dynamically from cookies also. Content Testing cont…
  • 31.  The problem in the design of these dynamic contents is that there may be many errors due to its dynamic behviour.  Therefore, testing of these dynamic contents becomes necessary to uncover the errors.  Changing contents on a web page must be tested whether the contents are appearing every time in the same format. Moreover, there is consistency between the Content Testing cont…
  • 32.  Test all database interface-related functionalities for all dynamic content objects.  Check ◦ if all the database queries are executing correctly, ◦ data is retrieved correctly, and ◦ also updated correctly.  Load testing or performance testing can also be done on database. Content Testing cont…
  • 33.  Cookies are small files stored on the user machine.  These are basically used to maintain the session, mainly the login sessions.  The testing of the entire interface with these cookies must also be tested. Content Testing cont…
  • 34.  Test the application by enabling or disabling the cookies in browser options.  Test if the cookies are encrypted before writing to user machine.  Check the effect on application security by deleting the cookies. Content Testing cont…
  • 35.  Discussed some related terms on web-based systems.  Compared traditional S/W vs. web-based S/W.  Discussed the challenges in testing of web- based systems.  Discussed some important types of testing for web-based systems. ◦ Interface Testing ◦ Usability Testing ◦ Content Testing Summary
  • 36. References 1. N. Chauhan, Software Testing; Principles and Practices, Second Edition, (Chapter – 15), Oxford University Press, 2018.