SOFTWARE TESTING
WEB-APPLICATION WEB-APPLICATION TEST REPORT FOR THE ONLINE SHOPPING STORE – INFIBEAM
Report by – Madhumita Sharma (Y09UC245) Ritika Sharma(Y09UC272) Ruchi Bhatnagar(Y09UC276) Ruchita Jain (Y09UC277)
ABSTRACT This report is written with the aim of reporting the test results of the various webapplication tests performed on the online shopping store - www.inficom.com . We have performed Functionality, Performance, Usability and Compatibility Testing on the targeted web-application to test its performance from different perspectives and under different situations.
INTRODUCTION Software testing is a critical component of the software development cycle. A software that does not work as expected can lead to a lot of problems like loss of money, loss of time and loss of reputation to name a few. This becomes even more important for a web-application. The modern website is a complex mix of technologies designed to provide a streamlined user experience. This user experience must be presented across a variety of platforms including a myriad of web browsers and mobile devices. To help ensure that a website is of a high caliber on all levels, various web application testing methodologies should be incorporated to find weaknesses in usability, functionality, performance, and browser compatibility. Further sections include the various tests performed on the website – www.infibeam.com , results and their analysis.
Web-Application under Test – INFIBEAM.com
Figure 1 - A snapshot of the homepage of www.infibeam.com
Infibeam.com is an online shopping destination in India that claims to make your shopping an unforgettable one. Infibeam.com stores a range of products like Books, Mobile phones, Computers and Accessories, Cameras, Watches, Health Equipments, Apparel, Combo Gifts and much more. They claim to make it easy to search products by city, price, brand, color and other product specific features. The team Infibeam claims to make your online shopping easy & fun with a user-friendly shopping interface. Select products, finish your order procedure in just 4 steps and get the product delivered at your door. Isn`t that an easy way to bask in the envious stares of your neighbors? Yes, it is but lets first test if the website is efficient enough to do what the enterprise claims by applying some standard tests by using various Software Testing Tools.
TESTS PERFORMED The following text mentions the various tests that have been p erformed on the webapplication, their results, analysis and the tools used.
1.
FUNCTIONALITY TESTING
The quality of a website is vital to ensure that visitors browsing the site are able to find the information they are looking for and convert to become prospects or customers. Each and every functionality of the website is tested by providing appropriate input, verifying the output and comparing the actual results with the expected results. We performed functionality testing on Infibeam using Badboy. Badboy is an application which makes testing Web applications easier by combining a capture/replay style testing tool with live diagnostics on the activities your browser is performing while you navigate through a website. Following are the results for various actions done during the navigation of the site by Badboy.
Figure 2 – Response time for opening Infibeam.com
Figure 4.1 – Response time for search result
Figure 3 – Response time for for opening login page
Figure 4.1 – Response time filling details to buy
2.
PERFORMANCE TESTING
Performance testing is in general testing performed to determine how a website performs in terms of responsiveness and stability under a particular workload. Performance Testing covers Load Testing, Stress Testing and Scalability Testing. We have performed performance testing through various online testing tools. Results of the tests are mentioned in the further text.
Cloud Assault is a platform for API, website, and technology infrastructure testing that uses cloud resources. Cloud Assault provides information on response times, requests, errors, and data transfer speeds. On testing Infibeam on Cloud Assault the following results were obtained.
Figure 5 - Average response time for 5 concurrent connections
Pingdom tracks the uptime, downtime and performance of websites. Pingdom monitors websites from multiple locations globally so that it can distinguish genuine downtime from routing and access problems.
Figure 6 – Average performance grading of Infibeam by Pingdom.com
Figure 7 – Page Sizes and their response times
WebSiteOptimization.com tests page size, composition, and download speed. It recommends speed improvements based on best practices for usability and performance testing.
Figure 8 – Snapshot of the Web Page Speed Report generated by the tester
Figure 9 – Response time for various page objects
Figure 10 – Recommendations and warnings generated
3.
USABILITY TESTING
Usability testing tests the general user-friendliness of the website. Infibeam.com in general is a moderately user-friendly website based on manual testing done by us. Majority of the services provided were clear except a few. The rules and regulations regarding purchase are not very clear which creates a confusion for the users.
4.
COMPATIBILITY TESTING
Compatibility of the website was tested by running it on various web browsers like Google Chrome, Mozilla Firefox, Safari and Internet Explorer.
Figure 11 – Snapshots of Infibeam running in Mozilla Firefox, Google Chrome, Internet Explorer and Safari clockwise from top left
Automation Testing Test automation
is the use of special software to control the execution of tests, the comparison of actual outcomes to predicted outcomes, the setting up of test preconditions, and other test control and test reporting functions.Commonly, test automation involves automating a manual process already in place that uses a formalized testing process. We used Selenium to generate a script to conduct automation testing.
Figure 12 – Snapshot of the script generated
Overall Quality grading of Infibeam by YSlow YSlow analyzes web pages and suggests ways to improve their performance based on a set
of rules for high performance web pages. Feature highlights: Grades web page based on one of three predefined ruleset or a user-defined ruleset; It offers suggestions for improving the page's performance; Summarizes the page's components; Displays statistics about the page;
We performed a similar analysis on the web-application Infibeam. There were various aspects on which it was graded. Some of the parameters of the ruleset are - Use content delivery network, Use cookie free domain, Avoid URL redirects, Do not scale images in HTML, Avoid HTTP 404 (not found) error, etc. Yslow graded the website B (range being A to F) and an overall performance score of 82. The following snapshot shows the grade report generated for the site.
Figure 13 – Grade report generated by Yslow
Figure – 14 Weight Graph
Validation Validation rules help verify that a web application is working correctly by validating the existence of text, tags, or attributes on the page returned by a web request. Validation rules can also verify the amount of time it takes a request to finish, and the existence of form fields and their values. For more information, see Using Validation and Extraction Rules in Web Performance Tests. HTML Validator CSE HTML Validator is for web professionals, webmasters, corporations, government agencies, individuals, teachers, students, non-profit organizations, or anyone with a website.
We have tested the source code of Infibeam on CSE HTML Validator. It performed linkcheck, standard complaint check, etc. It gave results regarding any errors in the code. The following screenshot displays the errors that were reported by the tool.
Figure 14 – List of errors reported
Figure 15 – List errors and warnings in link checking
W3C Link Validator It checks all the URLs of the webpage to check their working and navigation, and suggest action by HTTP Status Code.
Figure 15 – Result showing the count of URLs having robot exclusion and server web problem
Conclusion
The overall performance of the web-application as inferred from the various results given by the different testing tools used is good. Except for a few glitches, the website has a consistent navigation. The functionality (login, forms, adding to cart, buying, etc) can be easily carried out. Considering the various factors like internet connection, hardware, OS, etc, the response time of the website is found satisfactory. The website easy to use except a few inconsistencies like insufficient information and limited resources.