google搜索 51Testing站内搜索                    软件测试门户 | 软件测试培 训 | 文章资料精选 | 软件测试论坛 | 软件测试博客 | 测试招聘求职 
打印

请问命令行启动RFT怎么实现?

请问命令行启动RFT怎么实现?


请问不启动RFT,直接通过命令行启动RFT怎么实现?

TOP

-user username

The TestManager user name for login.

-password password

Optional. The TestManager password for login. Do not use this if there is no password.

-project fullpath and full projectname

The name of the TestManager project, which is preceded by its full path. This is case-sensitive.

-build build

The name of an existing TestManager build. See Note below.

-logfolder foldername

The name of an existing TestManager log folder (see Note below) or the file specification for an HTML or a text log. If you use the HTML or text log folder name, you do not need to specify the build.

Note: If you want to create a TestManager log, make sure you create the TestManager build and the TestManager log folders first. See the note about TestManager integration at the end of this topic. If these two folders do not exist, execution will fail when you run Functional Tester unattended in batch mode.

-log logname

The name of the TestManager, HTML or text log. If you use the HTML or text log name, you do not need to specify the build.

java -Drational_ft.install.dir="C:\Program Files\IBM\Rational\Software Development Platform\6.0\FunctionalTester\eclipse\plugins\com.rational.test.ft.wswplugin_6.1.0" -classpath "C:\Program Files\IBM\Rational\Software Development Platform\6.0\FunctionalTester\eclipse\plugins\com.rational.test.ft.wswplugin_6.1.0\rational_ft.jar" com.rational.test.ft.rational_ft -datastore \\My_project\AUser\RobotJProjects -user admin -project \\My_project\AUser\TestManagerProjects\Test.rsp -build "Build 1" -logfolder "Default" -log "Al_SimpleClassicsA#1" -rt.log_format "TestManager" -rt.bring_up_logviewer true -playback basetests.SimpleClassicsA_01

TOP

如果你不想在RFT运行完脚本后显示log的话,你可以像下面这样改动上面的脚本。

-rt.bring_up_logviewer false

TOP

谢谢版本的回答!
还想请教一下如果我在一台主机上是否可以通过命令控制局域网内的另一台主机上的RFT脚本启动?sdlkfj2

TOP

When you associate a Functional Tester project with a Rational project, you can use TestManager both to run your Functional Tester scripts and to coordinate testing activities from a single Windows computer, called the Local computer.

When a test runs, scripts play back on the Local computer or on the computers that you have designated as Agent computers. You use Agent computers to perform these tasks:

Run scripts on more than one computer. If you are running a test, you can save time by running the scripts on the next available Agent computer instead of running all scripts on the Local computer.

Test different machine configurations. If you are testing various hardware and software configurations, you can run scripts on Agent computers that are set up with different configurations.

Run Functional Tester scripts remotely on Linux or Windows computers. If you run Functional Tester scripts remotely, you must enable environments and configure applications on the Linux or Windows Agent computers. For information, see the Rational Functional Tester Installation Guide.


这个我也没具体试过,以后有时间会试的用一下,到时再具体回答些问题。

TOP

 
当前时区 GMT+8, 现在时间是 2008-9-7 16:11Copyright(C)上海博为峰软件技术有限公司 2001-2007 电话:021-64471599-8017
当您在访问网站、论坛及博客过程中遇到问题时可发送email:webmaster@51testing.com或发送论坛短信至管理员风在吹