Computer Science ›› 2021, Vol. 48 ›› Issue (6A): 568-571.doi: 10.11896/jsjkx.201000139

• Interdiscipline & Application • Previous Articles     Next Articles

Research on Automatic Testing Technology of Model Driven Development Tools

HUANG Shuang-qin1, LIU Ying-bo2, HUANG Xiang-sheng3   

  1. 1 Teaching and Research Support Center,University of Aerospace Engineering,Beijing 101416,China
    2 School of Software Engineering,Tsinghua University,Beijing 100084,China
    3 Institute of Automation,Chinese Academy of Sciences,Beijing 100190,China
  • Online:2021-06-10 Published:2021-06-17
  • About author:HUANG Shuang-qin,born in 1989,postgraduate.Her main research interests include big data,data mining and analysis.
    LIU Ying-bo,Ph.D,assistant research fellow.His main research interests include manufacturing informatization,business process intelligence,industrial big data analysis,product life cycle management and complex equipment service support,etc.

Abstract: The low code platform based on model driven can produce a large number of application systems by writing a small amount of code or without coding,which puts forward higher requirements for the reliability,stability and ease of use of these rapid customization application systems.Testing is an important means to ensure the high quality and reliability of these software.There are two shortcomings in traditional automated testing.One is that the efficiency of obtaining the location information of page elements by manually viewing the source code is very low,the other is that when the page changes frequently,the page element cannot be located,which leads to test failure.The rapid customization of low code platform produces a lot of application systems.The page data of the system is huge and often changes,so the traditional automatic test method is not applicable.By reading the source code of the page from the background database to get the content of the page,this paper analyzes the source code with the depth first search method,obtains the location expression and element type of the whole page element,and carries out automatic test on the form combining with the test data and the URL of the form.For different application systems with different interfaces and functions,an automatic test management system is built to test different application systems,which is well used in practical projects and greatly improves the efficiency.

Key words: Automatic testing, Batch acquisition of positioning information, Model driven

CLC Number: 

  • TP311.5
[1] ELALLAOUI M,NAFIL K,TOUAHNI R,et al.AutomatedModel Driven Testing Using AndroMDA and UML2 Testing Profile in Scrum Process[J].Procedia Computer Science,2016,83:221-228.
[2] FENG G,LI N.Model driven mobile application testing method [J].Computer Science,2017,44(11):232-239,245.
[3] TANG W Z,MO W D.Framework design of domain orientedmodel driven intelligent form system[J].Journal of Beijing University of Aeronautics and Astronautics,2007,33(9):1086-1089.
[4] HOU Z Q.Design and implementation of model driven web form system [D].Beijing:Tsinghua University,2010.
[5] Three data parsing methods of JSON[EB/OL].(2020-05-17).https://blog.csdn.net/oman001/article/details/79063278.
[6] Automated testing-- eight positioning methods and waiting for detailed explanation[EB/OL].(2018-08-13).https://www.cnblogs.com/clairejing/p/9466993.html.
[7] LIU Z H.Design and development of automated testing framework based on webdriver [D].Beijing:Tsinghua University,2016.
[8] CHEN C.Method and implementation of web function automa-tic test based on Keyword Driven [J].Information and Compu-ter,2019(21):76-78.
[9] SHI L S.Design and implementation of automatic test framework based on selenium visualization [D].Beijing:University of Chinese Academy of Sciences,2017.
[10] YANG G X . Research and application of webdriver automated testing [J].Science and Technology Communication,2019,11(2):111-112.
[11] QINH Q.Improvement and application of selenium based automated testing framework [D].Beijing:University of technology,Chinese Academy of Sciences,2014.
[12] LIU J.Construction of selenium webdriver automated testing Framework for websystem [J].Database Technology,2017(21):171-172.
[1] GUO Peng, LI Ya-hui, SUN Lei and CAI Xiao-le. UML Model to Simulink Model Transformation Method in Design of Embedded Software [J]. Computer Science, 2016, 43(2): 192-198.
[2] WU Ying-hong,HUANG Hao and ZENG Qing-kai. Techniques of Distributed Application Access Control Policy Refinement and Policy Conflict Analysis [J]. Computer Science, 2014, 41(3): 1-11.
[3] . Study on Syntax and Semantics Properties of Model Evolution in Model Driven Development [J]. Computer Science, 2012, 39(7): 123-126.
[4] . Research on Modeling and Test Case Generation for UAV Flight Control Software System [J]. Computer Science, 2012, 39(7): 112-118.
[5] . Study on the Formalization of Model Evolution with Model Driven Architecture [J]. Computer Science, 2012, 39(6): 116-119.
[6] LI Jing-xia, YAN Chun-gang. Verification Mechanism for Web Service Composition Based on Extended Colored Petri Net [J]. Computer Science, 2009, 36(10): 146-149.
[7] JIANG Zhe-yuan JIANG Jian-guo (School of Computer and Information, Hefei University of Technology, Hefei 230009, China). [J]. Computer Science, 2008, 35(5): 274-279.
[8] . [J]. Computer Science, 2008, 35(12): 268-272.
[9] HUANG Jing ,LU Yan-Sheng ,XU Li-Ping (school of Computer Science & Technology, Huazhong University of Science & Technology, Wuhan 430074). [J]. Computer Science, 2007, 34(1): 219-222.
[10] . [J]. Computer Science, 2006, 33(4): 260-265.
[11] WU Guang ,ZHAO Jian-Hua,LI Xuan-Dong, ZHENG Guo-Liang (Department of Computer Science and Technology, Nanjing University, Nanjing 210093). [J]. Computer Science, 2006, 33(4): 230-233.
[12] YUAN Liang, LI Xuan-Dong ,ZHAO Jian-Hua, ZHENG Guo-Liang (Department of Computer Science and Technology, Naniing University, Nan]ing 210093). [J]. Computer Science, 2005, 32(12): 112-115.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!