generate command

ta generate is used to generate Test Architect test data to a runnable package using the command-line interface.

注意: 
Applies to TestArchitect 9.1 and higher

Systax

ta generate -rep <repository> -u <username> -p <password>[Optional arguments]

Arguments

ArgumentDescription
-?,–help

(Optional)

Displays the help information for the generate command
-rep

(Required)

Specifies the name of the repository

Example:

  • -rep “SampleRepository”
-u

(Required)

Specifies the user name to log in to the repository
-p

(Required)

Specifies the password to log in to the repository.
Example: -p “aeteyfghdt13”
ヒント: 
you can exact the encrypted password of a given username from a test execution batch file.

-rs

(Optional)

Specifies the IP address or machine name of the repository server.
Example: -rs 192.168.167.134:53400
注意: 
  • The port number must fall within a range of 53400 to 53499
  • The default machine name is localhost and port number is 53400.
-prj

(Optional)

Specifies the name of the project.
Example:
  • -prj “Car Rental”
-t

(Optional)

Specifies the full path or ID of the test suite or the test module to be generated.
Example:
  • Test module: -t “/Action-based Testing Basics/Action Based Testing”
  • Test suite: -t “Test Suites/Functional Tests”
Before specify this argument you should specify the -prj first.

-dtn

(Optional)

Specifies full path of generated file/folder.
注意: 
  • Unless you defines this argument, TestArchitect will generate to the default location: C:\Users<username>\Documents\TestArchitect\Generate
  • Network paths are supported.
  • If the path contains spaces, enclose it in double quotes("").
-orsn

(Optional)

Specifies the package file name after generated.
Default value: Repository name_YYYY-MM-DD_HH-MM-SS
-o

(Optional)

Determines whether to overwrite the file if it already exists.
Applicable values:
  • yes: Overwrite
  • no: (Default) Do not overwrite
Example: -o “yes”


Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGearはLogiGear Corporationの登録商標であり、Action Based TestingおよびTestArchitectはLogiGear Corporationの商標です。ここに記載されているその他の商標は、各所有者の財産です。

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400