Documente Academic
Documente Profesional
Documente Cultură
Rizwan Haider [060451] Rizwan Ali [060452] Bachelor Software Engineering Air University Islamabad, Pakistan metla12@gmail.com rizwanali89@gmail.com Abstract
Today amount of web application traffic on internet is increasing day by day; the quality of web application becomes serious. The purpose of this document is to discuss testing techniques of web application system and OOAD system. In this we go through the different process area used for testing for both systems, to increase the efficiency, flexibility of development and quality. testing of web application through object oriented approach.
1. Introduction
1.1 Why Testing Important for Web Application and Object Orient?
Today web applications have become the part of our daily lives. We are done online as more and more very important and critical services as bank transaction and tax declaration using web services. So the quality, reliability and dependability are important factors because software bugs and error could block entire businesses and cause major shame for web services providers. Web applications are complex and mixed software, based on several components. Its often written in many different languages and distributed over the Web placed on different locations. Thus, testing of Web applications become a complex task for tester. Software has become a very important and performs complex task today, but often invisible part of our lives. Computers and the internet and telecommunication world have considerably changed our lives. For the near future, we will not have a single notation or process that can cover the mixture of todays development projects. Projects are too different in their application domain, size, need for reliability, time-to-market pressure, and the skills and demands of the project participants.
MAIN THRUST
First we discuss the testing techniques of web application systems and then Object Orient System.
Types of Graphs are defines as: Control Flow Graphs (CFG) are created to show the statements, branches and conditions which together define the flow of control through the code for a distinct function. Inter-procedural Control Flow Graphs (ICFG) represent the control flow through a number of related functions as they call and pass information with each other. Object Flow Graphs (OFG) collect the control flow graphs (ICFG) for all the function calls on an object caused by a user action. Composite Control Flow Graphs (CCFG) are created from the OFG for the code involved in the interaction between two pages, containing all the user input, user commands and state information that is passed between them. From these CFGs, we can get the data flow in form of def-use tables which defines variables and their use.
- Expected state after test which may have changed in accordance to the action requested.
3.1 Compatibility
This test checks the compatibility of the browser. Mostly developers are choice most popular browsers to perform this test. The first step ensures the valid use of standards such as HTML and CSS using markup validation tools. This is easily automated, and must be applied to the final page output. The second is to test on actual web browsers. This testing must be done manually, as the only possible automation would be to make screenshot comparisons, and these would be very prone to error, and have to be updated manually any time a change is made to the code. The test cases for covering compatibility must include -Each individual page -Each possible style sheet
-Expected output actions that have been run as a consequence of the request.
- Any embedded plug-ins (such as Java, Flash) The test cases are compiled in to a checklist which is then run through manually by a tester, at the very least before each release.
A good test platform based on the common hardware owned by the target group should be used to test client side performance. This test is depending on the client side processing. Web applications should be tested for high user loads. Performance while under load from a large amount of users is easily tested by generating a large amount of page requests, and measuring the time required to receive a response. To create reasonable request models, statistics can be pulled from real access logs in order to focus traffic on the most popular pages.
3.2 Performance
Performance depends on these factors:
3.3 Security
Security of web application is done by attempting attacks by malicious users. The most common attacks are easy to generate automatically are: Cross-site scripting SQL injection and Buffer overflows This can be done by an automatic spider program which visits all the pages on the site and attempts to develop them.
3.4 Usability
Usability of a site is totally-dependant on your target addressees. Beginners will need time to navigate complex structures than advanced users. Client target specifications are like Graphical and HTML Optimizations for Performance, Target Display Resolution and Target Color Depth. Ex: Simple Look and Feel (Google.com)
5.
6.
Then test every cluster identified in the previous step (a cluster is a group of software units collaborating among them). In this case cluster is treating as a big-unit. Then merge eFCGs the same cluster to define the functional test cases and then to write scripting code using the XUnit tools. Then we test the whole integrated cluster. In the last step of OTMW performs whole system testing. Using the UML we build a graphs which contains only high level information to describes the application as a graph. This graph composed of nodes and edges. Nodes representing pages and edges representing links existing on pages. Using this graph, we perform some random walks paths to pass through the graph and to simulate user navigations using a set of sequences of URLs randomly generated based on the graph coverage.
5.0. Conclusion
This paper is presents the test techniques of Web Application. And which techniques make the web testing form the OO testing. Today web application and web services over the internet become the heart of internet. So the testing of web application is very important.
6.0. References
[1] Chien-Hung Liu David C. Kung Pei Hsia: ObjectBased Data Flow Testing of Web Applications, IEEE, 2000 [2] Giuseppe A. Di Lucca, Anna Rita Fasolino, Francesco Faralli, Ugo De Carlini: Testing Web Applications, IEEE, 2002 [3] Christian, Baron Testing web applications [4] Marchetto, Trentini "A framework for Web Applications Testing through Object Oriented approach and XUnit tools"