SlideShare a Scribd company logo
Welcome To ST&PT Team Meeting
Harsha  V Joshi
Agenda Overview. AJAX? Why AJAX? AJAX Model. Testing Strategy. Testing ideas.  Questions?????.
Overview  :Web 1.0,Web 2.0/RIA Web Site Data Web Site App App App Data
What is AJAX? AJAX is the acronym for  A synchronous  J avaScript  a nd  X ML. The purpose is to create more dynamic and responsive web pages. It is also about building web clients in a Service Oriented Architecture that can connect to any kind of server: J2EE, PHP, ASP. Net etc. AJAX involves existing technology & standards: JavaScript and XML. Page view displayed in a web browser retrieves data or markup fragments from a service and refreshes just a part of the page. AJAX is non-trivial, it requires deep and broad skills in web development ...... but the benefits to be gained can be huge compared to classic web applications. AJAX enables major improvements in responsiveness and performance of web applications, e.g. used at G-Mail,Google suggests,Google Maps. AJAX is  NOT  hype – it is very real and very useful for highly interactive applications.
Why to Switch to AJAX Approach Because it addresses - Asynchronous communication with server Rich User Interface Features Highly interactive application Increased Productivity Required low bandwidth SOA compliant Enables collaborative applications Open standards Open source Compatible with existing web development technologies
Conventional E-docket Phase1 Application Without AJAX Drawback: This model can not handle effectively asynchronous multiple requests from different panels of the screen residing on the dashboard.  Result: Poor performance in transaction turn around time, Poor interactivity & Low usability. Web Sever Web services,   Business Logic JSON Response Server-side systems JSON request Data Store, Business Logic XML Server XML XML Browser client User Interface
E-docket phase2 Application with AJAX Advantage: This model provides ‘Rich client’, ‘Handling asynchronous calls’ effectively, ‘Excellent transaction performance’. User Interface Web Sever Web services,   Business Logic JSON Response JSON data Server-side systems Browser client E-docket phase2  Application Model with AJAX AJAX Engine JSON request Javascript call  Data Store, Business Logic XML Server XML XML
Test Strategy 1. In the area of functional testing: Test the pillars – Here we can  test all the field & form level validations like: Mandatory fields - are they really mandatory. Invalid data input – enter text for a field that is supposed to accept numbers only. Test field dependency – city field becomes mandatory if you select data for country field. Check the validation fired upon Submit / Save – any event that is supposed to pick data from the form and send it to server. SQL Keyword test ideas  – Enter the following special characters into the field: Comma (,). Semi Colon (;) Apostrophe (‘). Double Dash / Hyphen (--). Ampersand (&). Forward Slash (/). Asterisk (*).
Test   Strategy contd….. 2.   In the area of performance testing Download time is critical. Download time is the time taken by application to  download a page along with its links and images on the browser screen.  To simulate maximum no of asynchronous requests. 3.   Usability Testing We need to measure the utilized bandwidth. This can be done using tools Http watch and Ethereal We need to test whether while doing partial page updates UI is persistent and predictable. If multiple asynchronous requests are simultaneously done, then how screen updation is happening in parallel and priority wise.
Test   Strategy contd….. 4. Installation/Compatibility Testing  This is new approach and need to be tested on all browsers. Some browsers behave strangely with xml. In such cases JSON is used for data transfer. So here challenge is how application behaves in such a browser. We have an option to disable JavaScript in browser settings. Heart of AJAX is JavaScript.  So it is required to test how application responds in different browsers where JavaScript option is disabled. 5. Security Testing To check whether any secret data is passing through the form. Test cases should include conditions for testing whether data apart from that required by server is also sent to server. This can be easily done if a particular Security policy is build for applications. While doing testing we can verify it with un expected inputs.
Test   Strategy contd….. 6.  Scalability Testing  For AJAX applications improves server resources footprint. By doing scalable testing (few rounds) we can come up with optimum server configuration.  7.  Reliability Testing  Few conditions can be included for Failure and recovery testing w.r.t. Web services, Backend server, Network, etc.
Test Ideas Test for timeout of active session. Test for number of users that can login at a time. Any actions under which users is thrown out of a system. Try accessing a secured page from a bookmark. Test the ‘remember me’ or ‘remember my user name’ options. Test the ‘login automatically’ functionality. Test the URL for passing variables directly. Test the URL for session ID display. Test if the same user logs in twice, the session id for each login  is unique. Test if the static part of session ID are easily recognizable. Test than no sensitive information is passed as clear text in session ID.
Resources/External Links AJAX Communities on Orkut. Java.sun.com/developer/technicalArticles/J2EE/AJAX/DesignStrategies. Adaptivepath.com. W3schools.com Wikis.
 
Thank You! Happy Valentines Day!!!!!

More Related Content

