This paper presents a method for testing an e-learning, web based system. System specifications are provided using the UML modelling language and specifically the Sequence, Activity and Class diagrams of UML. These specifications are exported in XMI format which is parsed in order to produce the test cases. The system under consideration in this paper is dotLRN, an open source enterprise-class suite of web applications and portal framework for supporting course management, online communities and collaboration
Testing practices in software engineering constantly evolves due to the complexity of the systems. This has opened the space for new testing methods to try to integrate artificial intelligence with software testing tools. Automation testing refers to the use of strategies and tools which reduce the need for manual or human involvement in redundant and repetitive tasks that tend to cause human errors and then generating and executing automatically test cases. However, while a test scripts is generated, its reuse may be challenging for several reasons. In our Web systems context, a web page may be modified leading to the adaptation of the testing architecture and the eventual rewriting of the test scripts. It becomes time and effort consuming to create generic test cases that can be applied on any website. Websites keep on changing dynamically and the testers need to adapt to these changes each time and alter the test cases. These changes are often made manually or using external scripts. In this paper, we propose an approach allowing the test scripts to automatically adapt to these eventual changes of the web pages by using containers and a learning technique. We defined and implemented an algorithm on a well designed test framework and successfully evaluated our approach on thousands of websites.
Smart systems are today increasingly developed with the number of wireless sensor devices drastically increasing. They are implemented within several contexts throughout our environment. Thus, sensed data transported in ubiquitous systems are important, and the way to carry them must be efficient and reliable. For that purpose, several routing protocols have been proposed for wireless sensor networks (WSN). However, one stage that is often neglected before their deployment is the conformance testing process, a crucial and challenging step. Compared to active testing techniques commonly used in wired networks, passive approaches are more suitable to the WSN environment. While some works propose to specify the protocol with state models or to analyze them with simulators and emulators, we here propose a logic-based approach for formally specifying some functional requirements of a novel WSN routing protocol. We provide an algorithm to evaluate these properties on collected protocol execution traces. Further, we demonstrate the efficiency and suitability of our approach by its application into common WSN functional properties, as well as specific ones designed from our own routing protocol. We provide relevant testing verdicts through a real indoor testbed and the implementation of our protocol. Furthermore, the flexibility, genericity and practicability of our approach have been proven by the experimental results.