期刊文献+

基于Selenium的Web自动化测试解释器 被引量:4

Web Automatic Test Inerpreter Based on Selenium
下载PDF
导出
摘要 Selenium自动化测试工具在测试领域已经被广泛应用.使用时它需要依赖其它编译器或解释器才能执行测试.一方面让测试人员需要熟练的编程技术才能使用,另一方面让测试开发难度过高.为了降低自动化测试门槛,针对Web自动化测试设计了一种基于Selenium的解释器.首先深入剖析Selenium的测试原理,依据它测试接口的使用状况对主要的测试类构建依赖关系,然后根据Web程序的测试需求构建解释器的各个模块.参照编程人员的编码习惯和参考Python、JQuery等语法对每个模块的语法详细设计.最后设计一个具体的测试用例对解释器进行评价.实验结果表明,该解释器克服了使用Selenium门槛高的缺点,让编写的测试脚本更加简短整洁,测试性能也有明显的提高. Selenium automated testing tools have been widely used in the field of testing. In the scenario, they need to rely on other compilers or interpreters to perform tests. On the one hand, testers need sophisticated programming skills to use the tools, and on the other hand, test development is too difficult. In order to reduce the automation test threshold, an interpreter based on Selenium is designed for Web automated testing. Firstly, it analyzes the testing principle of Selenium,and builds dependencies on the main test classes based on the usage of the test interface, and then constructs the modules of the interpreter according to the testing requirements of the Web program. For detailed design of each module’s syntax,we referred to the programmer’s coding conventions, Python, JQuery, and other syntax. Finally, a specific test case is designed to evaluate the interpreter. The experimental results show that the interpreter overcomes the disadvantages of using Selenium’s high threshold, makes the written test script more concise and cleaner, and the test performance has also been significantly improved.
作者 沈大框 黄永锋 罗保国 SHEN Da-KuangL, HUANG Yong-Feng1, LUO Bao-Gup2(1.Computer Science and Technology Academy, Donghua University, Shanghai 201620, China;2.Institute of Software, Chinese Academy of Sciences, Beijing 100190, China)
出处 《计算机系统应用》 2018年第11期51-56,共6页 Computer Systems & Applications
关键词 解释器 SELENIUM WEB 自动化测试 interpreter Selenium Web automated testing
  • 相关文献

参考文献5

二级参考文献52

  • 1杜吉伟.自动化测试的未来[J].电子技术(上海),2005,32(10):80-80. 被引量:3
  • 2肖卓朋,黄金水,高其胜.ASP中登录验证及分析[J].广西轻工业,2007,23(7):61-61. 被引量:1
  • 3http://www.webinject.org/.
  • 4https://wstest.dev.java.net/.
  • 5http://www.soapui.org.
  • 6http://www.pushtotest.com.
  • 7http://www.webservices.org/highlights/optimyz_launches_web-servicetester_3_0_a_web_services_testing_and_diganostics_so-lution/(go)/Articles.
  • 8http://www.adventnet.com.cn/products/qengine/web-ser-vices-testing.html.
  • 9Brenner D,Atkinson C.et al.Strategies for the Run-Time Tes-ting of Third Party Web Services[C]∥IEEE International Con-ference on Service-Oriented Computing and Applications(SOCA’07).June 2007:114-121.
  • 10Sinha A,Paradkar A.Model Based Functional Conformance tes-ting of web services operating on persistent data[C]∥Procee-dings of the 2006workshop on Testing,analysis,and verificationof Web services and applications.ACM,New York,NY,USA,2006:17-22.

共引文献50

同被引文献15

引证文献4

二级引证文献9

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部