PPTX
Ajax Load Testing Concerns By Eric Beland
PPTX
Eric Beland Ajax Load Testing Considerations
PPTX
Time to REST: testing web services
PPT
Web services testing
DOCX
Abeeha_Profile
PPTX
Overview of AJAX
PPT
Symantec I3 - Inquire & Cluster
Ajax Load Testing Concerns By Eric Beland
Eric Beland Ajax Load Testing Considerations
Time to REST: testing web services
Web services testing
Abeeha_Profile
Overview of AJAX
Symantec I3 - Inquire & Cluster

What's hot (20)

PPT
Whats New In Asp.Net Web Forms 4
PPT
Symantec I3 Presentation
PPT
Using Ajax In Domino Web Applications
PDF
Angular webinar - Credo Systemz
PDF
JOB PORTAL SYSTEM
PPTX
Performance Testing REST APIs
PPTX
Online Job Portal
PPTX
Frame switcher library
PPTX
Lightning page optimization & best practices
PPTX
Liftweb
PPT
Developing Profitable APIs - John Fraser - Platform A
PPT
Ajax workshop
DOCX
Asha_4Yrs_Manual_3_Yrs_Automation
PPT
Ajax & ASP.NET 2
PPTX
Design & development of job portal system using joomla & its online reputatio...
PPTX
Job portal
PPTX
My Saminar On Php
PPTX
Web Services Testing
PPT
Ajax presentation
Whats New In Asp.Net Web Forms 4
Symantec I3 Presentation
Using Ajax In Domino Web Applications
Angular webinar - Credo Systemz
JOB PORTAL SYSTEM
Performance Testing REST APIs
Online Job Portal
Frame switcher library
Lightning page optimization & best practices
Liftweb
Developing Profitable APIs - John Fraser - Platform A
Ajax workshop
Asha_4Yrs_Manual_3_Yrs_Automation
Ajax & ASP.NET 2
Design & development of job portal system using joomla & its online reputatio...
Job portal
My Saminar On Php
Web Services Testing
Ajax presentation
Ad

Similar to Ajax Testing Approach (20)

PDF
Research Inventy : International Journal of Engineering and Science
PDF
A model for performance testing of ajax based web applications
PPTX
Automated integration tests for ajax applications (с. карпушин, auriga)
PDF
A novel approach for evaluation of applying ajax in the web site
PDF
QA Fest 2018. Павел Ведилин. Нагрузочное тестирование в последний момент и чт...
DOC
Web testing essentials
PDF
SQA_Unit 3.pdf it is a database education
PPT
Netserv Software Testing
PPT
072SWE415StNotes13.ppt
PPTX
Testing of web based Applicatons
PDF
Checklist_for_testing_Jaikishan_1649089616.pdf
PDF
Webapp Automation Testing of performance marketing and media platform
PDF
Ajax basics
PPT
Ajax: User Experience
PPTX
Software Testing Introduction (Part 4))
PPT
Ajax Usability for AjaxWorld
PPT
Lecture 10 Answers
PPT
Test Automation Framework Designs
PPT
Susan windsor soft test 16th november 2005
PDF
Fran O'Hara - Evolving Agile Testing - EuroSTAR 2012
Research Inventy : International Journal of Engineering and Science
A model for performance testing of ajax based web applications
Automated integration tests for ajax applications (с. карпушин, auriga)
A novel approach for evaluation of applying ajax in the web site
QA Fest 2018. Павел Ведилин. Нагрузочное тестирование в последний момент и чт...
Web testing essentials
SQA_Unit 3.pdf it is a database education
Netserv Software Testing
072SWE415StNotes13.ppt
Testing of web based Applicatons
Checklist_for_testing_Jaikishan_1649089616.pdf
Webapp Automation Testing of performance marketing and media platform
Ajax basics
Ajax: User Experience
Software Testing Introduction (Part 4))
Ajax Usability for AjaxWorld
Lecture 10 Answers
Test Automation Framework Designs
Susan windsor soft test 16th november 2005
Fran O'Hara - Evolving Agile Testing - EuroSTAR 2012
Ad

Recently uploaded (20)

PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Approach and Philosophy of On baking technology
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
The AUB Centre for AI in Media Proposal.docx
NewMind AI Weekly Chronicles - August'25 Week I
Review of recent advances in non-invasive hemoglobin estimation
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
“AI and Expert System Decision Support & Business Intelligence Systems”
The Rise and Fall of 3GPP – Time for a Sabbatical?
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Chapter 3 Spatial Domain Image Processing.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Unlocking AI with Model Context Protocol (MCP)
Network Security Unit 5.pdf for BCA BBA.
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Understanding_Digital_Forensics_Presentation.pptx
Approach and Philosophy of On baking technology
Per capita expenditure prediction using model stacking based on satellite ima...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Dropbox Q2 2025 Financial Results & Investor Presentation
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf

