Comprehensive Approach for Cross Compatibility Testing of Website
Total Page:16
File Type:pdf, Size:1020Kb
National Workshop-Cum-Conference on Recent Trends in Mathematics and Computing (RTMC) 2011 Proceedings published in International Journal of Computer Applications® (IJCA) Comprehensive Approach for Cross Compatibility Testing of Website Sanjay Dahiya1, Ved Parkash1, T.R. Mudgal2 1Lecturer, Deptt. of CSE, CDLM Govt. Engineering College, Panniwala - Mota (Sirsa) (Haryana) 2Lecturer, Deptt. of Physics, CDLM Govt. Engineering College, Panniwala - Mota (Sirsa) (Haryana) ABSTRACT testing and automated testing tools are extremely helpful in the testing Developing a website is one of the most challenging processes in of website with all dimensions. computer science and the instant worldwide audiences of any Web Browser Enabled Application make its quality and reliability crucial 2. GENERAL DIMENSIONS OF WEBSITE factors in its success. But the technical complexities of a website and QUALITY & RELIABILITY: variances in the browsers, operating systems, and devices make testing There are many dimensions of quality; each measure will pertain to a and quality control much more difficult and in some ways, more subtle, particular website in varying degrees. Here are some common measures than "conventional" client/server or non-web application. So which [2]: configuration should we test for our website, become a major ongoing Timeliness: websites change often and rapidly. How much challenging effort. Automated testing of websites is an opportunity and has a website changed since the last upgrade? How do we a challenge. The aim of this paper is to discuss the parameters that a highlight the parts that have changed? website should meet before its launching worldwide and suggest some cross browsers automated testing tools which help in website testing on Structural Quality: How well do all of the parts of the website various browsers, operating systems, and devices and meet technical hold together? Are all links inside and outside the website needs for assuring website quality. working? Do all of the images work? Are there parts of the website that are not connected?[3] Keywords: Web-testing, Web-browser, Web quality and reliability, Client/Server, Content: Does the content of critical pages match what is Compatibility Testing. supposed to be there? Do key phrases exist continually in highly-changeable pages? Do critical pages maintain quality 1. INTRODUCTION: content from version to version? What about dynamically Web testing is the name given to software testing that focuses on web generated HTML /DHTML pages? applications. Comprehensive testing of a web-based system before going live can help address issues before the system is revealed to the Accuracy and Consistency: Are today's copies of the pages public. Generally the websites are essentially client/server applications downloaded the same as yesterday's? Close enough? Is the with web servers and „browser‟ clients. Consideration should be given data presented to the user accurate enough? How do we to the interaction between html pages, TCP/IP communications, Internet know? connections, firewalls, application that run in web pages (such as applet, Response Time and Latency: Does the Website server JavaScript, plug-in application), and applications that run on the server respond to a browser request within certain performance side (such as cgi script, database interfaces, logging applications, parameters? In an e-commerce context, how is the end-to-end dynamic page generators, asp etc.)[5]. Web testing is done for 3 tier response time after a SUBMIT? Are there parts of a site that applications (developed for Internet/Intranet/Extranet). Here we will be are so slow the user discontinues working? [3] having browser, web server and Data Base server. The applications accessible in browser would be developed in HTML, DHTML, XML, Performance: Is the Browser --> Web --> ebSite --> Web --> JavaScript etc. Applications for the web server would be developed in Browser connection quick enough? How does the Java, ASP, JSP, VBScript, JavaScript, Perl, Cold Fusion, PHP performance vary by time of day, by load and usage? Is etc.[5][7]. All the manipulations are done on the web server with the performance adequate for e-commerce applications? Taking help of these programs developed. The Data Base-server would be 10 minutes -- or maybe even only 1 minute -- to respond to an having oracle, SQL server, Sybase, my-sql etc. All data is stored in the e-commerce purchase may be unacceptable! database available on the Data Base server. Also the issues such as the security of the web application, the basic 3. PARAMETERS OR WEB TESTING functionality of the site, its accessibility to users as well as readiness for expected traffic and number of users and the ability to survive a massive CHECKLIST THAT A WEBSITE MEET spike in user-traffic, Here we will discuss some parameters that a website should meet in its life span in concerned of its quality and reliability, both of which are related to load testing. One of the most challenging so that websites fulfill its objectives. processes is testing the site in wide array of different browser, operating systems, and devices. Gone are the days where all we needed to test in 3.1 Functionality Testing test for all the links in web was IE and Netscape, for displaying resolution of 600*800 via window pages, database connection, forms used in the web pages for submitting 98. Now we are taking dozens of browsers, handful operating systems, or getting information from user, Cookie testing [2]: and a mix of monitor resolutions [8]. With a wide variety of servers, Check all the links: browsers, operating systems and different devices, website Test the outgoing links from all the pages from specific domain under test. Test all internal links. Testing can become a major ongoing effort. So which dimensions Test links jumping on the same pages. should we test for our website is very challenging task. It is not possible Test links used to send the email to admin or other users from for us to test all the quality dimensions of the website manually. web pages. Therefore, automated testing plays a very important role in website Test to check if there are any orphan pages. 11 National Workshop-Cum-Conference on Recent Trends in Mathematics and Computing (RTMC) 2011 Proceedings published in International Journal of Computer Applications® (IJCA) Lastly in link checking, check for broken links in all above- browser compatibility testing of our web application. Test web mentioned links. application on different browsers like Internet explorer, Firefox, Test forms in all pages: Forms are the integral part of any Netscape navigator, AOL, Safari, Opera browsers with different web site. Forms are used to get information from users and to keep versions [3]. interaction with them. So what should be checked on these forms? [3] OS compatibility: Some functionality in our web First check all the validations on each field. application may not be compatible with all operating systems. All new Check for the default values of fields. technologies used in web development like graphics designs, interface Wrong inputs to the fields in the forms. call like different API‟s may not be available in all Operating Systems. Options to create forms if any, form delete, view or modify Test our web application on different operating systems like Windows, the forms. UNIX, MAC, Linux and Solaris with different OS flavors. Cookies testing: Cookies are small files stored on user Mobile browsing: This is a new technology era. So in machine. These are basically used to maintain the session mainly login future Mobile browsing will rock. Test web pages on mobile browsers. sessions. Test the application by enabling or disabling the cookies in our Compatibility issues may be there on mobile. browser options. Test if the cookies are encrypted before writing to user Printing options: If we are giving page-printing options machine. If we are testing the session cookies (i.e. cookies expire after then make sure fonts, page alignment and page graphics getting printed the session‟s ends) check for login sessions and user stats after session properly. Pages should be fit to paper size or as per the size mentioned end. Check effect on application security by deleting the cookies. in printing option. Validate our HTML/CSS: If we are optimizing our site for Search engines then HTML/CSS validation is very important. 3.5 Performance testing: Web application should Mainly validate the site for HTML syntax errors. Check if site is sustain to heavy load. Web performance testing should include Web crawlable to different search engines. Load Testing and Web Stress Testing. Test application performance on Database testing: Data consistency is very important in different internet connection speed. web application. Check for data integrity and errors while we edit, Web load testing: Test if many users are accessing or delete, modify the forms or do any DB related functionality. Check if all requesting the same page. Can system sustain in peak load times? Site the database queries are executing correctly, data is retrieved correctly should handle many simultaneous user requests, large input data from and also updated correctly. More on database testing could be load on users, Simultaneous connection to DB, heavy load on specific pages etc. Database; we will address this in web load or performance testing ] Stress testing: Generally stress means stretching the system below [2 . beyond its specification limits. Web stress testing is performed to break the site by giving stress and checked how system reacts to stress and 3.2 Usability Testing: how system recovers from crashes. Stress is generally given on input fields, login and sign up areas Test for navigation: Navigation means how the user surfs . the web pages, different controls like buttons, boxes or how user using the links on the pages to surf different pages. Usability testing includes: 3.6 Security Testing: Following are some test cases for Web site should be easy to use.