您好,欢迎访问三七文档
当前位置:首页 > 办公文档 > 其它办公文档 > 基于TestDirector的软件自动化测试平台研制
电子科技大学UNIVERSITYOFELECTRONICSCIENCEANDTECHNOLOGYOFCHINAMASTERDISSERTATIONTestDirector02C053UDC1学位论文TestDirectorMotorola1UDC-II-TestDirector-I-TestDirectorWindowsTestDirectorTestDirector(OpenTestArchitecture)TestDirectorTestDirectorWindowsTestDirectorWindowsWindowsTSL-II-AbstractBysummarizingsomeliteraturesaboutsoftwaretestingandautomationtest,thebackgroundandpresentconditionsarediscussedinthisthesisfirst.Withthedevelopingofsoftwareindustry,thesizeofsoftwareisquitelargeandthecomplexitybecomesmuchhigher.Thesechangesbroughtlotsofinconvenienceanddifficultytosoftwaretesting:Oneside,therequirementsofsoftwarebecomehugenessandcomplex,itbringslotsoftroublestothefull-scaletesting,evenitcannotcoverallofrequirements;ontheotherside,theusagebecomecomplextoo,it’sdifferentwaytousedifferentsoftware,eventothesamesoftware,thedifferentuserswillusethesoftwarefollowingtheirdifferenthabit.Itcausesthetestscriptsmustberedesigned,thetestcasescannotbereused.Becauseofthelimitationofclassicautomationtesting,wecreatedasolutiontosolvetheproblemsabove,whichnamedAutomationSystemTestPlatform(ASTP).ASTPisbaseonTestDirector,abstractsthecommonpartofthesoftwarethattobetested,storesthemeta-databyusingthedatabase,identifythecharactersofdifferentsoftwarebyusingconfigurationfile,processthesystemtestingtotheembedsoftwareandwindowsapplications.StructureandtheoryofTestDirectorareseconddiscussedinthispaper.WecancontrolthedatabaseofTestDirectorthroughtheOpenTestArchitectureprovidedbyMercuryInteractive,andwedevelopsometoolstosupportthetestingprocessanddata,itsavesgreatofefforts.Followingtheprotocol,wecreateanembedautomationtestsystem,andintegrateittoTestDirector,sothetestingofembedsoftwarecanbemanagedbyTestDirector.TointegrateWinRunnerTSLscript,justusetheinternaltesttypetohandleit.Adesignofgenericwindowsapplicationautomationtestingsystemisbringoutinthesis,andthedesignincludestwoparts:commontestingscriptlibrary(testingpolicy)andtestingdatabasewhichcontentsmeta-data.Fromtheconclusionsandabstractionsoftheclassicautomationtesting,acommontestingscriptlibraryiscreated,andcanbereusedindifferenttesting;meta-dataaremanagedbyrelationdatabase.Bytheanalysisofautomationtestingsystem,dividethesystemintoseveralparts,usingtop-to-downtechnique,realizedthelogicdesigninTSL.Keywords:SoftwareAutomationTesting;TestDirector;OpenTestArchitecture;TestScriptLanguage(TSL)-III-............................................................IAbstract..........................................................II1.......................................................11.1................................................11.2............................................11.3................................................21.4....................................31.5....................................................31.6........................................42TestDirector........................52.1TestDirector...........................................52.2TestDirector.......................63TestDirector................93.1..............................93.2...........................................103.2.1.................................103.2.2...........................103.2.3...................................123.3...................................133.3.1...................................133.3.2.............................133.4TestDirector................................163.4.1TestDirector............163.4.2TestDirector............194TestDirectorWindows.............254.1Windows.............................254.2.........................................264.2.1tField...........................................274.2.2tControlType.....................................274.2.3tWindow..........................................284.2.4tValue...........................................284.2.5tDependency......................................284.2.6tFunc............................................294.2.7tFuncStep........................................294.2.8tDataSet.........................................304.2.9.............................................304.3...............................................314.3.1.....................................324.3.2.........................................324.3.3.....................................324.3.4.......................................32-IV-4.3.5.....................................324.3.6.........................................324.3.7.......................................334.3.8.....................................334.3.9.........................................334.3.10............................................344.4WinRunner.............................................344.4.1.............................................344.4.2.........................................354.4.3.............................................364.4.4.............................................364.5...............................................454.5.1.........................................464.5.2.........................................474.6TestDirector.................
本文标题:基于TestDirector的软件自动化测试平台研制
链接地址:https://www.777doc.com/doc-17177 .html