首页> 外国专利> Generating test scenarios using reusable triggers indicating graphical user interface (GUI) elements and actions

Generating test scenarios using reusable triggers indicating graphical user interface (GUI) elements and actions

机译:使用指示图形用户界面(GUI)元素和操作的可重用触发器生成测试方案

摘要

Provided are an article of manufacture, system, and method for generating test scenarios using reusable triggers indicating graphical user interface (GUI) elements and actions. User input is received defining a plurality of triggers for a graphical user interface (GUI) program. Each trigger associates a user GUI action and a GUI object on which the GUI action is performed. Execution of the GUI action on the GUI object defined in the trigger causes a shift in a state of the GUI program from one static state to another, and wherein the defined triggers are enabled for reuse in multiple test scenarios. User input is received indicating a first order of triggers to test a first scenario of operations of the GUI program. The GUI program executes the GUI actions with respect to the GUI objects defined in the triggers in the indicated first order. User input is received indicating a second order of triggers to test a second scenario of operations of the GUI program. The GUI program executes the GUI actions with respect to the GUI objects defined in the triggers in the indicated second order. At least one of the triggers indicated for the second scenario reuses at least one trigger indicated for the first scenario. The triggers defined in the first and second scenarios are executed to test the GUI program.
机译:提供了用于使用指示图形用户界面(GUI)元素和动作的可重用触发器生成测试方案的制造产品,系统和方法。接收用户输入,该用户输入定义了用于图形用户界面(GUI)程序的多个触发器。每个触发器将用户GUI动作与在其上执行GUI动作的GUI对象相关联。在触发器中定义的GUI对象上执行GUI动作会导致GUI程序的状态从一个静态转变为另一种静态,并且其中定义的触发器可在多个测试场景中重用。接收到指示用于测试GUI程序的操作的第一场景的触发器的第一顺序的用户输入。 GUI程序以指示的第一顺序针对在触发器中定义的GUI对象执行GUI动作。接收到指示用于测试GUI程序的第二操作场景的触发器的第二顺序的用户输入。 GUI程序以指示的第二顺序针对在触发器中定义的GUI对象执行GUI动作。为第二场景指示的至少一个触发器重用为第一场景指示的至少一个触发器。执行第一种和第二种情况中定义的触发器以测试GUI程序。

著录项

  • 公开/公告号US8140986B2

    专利类型

  • 公开/公告日2012-03-20

    原文格式PDF

  • 申请/专利权人 NAI YAN ZHAO;

    申请/专利号US20070863143

  • 发明设计人 NAI YAN ZHAO;

    申请日2007-09-27

  • 分类号G06F3/00;G06F3/048;

  • 国家 US

  • 入库时间 2022-08-21 17:27:47

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号