Test Path Identification for Virtual Assistants Based on a Chatbot Flow Specifications

  • Mani PadmanabhanEmail author
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 1057)


The development of the Internet provides opportunities for new types of communications between virtual assistant and human. The technology which is mainly used in the communications is chatbot. A chatbot is a simulated computer program that enabled human conversation by the Internet. The virtual assistant is currently used for a variety of purposes. The chatbot database flow is the important activity for the development of software for the virtual assistant. The process of chatbot testing is based on the well-formalized test cases. The test cases are based on the chatbot trace in the database. Trace path identification during the development of the chatbot software is the challenging process. This paper presents the methodology to identify the test cases for virtual assistant using chatbot database flow-oriented specification. Chatbot database flow is one of the few specification languages supporting for formal description into an applied specification. The database specification divided into several of specification trace using the proposed algorithm. Finally, the chatbot intent trace has provided the path for software test case generation. The experiments show trace path-based test cases that have yielded the effective coverage criteria in the chatbot software development.


Validation Software testing Internet of things Real-time systems 


  1. 1.
    Andrade, L., Machado, L.: Generating test cases for real-time systems based on symbolic models. IEEE Trans. Softw. Eng. 39(9), 1216–1229 (2013)CrossRefGoogle Scholar
  2. 2.
    Adam, D., Nojan, N., Marios, F., Marin, L.: Chatbots as assistants: an architectural framework. In: Proceedings of the 27th Annual International Conference on Computer Science and Software Engineering, Nov 2017, pp. 76–86Google Scholar
  3. 3.
    Jee, E., et al.: Automated test case generation for FBD programs implementing reactor protection system software: automated test case generation for FDB programs. Softw. Testing Verification Reliab. 24(8), 608–628 (2014)CrossRefGoogle Scholar
  4. 4.
    Chen, M., Mishra, P., Kalita, D.: Efficient test case generation for validation of UML activity diagrams. Des. Autom. Embed. Syst. 14(2), 105–130 (2010)CrossRefGoogle Scholar
  5. 5.
    API.AI.: What is API.AI. (2018)
  6. 6.
    Mani, P., Prasanna, M.: Test case generation for embedded system software using UML interaction diagram. J. Eng. Sci. Technol. 12(4), 860–874 (2017)Google Scholar
  7. 7.
    Shahbazi, A., Miller, J.: Black-box string test case generation through a multi-objective optimization. IEEE Trans. Softw. Eng. 42(4), 361–378CrossRefGoogle Scholar
  8. 8.
  9. 9.
    Abdul Khalek, S., Elkarablieh, B., Laleye, Y.O., Khurshid, S.: Query-aware test generation using a relational constraint solver. In: Proceedings in IEEE/ACM International Conference on Automated Software Engineering, May 2008, pp. 238–247Google Scholar
  10. 10.
    Gupta, S., Bhatia, R.: Testing functional requirements using B model specifications. In: ACM SIGSOFT Software Engineering Notes, vol. 35, no. 2, pp. 1–8 (2010)CrossRefGoogle Scholar
  11. 11.
    Mani, P., Prasanna, M.: Validation of automated test cases with specification path. J. Stat. Manage. Syst. Issue Mach. Learn. Softw. Syst. 20(4), 535–542 (2017)CrossRefGoogle Scholar
  12. 12.
    Wang, H., Xing, J., Yang, Q., Song, W., Zhang, X.: Generating effective test cases based on satisfiability modulo theory solvers for service-oriented workflow applications: effective test cases for service-oriented workflow applications. Softw. Testing Verification Reliab. 26(2), 149–169 (2016)CrossRefGoogle Scholar
  13. 13.
    Mall, R.: Fundamentals of Software Engineering, 3rd edn. PHIGoogle Scholar
  14. 14.
    Beizer, B.: Software Testing Techniques. International Thompson Computer Press, London (1990)zbMATHGoogle Scholar
  15. 15.
    Ghiduk, A.S.: Automatic generation of basis test paths using variable length genetic algorithm. Inf. Process. Lett. 114(6), 304–316 (2014)MathSciNetCrossRefGoogle Scholar

Copyright information

© Springer Nature Singapore Pte Ltd. 2020

Authors and Affiliations

  1. 1.Faculty of Computer Applications, SSLVellore Institute of Technology (VIT)VelloreIndia

Personalised recommendations