Explain different command line options?

Showing Answers 1 - 2 of 2 Answers

Meghana

  • Nov 8th, 2005
 

  1. addins list of add-ins to load:,Instructs WinRunner to load the specified add-ins. In the list, the add-ins are separated by commas. This can be used in conjunction with the -addins_select_timeout command line option.
  2. addins_select_timeout timeout :Instructs WinRunner to wait the specified time (in seconds) before closing the Add-In Manager dialog box when starting WinRunner. When the timeout is zero, the dialog box is not displayed. This can be used in conjunction with the -addins command line option.
  3. animate :Instructs WinRunner to execute the loaded test, while the execution arrow displays the line of the test being run.
  4. auto_load {on | off}:Activates or deactivates automatic loading of the temporary GUI map file.(Default = on)
  5. auto_load_dir path:Determines the folder in which the temporary GUI map file (temp.gui) resides. This option is applicable only when auto load is on.(Default = M_Home\dat)
  6. batch {on | off}:Runs the loaded test in Batch mode.(Default = off)
  7. beep {on | off} :Activates or deactivates the WinRunner system beep.(Default = on)
  8. create_text_report {on | off} :Instructs WinRunner to write test results to a text report, report.txt, which is saved in the results folder. (Default = off)
  9. cs_fail {on | off}:Determines whether WinRunner fails a test when Context Sensitive errors occur. A Context Sensitive error is the failure of a Context Sensitive statement during a test. Context Sensitive errors are often due to WinRunner?s failure to identify a GUI object. (Default = off)
  10. cs_run_delay non-negative integer :Sets the time (in milliseconds) that WinRunner waits between executing Context Sensitive statements when running a test.(Default = 0 [milliseconds])
  11. delay_msec non-negative integer  (Formerly -delay, which was measured in seconds.) :Directs WinRunner to determine whether a window or object is stable before capturing it for a bitmap checkpoint or synchronization point. It defines the time (in milliseconds) that WinRunner waits between consecutive samplings of the screen. If two consecutive checks produce the same results, WinRunner captures the window or object.(Default = 1000 [milliseconds])
  12. dont_quit :Instructs WinRunner not to close after completing the test.
  13. dont_show_welcome:Instructs WinRunner not to show the Welcome window.
  14. don?t_connect :Enables you to open WinRunner without connecting to TestDirector, if the Reconnect on startup check box is selected in the Connection to TestDirector dialog box.
  15. exp expected results folder name:Designates a name for the subfolder in which expected results are stored. In a verification run, specifies the set of expected results used as the basis for the verification comparison.(Default = exp)
  16. f file name:Specifies a text file containing command line options. The options can appear on the same line, or each on a separate line. This option enables you to circumvent the restriction on the number of characters that can be typed into the Target text box in the Shortcut tab of the Windows Properties dialog box.
  17. fontgrp group name :Specifies the active font group when WinRunner is started.
  18. ini initialization test name :Defines the wrun.ini file that is used when WinRunner is started. This file is read-only, unless the -update_ini command line option is also used.
  19. min_diff non-negative integer :Defines the number of pixels that constitute the threshold for an image mismatch. (Default = 0 [pixels])
  20. mismatch_break {on | off} :Activates or deactivates Break on Mismatch before a verification run. The functionality of Break on Mismatch is different than when running a test interactively: In an interactive run, the test is paused; For a test started from the command line, the first occurrence of a comparison mismatch terminates test execution. (Default = off)
  21. rec_item_name {0 | 1} :Determines whether WinRunner records non-unique ListBox and ComboBox items by name or by index.(Default = 0)
  22. run :Instructs WinRunner to run the loaded test. To load a test into the WinRunner window, use the -t command line option.
  23. run_minimized :Instructs WinRunner to run tests with WinRunner minimized to an icon. Note that specifying this option does not itself run tests: use the -t command line option to load a test and the -run command line option to run the loaded test.
  24. search_path path name:Defines the directories to be searched for tests to be opened and/or called. The search path is given as a string.(Default = startup folder and installation folder/lib)
  25. single_prop_check_fail {ON | OFF}  :Fails a test run when _check_info statements fail. It also writes an event to the Test Results window for these statements. (Default = 1)
  26. speed {normal | fast} :Sets the speed for the execution of the loaded test.(Default = fast)
  27. t test name :Specifies the name of the test to be loaded in the WinRunner window. This can be the name of a test stored in a folder specified in the search path or the full pathname of any test stored in your system.
  28. td_connection {on | off} :Activates or deactivates WinRunner?s connection to TestDirector.(Default = off)
  29. td_cycle_name cycle name :Specifies the name of the current test cycle. This option is applicable only when WinRunner is connected to TestDirector.(Formerly -cycle)
  30. td_database_name database path name :Specifies the active TestDirector database. WinRunner can open, execute, and save tests in this database. This option is applicable only when WinRunner is connected to TestDirector.(Formerly -database)
  31. td_password :Specifies the password for connecting to a database in a TestDirector server.
  32. td_server_name :Specifies the name of the TestDirector server to which WinRunner connects.  In order to connect to the server, use the -td_connection command.
  33. td_user_name user name :Specifies the name of the user who is currently executing a test cycle.
  34. timeout_msec non-negative integer (Formerly -timeout, which was measured in seconds.) :Sets the global timeout (in milliseconds) used by WinRunner when executing checkpoints and Context Sensitive statements. This value is added to the time parameter embedded in GUI checkpoint or synchronization point statements to determine the maximum amount of time that WinRunner searches for the specified window. (Default = 1000 [milliseconds])
  35. tslinit_exp :Directs WinRunner to the expected folder to be used when the tslinit script is running.
  36. update_ini :Saves changes to configuration made during a WinRunner session when the wrun.ini file is specified by the -ini command line option.
  37. verify verification_results_name :Specifies that the test is to be run in Verify mode and designates the name of the subfolder in which the test results are stored.

  Was this answer useful?  Yes

naveen

  • Dec 12th, 2006
 

thanks for the notes

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions