




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
1、ITF Intelligent Test Framework for SCOS-2000 Executive SummaryITF - StudyIntelligent Test Frameworkfor SCOS-2000PurposeNowadays testers are confronted with the challenges of increasing software complexity and shortening development cycles. Without proper testing methods and tools it has become impos
2、sible to achieve and maintain high software quality standards.The overall goal of the ITF study was to define and implement (prototype an approach to automated testing of SCOS 2000 and similar data systems in ESOC's ground segment, based on requirements defined in the ITF Statement of Work.Metho
3、ds for Test AutomationAutomated GUI Testing and Model TestingAutomated testing is based on appropriate tools, which allow stimulating the system under test (SUT without manual interaction. These tools can be categorized under the term test drivers.GUI test drivers simulate a human user by communicat
4、ing with the tested application over its user interface. Mouse and keyboard input is simulated by sending appropriate messages to the GUI manager. In addition, the GUI test driver tries to determine the results of the test by querying the GUI manager about the current status of the GUI objects. Mode
5、l-oriented testing gives focus on the business model of an application. In a multi-tier architecture access to the business model can be performed via API interfaces like CORBA, RMI, DCOM or sending requests using a network protocol like TCP/IP. Similar to GUI testing, the capabilities of model-orie
6、nted test drivers depend on the range of functions that can be accessed over the interface.Test PhasesThe following diagram shows an overview of the relations between the project documentation phases and the corresponding testing activities throughout the software life cycle (based on the guidelines
7、 of the International Software Testing Qualifications Board, ISTQB: Unit testing is performed before the integration of several modules into a complex system. The aim of the integration test is to verify that the interfaces between the modules work correctly. The system test verifies the functionali
8、ty of the completely assembled system. At this stage, the focus no longer lies on the internal structure of the system, but on the functions defined in the software requirements specification. The most common form of system testing is done via the user interface. Acceptance testing is a special form
9、 of System Testing, where the user requirements are focused.Each of the test activities can be divided into a test preparation phase and a test execution phase. The aim of the test preparation phase is the creation of test plans while the tests based on these test plans are performed during the test
10、 execution phase.Test Tool and Test Language EvaluationOne part of the ITF study was an analysis of test automation tools (test drivers with a main focus on GUI automation tools. The outcome of this analysis is that object-level capture/replay strictly required (as opposed to simple analogue, pixel-
11、oriented capturing. This in turn requires that the GUI toolkit is supported by at least one GUI automation tool. Another important point in the analysis was the evaluation of tools and languages, which can be used to define automated test cases in general. The main result of this analysis is that th
12、e nature of the test interfaces (these are the interfaces exposed by the System Under Test determine what test drivers are suitable. The choice of the test driver, in turn, determines the test language in the majority of cases. There is no "silver bullet" test tool that fulfils all needs,
13、and consequently, there is no universal test language that covers all test scenarios. For frequent testing requirements, the following test drivers have been identified:Test Interface Test Driver Test Languages CORBAOmniPy combatPython TclTTY-based HMIexpect pexpectTcl or Pythonsystem/bin/sh /bin/cs
14、h Bourne shell, C shell HTTP service WGET Shell commandTCP/IP socket Custom TD Tcl, Python, C+ Java/Swing GUIWinRunner SilkTestTSL 4Testwithout test tool supportScripting extension JavaScript,. and/or schedule files PLUTO engine PLUTOCheck-Out procedures TOPEPLUTO, Tcl/TOPE,. DatabaseDatabase Driver
15、SQLThe table above gives an overview of the test tools and test languages, which have been analyzed. From this tools and languages survey it became clear that a generic test framework that shall support a heterogeneous system under test and various classes of tests must not be restricted towards a s
16、ingle test tool or test language. Instead, the overall testing approach needs to be open and flexible, so that different tools can be integrated.Technical Solution - ITFIn the course of the study, the "Intelligent Test Framework" (ITF has been developed based on the tool survey, analysis o
17、f requirements, and relevant standards. The ITF focus on automated system testing and it consists of the following components: The ITF Framework has a clear separation between test preparation and test execution on the one hand and between an abstract level and an implementation specific level on th
18、e other hand.Test Preparation EnvironmentThe test preparation environment of ITF is adopting Siemens IDATG (Integrating Design and Automated Test Generation as a Test Specification and Generation Tool. The tool supports the specification of test cases on 3 abstraction levels:Level 1 Task Model: The
19、hierarchical task model is based on the functional requirements (use cases of a software requirements specification. Decomposition in sub-tasks is used to improve the clearness and maintainability.Level 2 Sequence Diagrams: The sequence of tests steps for each task can be defined in the Task Flow Ed
20、itor: Each step may either represent an atomic step (cyan or an entire sub task flow (yellow. This concept allows re-using sub task, which minimizes the effort for test maintenance.Level 3 Step Descriptions: A step dialog allows entering a Test Instruction that will be executed by the test execution
21、 environment. Typically, such a Test Instruction will invoke a Test Driver with the argument list required by this Test Driver.Test Execution EnvironmentThe test execution environment consists of the following components: The Test Commander is the central instance that executes test schedules that a
22、re loaded from test schedule files in XML format. Each test schedule consists of test cases which in turn consist of test steps: ITF Intelligent Test Framework for SCOS-2000 Executive Summary The Test Commander allows step-by-step execution, automatic execution, and breakpoints. Unlike usual program
23、 debuggers, the Test Commander supports that the execution cursor can be moved manually forwards or backwards. Test Drivers are the interceptors between the Test Commander and the SUT. In this sense the test drivers hide the SUT's interfaces from the Test Commander and the Test Commander does an
24、d shall not care about the implementation details of these interfaces. A compact subset of instructions from the Test Commander is used to communicate with test drivers for the provision of parameters to the test driver and for the reply of execution status back from the test driver to the Test Comm
25、ander. A server side C+ framework has been developed in ITF due to the lack of commercial test drivers for the ILOGviews based SCOS-2000 GUI applications. This framework allows embedded GUI scripting with remote access via TCP/IP: SCOS-2000 Application (SUT TestCommander TELNET Client TCP/IP Interfa
26、ce TCL Interpreter EGOS-MCS-ITF-ESUM-0001 Page 6 / 6 2005-05-31 ITF Intelligent Test Framework for SCOS-2000 Executive Summary Conclusion The ITF study has prepared a way to move from manual SCOS-2000 testing to automated system testing. Concepts therefore are clear and stable, and the implementation of the concept is available on a prototype base. The generic components of ITF are nearly complete, but the roll-out of the concept requires a lot of application specific work to implement GUI application specific scrip
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 基金業(yè)機(jī)構(gòu)安全生產(chǎn)培訓(xùn)
- 蒙漢雙語教學(xué)視域下的普通話語音偏差探討
- 重金屬廢水電化學(xué)處理技術(shù)規(guī)范-編制說明
- 中國過濾嘴材料行業(yè)投資分析及發(fā)展戰(zhàn)略研究咨詢報告
- PET茜草葉行業(yè)行業(yè)發(fā)展趨勢及投資戰(zhàn)略研究分析報告
- 2024-2025學(xué)年高中歷史第三單元古代中國的科學(xué)技術(shù)與文學(xué)藝術(shù)第9課輝煌燦爛的文學(xué)課后篇鞏固提升新人教版必修3
- 可研究性報告范例6
- 烽火輪雙軸承單輪行業(yè)行業(yè)發(fā)展趨勢及投資戰(zhàn)略研究分析報告
- 2025年逆流式冷卻塔項目可行性研究報告
- 2025年中國重卡整體行業(yè)市場深度研究及投資規(guī)劃建議報告
- 學(xué)校食堂廚師崗位職責(zé)
- 職業(yè)生涯規(guī)劃的步驟與方法課件
- 如何做好4S管理
- 民航客艙應(yīng)急設(shè)備
- 化工總控工培訓(xùn)
- 2024年小紅書初級營銷師題庫
- 山西電網(wǎng)新能源場站涉網(wǎng)試驗流程使用說明書
- 課題1 碳單質(zhì)的多樣性(第1課時)課件九年級化學(xué)上冊人教版2024
- 康復(fù)醫(yī)學(xué)題庫與答案
- 1、DL-T5113.1-2019 水利水電工程單元工程質(zhì)量等級評定標(biāo)準(zhǔn)第一部分:土建工程用表
- 2024年醫(yī)院感染管理制度(四篇)
評論
0/150
提交評論