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

📄 script

📁 软件工程方面关于winrunner 7.6测试的资料
💻
字号:
################################################################################
# TEST:	kickoff
################################################################################
# $Revision: 1.1.1.1 $
# $Author: drajovic $
# $Date: 2004/03/24 20:14:01 $
# $Source: d:\\Archive/FRAMEWORK\\EMOS_GPL/FRM/TPL/Scripts/kickoff_old_style/script,v $
# $NoKeywords: $
################################################################################

#/***
#* This is an example of a script that triggers the
#* processing of a test suite table (hence "kickoff"). 
#* <p><b>IMPORTANT!</b></p>
#* By default this suite executes the table defined 
#* in the script (you must read the code to find out 
#* which one).
#* Productive suites should be kept stable and under 
#* version control (i.e. read-only). They should 
#* define <b>the complete</b> set of tests for the 
#* particular test purpose. 
#* Ensuring that suite tables are kept up to date 
#* will allow you to see what was intended with the 
#* test suite at any point in time.
#* <p>
#* During the development of the test suite or in a 
#* multi-user environment it is however often needed 
#* to execute only  portions of the whole test suite. 
#* One way to achieve this is by creating individual 
#* suite table and play with it instead of constantly
#* changing the production suite.
#* <p>
#* You can redirect this script to use your private 
#* table by allocating the environment variable 
#* <code>MY_SUITE</code> and assiging the appropriate
#* value to it (the name of your suite table relative
#* to the DATA_HOME directory, e.g. mysuite.xls). 
#* You must remove the variable when you are ready to 
#* execute the real suite. 
#*/

static tmpTable = getenv("MY_SUITE");
static defTable = "suite1.xls"; 
static suiteHdr = "run?,driver,table,testset,description";

# the following line would ensure the old driver logic (default for backward compatibility)
FRM_DRV_set_new_test_driver( FALSE );

#wrlog_init_file_interface( getvar("testname"), getenv("USERNAME"), "txt" );
FRM_RES_init_test_statistics();

call "DRV/emos_testsuite_driver" ( TEST_HOME, DATA_HOME, (tmpTable==""? defTable : tmpTable), FALSE, suiteHdr );

FRM_RES_report_test_statistics();
#wrlog_terminate_file_interface();

⌨️ 快捷键说明

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