background image
<< Command-Line Argument Format | Index - Action Objects >>
<< Command-Line Argument Format | Index - Action Objects >>

Rules for Using TestFactory Command-Line

Using TestFactory Command-Line Arguments
Appendix-4
Rules for Using TestFactory Command-Line Arguments
You can use logon arguments by themselves to bypass the logon dialog box of the
AUT. However, you must use run and Application Mapper arguments in
conjunction with logon arguments.
If you enter the -g or the -n Application Mapper argument without specifying a
starting object path, the Application Mapper will start mapping from the
"Application Map.StartAUT" object path.
The Application Mapper arguments -a, -c, and -y are not required to run the
Application Mapper. If you do not use the -g or the -n argument, then TestFactory
ignores other Application Mapper arguments.
If you use the -o command-line argument to select a UI object in the application
map, use the application map path for the UI object. Be sure to use an ampersand for
mnemonics in the object path name. To find the correct object path to use, do the
following:
1. In TestFactory, click Edit > Find.
2. Select the check box for the object type to find, and then click Find Now.
3. In the list of objects found, check the value in the Object Path column for the
object that you want to select. Use this value in the command-line argument.
If you use the -o command-line argument to select a TestFactory object such as a
Test Suite or folder, use the object path for the parent UI object of the TestFactory
object, followed by the TestFactory object name. Be sure to use an ampersand for
mnemonics in the object path name.