freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

石門縣地震局?jǐn)?shù)據(jù)處理系統(tǒng)的設(shè)計(jì)與應(yīng)用畢業(yè)論文-資料下載頁

2025-06-28 16:05本頁面
  

【正文】 g Java Swingbased applicationAbstract— A Common method for GUI testing is the Capture and Replay (CR) technique. While monly used this technique can not be used until an Application Under Test (AUT) is pletely developed. In this paper we propose a specificationdriven approach to test GUIBased java programs as an alternative to the CR technique. We introduce a GUIevent test specification language based on XML from which an automated test engine is generated. The popularity of XML as a scripting language, its ease of use and its standard format have made writing a test script using our proposed specification language an easy task. Beside the ability to test AUT before being pletely developed we have implemented a visual editor that can generate the test specification file for an already existing AUT. The engine generates GUI events and captures event responses to automatically verify the results of the test cases which are written to a test log file. This approach supports Nversion testing, where each version of the application is intended to satisfy the same specification. Index Terms— GUI Testing, Testing Tools, XML, Graphical User Interfaces.I. INTRODUCTIONGRAPHICAL User Interface (GUI) has bee an important and accepted way of interacting with software leading to more and more plex GUIs. Although they make software easy to use from user’s perspective, they plicate the challenges in testing the correctness of a GUI [1].The main challenge is that GUIBased programs are eventdriven, where an event is triggered when the user interacts with the program through GUI, Common user interactions include moving or clicking the mouse, selecting a graphic object, typing into a text field, or closing a window. The fundamental difference between eventdriven programs and datadriven programs plicate test automation. Simple test automation involving input or output redirection that is adequate for datadriven programs will not suffice for GUIbased testing which requires a bination of data and event stimuli. Special tools are needed to simulate inputs and user actions that occur through the graphical user interface [2].With the monly used CR tools, a test designer interacts with the GUI of the AUT and all the events are recorded in a test script. The test script can later be replayed by the CR tool to recreate user interactions. CR tools are effective in savingthe development time of GUI test programs。 however, a deficiency of CRbased technologies is that test scripts can not be generated before an AUT is ready for testing. Thus, the captured test scripts are more of a description of the system behavior than a system specification. It may also be difficult to maintain, when the system specification , testfirst programming can never be applied with CR tools, since nothing can be captured in advance [3].Therefore, there are researches studying specification based approaches for GUI testing (., [4]). These researches aim at defining GUI specification languages for the definition of system behavior and then generate test scripts based on the specification languages. The test scripts written in these specification languages can be automatically executed to perform verification of the AUT [3].Jemmy library is an open source Java library [5] , It contains methods to reproduce all user actions that can be performed on Swing/AWT GUI ponents, such as pushing buttons or typing text. The reflection API is used to identify and access GUI ponents defined inside the software under test, it permits the development of a test harness capable of generating applicationspecific GUI events, capturing the responses to the events, and verifying correct behavior.In this paper, we make the following contributions. We worked on the specification language used for testing in the current state of the art to be written as XML which provide the specification language with standardized format, ease of use and small learning time. Since specification language is made fully XML pliant, it takes advantage of existing XML development tools such as XMLSPY 2007, an XML editor for modeling, editing, transforming, and debugging XML technologies [6].Next we provide a generator that converts test specification written in XML into a program that uses Jemmy to generate events that implement user test cases given in specification script. The generator also contains a test oracle to verify that correct response occur and produce a log file for the given test script.Then we provide a visual editor to automatically generate specification script from an already existing AUT to help test designer to test already existing applications as he has only to edit the user actions to be executed and its expected states using a visual tree structure.The rest of the paper is organized as follows. Section 2 describes related researches and tools. Section 3 describes the architecture of our tool Java GUI Testing Framework (JGTF). Section 4 introduces the specification language written in XML. Section 5 shows the applicability of our tool by testing a simple GUIbased calculator application. Conclusion and future work is given in section 6.II. RELATED WORKCR tools have been monly used to test GUIs the test process include record/playback tools which record the user events and GUI screens during interactive session, The recorded sessions are later played back whenever it is necessary to recreate the same GUI States [1].Abbot framework (CR tool example), is a Java library that provides methods to reproduce user actions and examine the state of GUI ponents. Another example for Java CR tools is jfcUnit which enables developers to write test cases for Java Swing based applications. It provides support for:l Obtaining handles on Windows/Dialogs opened by the Java code.l Locating ponents within a ponent hierarchy that occur within the containers found above.l Raising events on the found ponents, . clicking a button, typing
點(diǎn)擊復(fù)制文檔內(nèi)容
醫(yī)療健康相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1