Username (-u)
|
User-defined
|
Yes
|
The name of the user used to connect. It can only be specified using the command line. Any configuration file specification for this parameter is ignored. When using Windows authentication, omit the user name.
|
Password (-p)
|
User-defined
|
Yes
|
The password of the user used to connect. This parameter is required if the password is not
Nothing. It can only be specified using the command line. Any configuration file specification for this parameter is ignored. When using Windows authentication, omit the password.
|
DSN (-d)
|
User-defined
|
Yes
|
The name of the DSN to use to connect to the database. This parameter is required for any DSN names other than "SilkTest". It can only be specified using the command line. Any configuration file specification for this parameter is ignored.
|
MediaName (-mn)
|
User-defined
|
|
The file name or location of the XML file(s) to be imported.
|
MediaType (-mt)
|
f | ds | sf
|
Yes
|
|
Execute (-ex)
|
Yes | No (see Note below)
|
Yes
|
Commits the import operation. The default value is "No".
|
Filename (-f)
|
User-defined
|
No
|
An INI configuration file that stores command line parameters. It can only be specified using the command line.
Note: The INI file parameters override the command line parameters with one exception. The Projects (-prj) and System (-s) parameter values specified in the INI file do not override the same parameters specified on the command line. Instead the values for each are both used.
|
AllVersions (-av)
|
Yes | No (see Note below)
|
No
|
Imports all versions of the asset(s). The default value is "No".
|
ReportResult (-rr)
|
User-defined
|
No
|
Contains the file name and location of the summary report file to be created. The default location is the current directory.
|
SilentMode (-sm)
|
Yes | No (see Note below)
|
No
|
Prevents the display of the console output.
|
Projects (-prj)
|
Asset nodes
|
No
|
Specifies a single project asset or group of project assets for import. All assets in the database will be imported without this parameter. Groups of nodes are separated by the pipe character(|). The format is:
{ProjectName}.{AssetType}.{AssetName}.{Ver#}. For example:
-prj ProjectA.Script.SampleScript.1 Strings separated by the pipe character must be included within double quotes.
-prj "Common | ProjectB.Result"
Note: When specifying the asset type, use the singular form of the asset. For example, use "result" not "results". For asset names comprised of two words (visual test), remove the space (visualtest). There is one exception: test script. Use only the word "script" to specify a test script.
|
System (-s)
|
Asset nodes
|
No
|
Specifies a single system asset or group of system assets for import. All system assets in the database will be imported without this parameter. Groups of nodes are separated by the pipe character(|). The format is:
{SystemName}.{SystemType}.{SystemAssetName}. For example:
-s Options.Record.RecA Strings separated by the pipe character must be included within double quotes.
|
ProjectAssetResolve- Conflict (-parc)
|
s | a | p
|
No
|
Specifies the conflict resolution method for project assets that already exist in the database.
- s stops the import.
- a adds a version to the asset upon import.
- p prompts the user to choose an action for each conflicting asset and overrides the SilentMode parameter.
p is the default.
|
SystemAssetResolve- Conflict (-sarc)
|
s | p
|
No
|
Specifies the conflict resolution method for system assets that already exist in the database.
- s stops the import.
- p prompts the user to choose an action for each conflicting asset and overrides the SilentMode parameter. 'p' is the default.
|