{"title":"动态测试Web应用程序的方法","authors":"Liping Li, Zhong-sheng Qian, Tao He","doi":"10.1109/ICMECG.2009.128","DOIUrl":null,"url":null,"abstract":"This work proposes an on-the-fly testing approach for Web applications based on automaton theory. Web applications and test directives which are used to select test cases are modeled by FSM (Finite State Machine). Synchronous product is used to combine these two kinds of FSMs in order to check whether the SUT (System Under Test) includes the behavior expressed by the test directive. Test cases are generated automatically as the synchronous product of the specification and the test directive is constructed on-the-fly. For illustration, a case study of the WGSS (Web Grade Submit System) is exemplified. This approach can avoid the state-explosion problem through building a small portion of state space of Web applications before a test case is generated.","PeriodicalId":252323,"journal":{"name":"2009 International Conference on Management of e-Commerce and e-Government","volume":"144 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2009-09-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"An Approach to Testing Web Applications On-The-Fly\",\"authors\":\"Liping Li, Zhong-sheng Qian, Tao He\",\"doi\":\"10.1109/ICMECG.2009.128\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"This work proposes an on-the-fly testing approach for Web applications based on automaton theory. Web applications and test directives which are used to select test cases are modeled by FSM (Finite State Machine). Synchronous product is used to combine these two kinds of FSMs in order to check whether the SUT (System Under Test) includes the behavior expressed by the test directive. Test cases are generated automatically as the synchronous product of the specification and the test directive is constructed on-the-fly. For illustration, a case study of the WGSS (Web Grade Submit System) is exemplified. This approach can avoid the state-explosion problem through building a small portion of state space of Web applications before a test case is generated.\",\"PeriodicalId\":252323,\"journal\":{\"name\":\"2009 International Conference on Management of e-Commerce and e-Government\",\"volume\":\"144 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2009-09-16\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2009 International Conference on Management of e-Commerce and e-Government\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICMECG.2009.128\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2009 International Conference on Management of e-Commerce and e-Government","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICMECG.2009.128","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
摘要
本文提出了一种基于自动机理论的Web应用程序动态测试方法。用于选择测试用例的Web应用程序和测试指令由FSM(有限状态机)建模。同步产品用于组合这两种fsm,以检查SUT (System Under Test)是否包含测试指令所表达的行为。测试用例作为规范的同步产品自动生成,并且测试指令是动态构建的。为了说明这一点,本文以WGSS (Web Grade submission System)为例。这种方法可以通过在生成测试用例之前构建Web应用程序的一小部分状态空间来避免状态爆炸问题。
An Approach to Testing Web Applications On-The-Fly
This work proposes an on-the-fly testing approach for Web applications based on automaton theory. Web applications and test directives which are used to select test cases are modeled by FSM (Finite State Machine). Synchronous product is used to combine these two kinds of FSMs in order to check whether the SUT (System Under Test) includes the behavior expressed by the test directive. Test cases are generated automatically as the synchronous product of the specification and the test directive is constructed on-the-fly. For illustration, a case study of the WGSS (Web Grade Submit System) is exemplified. This approach can avoid the state-explosion problem through building a small portion of state space of Web applications before a test case is generated.