欢迎来到天天文库
浏览记录
ID:39356942
大小:2.28 MB
页数:77页
时间:2019-07-01
《Chapter 4 JSystem Framework Services》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、Chapter4JSystemFrameworkServices➣Inthischapter…JSystemFrameworkServicesOverviewPage2FrameworkServicesInteractionwithAutomationPage3LayersHowtoWriteaSystemObjectPage4SystemUnderTest(SUT)IndependencePage9ReportsPage18HTMLReporterPage22AnalyzersPage35MonitorsPage39FixturesPage40Multi-UserSuppor
2、tPage49AdditionalServicesPage73AdditionalLanguageSupportPage764.1JSystemFrameworkServicesOverviewTheJSystemFrameworkservicesrefertothesetofAPIsoftwareapplicationsprovidedbytheJSystemAutomationPlatformthatenabletheusertodevelopandprovideimprovedandstreamlinedprojectautomation.Figure1:JSystemS
3、ervicesIllustrationThedrawingillustratestheJSystemservicesinteractionwiththeautomationlayersandtheSUT.TheframeworkservicelayersarethebuildingblocksoftheJSystemAutomationPlatform.ThefollowingsectionexplainsindetailtheFrameworkServicesusingJavacodeexamplestoshowhowthesebuildingblocksareconstru
4、ctedandused.4.1.1FrameworkServicesInteractionwithAutomationLayersSUTIndependence-TheSUTIndependentFrameworkServiceinteractsdirectlywiththesystemobject.ThisserviceindependencereferstotheabilityoftheusertoapplythesametesttodifferentDUTandSUTproductsandchangeparameterswithinthetests.Reports–The
5、ReportsFrameworkServiceinteractsdirectlywiththesystemobjectlayerandthetest/fixtureslayer,providingtransparentinformationaccesstoallotherautomationlayers.WhenascenarioisrunbyJSystemthetestcaselayeroperatesthesystemobjectsontheSUTorDUTthereportframeworkservicethenextractstheresults.Theseresult
6、saredeliveredtothereportsframeworkserviceandarecollatedinthecentralmanagementreportmechanismcalledtheJReporterapplication.Analysis–TheAnalysisFrameworkServiceextractsstatisticsfromtheReportFrameworkServiceconnectingdirectlytoresultsproducedbytheTest/Fixturelayer.TheTest/Fixturelayersendsareq
7、uesttotheSystemObjectlayerforananalysisofaspecificfunction;theresultsarethencollatedviatheReportFrameworkServiceandsenttotheuser.Monitor–TheMonitorFrameworkServicerunsaservicethatisperformedinparalleltothetestbeingperformed.TheMonitorFrameworkServi
此文档下载收益归作者所有