Model Driven Testing of Web Applications Using Domain Specific Language

Viet-Cuong Nguyen
2015 International Journal of Advanced Computer Science and Applications  
As more and more systems move to the cloud, the importance of web applications has increased recently. Web applications need more strict requirements in order to sup-port higher availability. The techniques in quality assurance of these applications hence become essential, the role of testing for web application becomes more significant. Model-driven testing is a promising paradigm for the automation of software testing. In the web domain, the challenge however remains in the creation of models
more » ... and the complexity of configuring, launching, and testing big number of valid configuration and testing cases. This paper proposes a solution towards this challenge with an approach using Domain Specific Language (DSL) for model driven testing of web application. Our techniques are based on building abstractions of web pages using domain specific language. We introduce WTML -a domain specific language for modeling web pages and provide automatic code generation with a web-testing framework. This methodology and techniques aim at helping software developers as well as testers to become more productive and reduce the time-to-market, while maintaining high standards of web application quality. Keywords-Domain specific language (DSL); model-driven development; model-driven testing; WTML I. A. Model driven engineering Model-driven engineering (MDE) is a software development methodology, which focuses on creating and exploiting domain models. Models can be perceived as abstract representations of the knowledge and activities that govern a particular application domain. Models are developed though-out various phases of the development life cycle with extensive communication among product managers, designers, developers and users of the application domain. MDE aims to increase productivity by maximizing compatibility between systems, simplifying the process of design and promoting communication between individuals and teams working on the system [3]. The Object Management Group's (OMG) initiatives on MDE contain the Model-driven Architecture (MDA) specification. MDA allows definition of machine-readable applications and data models that enable long-term flexibility with regards to implementation, integration, maintenance, testing and simulation [4] [5] . There are two main modeling classes in MDA:  Platform Independent Models (PIMs): these are models of the structure or functionality, which are independent of the specific technological platform used to
doi:10.14569/ijacsa.2015.060103 fatcat:tmgdvdtmlfdjdmjkugtynu3pqm