Ajax Testing Approach

  • 1. Welcome To ST&PT Team Meeting
  • 2. Harsha V Joshi
  • 3. Agenda Overview. AJAX? Why AJAX? AJAX Model. Testing Strategy. Testing ideas. Questions?????.
  • 4. Overview :Web 1.0,Web 2.0/RIA Web Site Data Web Site App App App Data
  • 5. What is AJAX? AJAX is the acronym for A synchronous J avaScript a nd X ML. The purpose is to create more dynamic and responsive web pages. It is also about building web clients in a Service Oriented Architecture that can connect to any kind of server: J2EE, PHP, ASP. Net etc. AJAX involves existing technology & standards: JavaScript and XML. Page view displayed in a web browser retrieves data or markup fragments from a service and refreshes just a part of the page. AJAX is non-trivial, it requires deep and broad skills in web development ...... but the benefits to be gained can be huge compared to classic web applications. AJAX enables major improvements in responsiveness and performance of web applications, e.g. used at G-Mail,Google suggests,Google Maps. AJAX is NOT hype – it is very real and very useful for highly interactive applications.
  • 6. Why to Switch to AJAX Approach Because it addresses - Asynchronous communication with server Rich User Interface Features Highly interactive application Increased Productivity Required low bandwidth SOA compliant Enables collaborative applications Open standards Open source Compatible with existing web development technologies
  • 7. Conventional E-docket Phase1 Application Without AJAX Drawback: This model can not handle effectively asynchronous multiple requests from different panels of the screen residing on the dashboard. Result: Poor performance in transaction turn around time, Poor interactivity & Low usability. Web Sever Web services, Business Logic JSON Response Server-side systems JSON request Data Store, Business Logic XML Server XML XML Browser client User Interface
  • 8. E-docket phase2 Application with AJAX Advantage: This model provides ‘Rich client’, ‘Handling asynchronous calls’ effectively, ‘Excellent transaction performance’. User Interface Web Sever Web services, Business Logic JSON Response JSON data Server-side systems Browser client E-docket phase2 Application Model with AJAX AJAX Engine JSON request Javascript call Data Store, Business Logic XML Server XML XML
  • 9. Test Strategy 1. In the area of functional testing: Test the pillars – Here we can test all the field & form level validations like: Mandatory fields - are they really mandatory. Invalid data input – enter text for a field that is supposed to accept numbers only. Test field dependency – city field becomes mandatory if you select data for country field. Check the validation fired upon Submit / Save – any event that is supposed to pick data from the form and send it to server. SQL Keyword test ideas – Enter the following special characters into the field: Comma (,). Semi Colon (;) Apostrophe (‘). Double Dash / Hyphen (--). Ampersand (&). Forward Slash (/). Asterisk (*).
  • 10. Test Strategy contd….. 2. In the area of performance testing Download time is critical. Download time is the time taken by application to download a page along with its links and images on the browser screen.  To simulate maximum no of asynchronous requests. 3. Usability Testing We need to measure the utilized bandwidth. This can be done using tools Http watch and Ethereal We need to test whether while doing partial page updates UI is persistent and predictable. If multiple asynchronous requests are simultaneously done, then how screen updation is happening in parallel and priority wise.
  • 11. Test Strategy contd….. 4. Installation/Compatibility Testing  This is new approach and need to be tested on all browsers. Some browsers behave strangely with xml. In such cases JSON is used for data transfer. So here challenge is how application behaves in such a browser. We have an option to disable JavaScript in browser settings. Heart of AJAX is JavaScript. So it is required to test how application responds in different browsers where JavaScript option is disabled. 5. Security Testing To check whether any secret data is passing through the form. Test cases should include conditions for testing whether data apart from that required by server is also sent to server. This can be easily done if a particular Security policy is build for applications. While doing testing we can verify it with un expected inputs.
  • 12. Test Strategy contd….. 6. Scalability Testing  For AJAX applications improves server resources footprint. By doing scalable testing (few rounds) we can come up with optimum server configuration.  7. Reliability Testing  Few conditions can be included for Failure and recovery testing w.r.t. Web services, Backend server, Network, etc.
  • 13. Test Ideas Test for timeout of active session. Test for number of users that can login at a time. Any actions under which users is thrown out of a system. Try accessing a secured page from a bookmark. Test the ‘remember me’ or ‘remember my user name’ options. Test the ‘login automatically’ functionality. Test the URL for passing variables directly. Test the URL for session ID display. Test if the same user logs in twice, the session id for each login is unique. Test if the static part of session ID are easily recognizable. Test than no sensitive information is passed as clear text in session ID.
  • 14. Resources/External Links AJAX Communities on Orkut. Java.sun.com/developer/technicalArticles/J2EE/AJAX/DesignStrategies. Adaptivepath.com. W3schools.com Wikis.
  • 15.  
  • 16. Thank You! Happy Valentines Day!!!!!