会员体验
专利管家(专利管理)
工作空间(专利管理)
风险监控(情报监控)
数据分析(专利分析)
侵权分析(诉讼无效)
联系我们
交流群
官方交流:
QQ群: 891211   
微信请扫码    >>>
现在联系顾问~
热词
    • 1. 发明申请
    • A METHOD AND SYSTEM TO AUTOMATICALLY TESTING A WEB APPLICATION
    • 一种自动测试WEB应用程序的方法和系统
    • WO2012019639A1
    • 2012-02-16
    • PCT/EP2010/061577
    • 2010-08-10
    • INTERNATIONAL BUSINESS MACHINES CORPORATIONCOMPAGNIE IBM FRANCESCOTTI, AlessandroCARTERI, FrancescoPINZAUTI, FlavioLAZZARO, Luca
    • SCOTTI, AlessandroCARTERI, FrancescoPINZAUTI, FlavioLAZZARO, Luca
    • G06F11/36H04L12/26
    • G06F11/3692G06F11/3688H04L67/02
    • A method and system for automatically testing a web application running inside a web browser. Pieces of test code are included in the web application code. An HTTP server provides a test service to the web application instrumented with test code. Through an API interface, the test code requests to the HTTP server that user inputs be simulated and sent to the browser. The HTTP server generates simulated system events (mouse clicking, keyboard entry etc..) corresponding to the user input and send them to the browser. The browser processes the system events for the web application as usual. In this way the test code will check the data structure (objects) of the web application and the entire environment of the web application will be included as well. When checking the good processing of an object by the web application, the web application test code can request the HTTP server to store and retrieve an object (JSON formatted for instance) in and from a Repository. The test code will compare the object status before and after web application processing to check correct execution.
    • 一种用于自动测试在Web浏览器中运行的Web应用程序的方法和系统。 测试代码片段包含在Web应用程序代码中。 HTTP服务器为测试代码检测的Web应用程序提供测试服务。 通过API接口,测试代码向HTTP服务器请求模拟用户输入并发送到浏览器。 HTTP服务器生成与用户输入相对应的模拟系统事件(鼠标点击,键盘输入等)并将其发送到浏览器。 浏览器照常处理Web应用程序的系统事件。 以这种方式,测试代码将检查Web应用程序的数据结构(对象),还将包括Web应用程序的整个环境。 当通过Web应用程序检查对象的良好处理时,Web应用程序测试代码可以请求HTTP服务器在Repository中存储和检索对象(例如,JSON格式化)。 测试代码将比较Web应用程序处理之前和之后的对象状态,以检查正确的执行。