Abstract
Traditional testing techniques are not adequate for Web-based applications. Nowadays, Web applications depend more and more on the back-end database to provide much more functionalities. Additionally, database interactions make a great impact on the navigation of Web applications. In this paper, we propose an event-based dependence graph models (EDGMs) to model and extracting database interactions in Web applications. A FSM was used as a tool to model the presentation (.aspx) of Web page. And Control Flow Graph (CFG) and Database Interaction Flow Graph (DIFG) are employed to extracted and model its corresponding logical process (.cs) of each corresponding page. From the EDGMs, a FSM test-tree (FSM-TT) was constructed. Based on FSM-TT, the test sequences were generated. At last, by elaborating the test sequences with the FSMs of Web pages, we got the more detailed test sequences which can be easily instantiated and test executed.
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
Supported by National High-Technology Research and Development Program (863 Program) of China under grant No. 2007AA01Z144, National Natural Science Foundation of China (NSFC) under grant No. 60673115 and 60433010, National Grand Basic Research Program (973 Program) of China under grant No. 2007CB310800, the Research Program of Shanghai Education Committee under grant No. 07ZZ06 and Shanghai Leading Academic Discipline Project, Project Number: J50103.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
Ngo, M.N., Tan, H.B.: Applying static analysis for automated extraction of database interactions in web applications. Inf. Softw. Technol. 50(3), 160–175 (2008)
Ngo, M.N., Tan, H.B., Trinh, D.: Automated Extraction of Database Interactions in Web Applications. In: Proceedings of the 14th IEEE international Conference on Program Comprehension, pp. 117–126. IEEE Computer Society, Washington (2006)
Esposito, D.: Programming Microsoft ASP.NET 2.0 Core Reference. Microsoft Press (2005)
Lanubile, F., Visaggio, G.: Extracting Reusable Functions by Flow Graph-Based Program Slicing. IEEE Transactions on Software Engineering 23(4), 246–259 (1997)
Andrews, A., Offutt, J., Alexander, R.: Testing Web Applications by Modeling with FSMs. Software and Systems Modeling (2004)
Dargham, J., AI-Nasrawi, S.: FSM Behavioral Modeling Approach for Hypermedia Web Applications: FBM-HWA Approach. In: Proceedings of the Advanced International Conference on Telecommunications (AICT/ICIW 2006), French, pp. 199–204 (2006)
Lucca, G.A.D., Penta, M.D.: Considering Browser Interaction in Web Application Testing. In: Proceedings of the 5th IEEE International Workshop on Web Site Evolution, New York, USA, pp. 74–81. IEEE Press, Los Alamitos (2003)
Miao, H., et al.: Modeling Web Browser Interactions Using FSM. In: Proceedings of the 2nd IEEE Asia-Pacific Service Computing Conference, pp. 211–217 (2007)
Song, B., Miao, H., Chen, S.: Modeling Web Browser Interactions and Generating Tests. In: Proceding of the fourth International Conference on Computational Interlligence and Security (CIS 2008), vol. 2, pp. 399–404 (2008)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2009 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Song, B., Miao, H., Zhu, B. (2009). Extracting Database Interactions and Generating Test for Web Applications. In: Lee, R., Hu, G., Miao, H. (eds) Computer and Information Science 2009. Studies in Computational Intelligence, vol 208. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-01209-9_19
Download citation
DOI: https://doi.org/10.1007/978-3-642-01209-9_19
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-01208-2
Online ISBN: 978-3-642-01209-9
eBook Packages: EngineeringEngineering (R0)