⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sampref.script

📁 Software Testing Automation Framework (STAF)的开发代码
💻 SCRIPT
字号:
.***************************************************************************.* Software Testing Automation Framework (STAF).* (C) Copyright IBM Corp. 2001.*.* This software is licensed under the Common Public License (CPL) V1.0..****************************************************************************.*************************-START-OF-PROLOG-****************************.*.*  File Name          : SampRef SCRIPT.*  Descriptive Name   : Software Test Automation Framework Samples Reference.*  Detail:.*.*     This file contains samples of using STAF..*.**************************-END-OF-PROLOG-*****************************:i1.samples:h1 id=sampref.Samples Descriptions:table id     = samptab       headhi = 3       frame  = box       cols   = '* 2* 4*'       align  = 'l l'.:tcap.STAF Sample Code.*-----------------------------:thd.:c.Name:c.Description:c.Comments:ethd..*-----------------------------:row.:c.:hdref refid=javsam1.:c.Java Ping Sample:c.This sample uses the STAF Ping command to ping a STAF clientand measure the throughput..*-----------------------------:row.:c.:hdref refid=rexsam1.:c.Rexx Synchronous Process Sample:c.This sample loads the STAF Functions, registers to STAF, queriesa system variable from STAF, inititates a synchronous processwhich is a chkdsk of the boot drive, then unregisters..*-----------------------------:row.:c.:hdref refid=rexsam2.:c.Rexx Asynchronous Process Sample:c.This sample loads REXX and STAF Functions, registers to STAF,sets a system variable, inititates an asynchronous PMSEEK process,list variables, queries process status, stops PMSEEK, queriesprocess status again, frees the process, queries the systemvariable previously set, then unregisters..*-----------------------------:row.:c.:hdref refid=rexsam3.:c.Rexx Monitor Sample:c.This sample loads STAF Functions, registers to STAF,writes a monitor message and then queries it, this is done 10 times,then it unregisters. The size of the monitor messages writtenis based on a random number generated..*-----------------------------:row.:c.:hdref refid=rexsam4.:c.Rexx Log Sample:c.This sample loads STAF Functions, registers to STAF, writes andqueries 10 log messages to a global log called LOGTEST, then unregisters.The size of the log messages written is based on a random number generated..*-----------------------------:row.:c.:hdref refid=rexsam5.:c.Rexx Ping Sample:c.This sample uses the STAF Ping command to ping a STAF clientand measure the throughput..*-----------------------------:row.:c.:hdref refid=csam1.:c.C Log Sample:c.This sample logs a message via the STAF LOG service..*-----------------------------:row.:c.:hdref refid=cppsam1.:c.C++ Log Sample:c.This sample logs a message via the STAF LOG service.:etable.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -