标签:继承 套件 inf org exp span str moc opera
log.info project.name
int getXXCount() XX getXXByName( String name ) XX getXXAt( int index ) List getXXList() Map getXXs()
def mockService = project.getMockServiceByName( "My MockService" ) def mockService = project.getMockServiceAt( 0 )
for( loadTest in testCase.loadTestList ) log.info loadTest.name
testSuites.testCases["..."]
或者
testSuites.testCases."..."
log.info( testCase.testSuite.name + " in project " + testCase.testSuite.project.name )
在导航“向上”使用测试套件和项目属性对象模型。
// set property value object.setPropertyValue( "name", "value" ) object.properties["name"].value = "value" // get property value log.info object.getPropertValue( "name" ) log.info object.properties["name"].value log.info object.properties."name".value
当某种“运行”类别的脚本,总有可用于获取/设置特定情境变量的上下文变量:
标签:继承 套件 inf org exp span str moc opera
原文地址:http://www.cnblogs.com/zerotest/p/6935424.html