emos_testset_driver.tsl

来自「软件工程方面关于winrunner 7.6测试的电子书资料」· TSL 代码 · 共 35 行

TSL
35
字号
<head></head><body><pre></font><font color="#ff0000"><i>################################################################################</font></i><font color=black></font><font color="#ff0000"><i># TEST:	emos_testset_driver</font></i><font color=black></font><font color="#ff0000"><i>################################################################################</font></i><font color=black></font><font color="#ff0000"><i># $Revision: 1.1.1.1 $</font></i><font color=black></font><font color="#ff0000"><i># $Author: drajovic $</font></i><font color=black></font><font color="#ff0000"><i># $Date: 2004/03/24 20:14:01 $</font></i><font color=black></font><font color="#ff0000"><i># $Source: d:&#92;&#92;Archive/FRAMEWORK/EMOS_GPL/FRM/TPL/Scripts/DRV/emos_testset_driver/script,v $</font></i><font color=black></font><font color="#ff0000"><i># $NoKeywords: $</font></i><font color=black></font><font color="#ff0000"><i>################################################################################</font></i><font color=black></font><font color="#ff0000"><i>#</font></i><font color=black></font><font color="#ff0000"><i>/***#* A simple driver for a single test set. This driver was designed to be used#* with TestDirector. The idea is that we could create test sets in TestDirector#* and replace with them the Frameworks concept of "test suite". So a test set#* in TestDirector could act a counterpart of one test suite. What we need to do#* is create automate tests within the test subject tree that all prepare the#* required three parameters and call this test.#*/</font></i><font color=black><b>static</b> rc;<b>if</b> ( arg_script == </font><font color="#00bb00">""</font><font color=black> || arg_table == </font><font color="#00bb00">""</font><font color=black> || arg_testset == </font><font color="#00bb00">""</font><font color=black> )    <b>treturn</b> E_ILLEGAL_PARAMETER;wrlog_set_start( arg_testset );FRM_close_all();rc = FRM_DRV_test_set_driver(         arg_script,         join_path( DATA_HOME, arg_table, </font><font color="#00bb00">"&#92;&#92;"</font><font color=black> ),		arg_testset );FRM_close_all();wrlog_set_stop( arg_testset, rc );<b>treturn</b> rc;</pre></body>

⌨️ 快捷键说明

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