Command Line Options for Working with TestDirector - WinRunner

You can use the Windows Run command to set parameters for working with TestDirector. You can also save your startup parameters by creating a custom WinRunner shortcut. Then, to start WinRunner with the startup parameters, you simply double-click the icon.

You can use the command line options described below to set parameters for working with TestDirector. For additional information on using command line options, see “Running Tests from the Command Line.”

-dont_connect

If the Reconnect on startup check box is selected in the TestDirector Connection dialog box, this command line enables you to open WinRunner without connecting to TestDirector.

-td_connection {on | off}

Activates WinRunner’s connection to TestDirector when set to on.

(Default = off) (Formerly -test_director.)

-td_cycle_name cycle_name

Specifies the name of the current test cycle. This option is applicable only when WinRunner is connected to TestDirector.

Note that you can use the corresponding td_cycle_name testing option to specify the name of the current test cycle, as described in “Setting Testing Options from a Test Script.”

-td_database_name database_pathname

Specifies the active TestDirector project. WinRunner can open, execute, and save tests in this project. This option is applicable only when WinRunner is connected to TestDirector.

Note that you can use the corresponding td_database_name testing option to specify the active TestDirector database, as described in “Setting Testing Options from a Test Script.”

Note that when WinRunner is connected to TestDirector, you can specify the active TestDirector project from the TestDirector Connection dialog box, which you open by choosing Tools > TestDirector Connection. For more information about connecting to TestDirector, see “Connecting to and Disconnecting from a Project”

-td_password

Specifies the password for connecting to a project in a TestDirector server.

Note that you can specify the password for connecting to TestDirector from the TestDirector Connection dialog box, which you open by choosing Tools > TestDirector Connection. For more information about connecting to TestDirector, see “Connecting to and Disconnecting from a Project”

-td_server_name

Specifies the name of the TestDirector server to which WinRunner connects.

Note that you can use the corresponding td_server_name testing option to specify the name of the TestDirector server to which WinRunner connects, as described in “Setting Testing Options from a Test Script.”

Note that you can specify the name of the TestDirector server to which WinRunner connects from the TestDirector Connection dialog box, which you open by choosing Tools > TestDirector Connection. For more information about connecting to TestDirector, see “Connecting to and Disconnecting from a Project”

-td_user_name user_name

Specifies the name of the user who is currently executing a test cycle.

(Formerly user.)

Note that you can use the corresponding td_user_name testing option to specify the user, as described in “Setting Testing Options from a Test Script.”

Note that you can specify the user name when you connect to TestDirector from the TestDirector Connection dialog box, which you open by choosing Tools > TestDirector Connection. For more information about connecting to TestDirector, see“Connecting to and Disconnecting from a Project”

For more information on using command line options, see “Running Tests from the Command Line.”


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

WinRunner Topics