RFT :Pass arguments to the driver script through command line

时间:2015-09-14 15:54:59

标签: rft

Is there a way to pass custom arguments to the RFT automation script through command line ? I was trying to launch my driver script for automation(scripted in RFT 8.0.6) through command line and I was able to do so successfully. I wanted to pass the row number(iterator)- from where my test datapool should be read, as an argument to my driver script through command line. Is it a possibility to do so from commandline? Any help is much appreciated.

1 个答案:

答案 0 :(得分:1)

java.exe -jar rational_ft.jar -datastore <project_path> -playback <scriptName> -args one two three

脚本将获得  三个论点,即一个二和三个