Starting JUnit Selenium adapters

After you configure the JUnit Selenium adapter, you can start the adapter from a command prompt for the first time.

Procedure

  1. Open a command prompt window.
  2. Switch to the directory where the JUnit Selenium adapter is installed.
  3. Complete one of the following steps according to your operating system:
    • Windows icon
      Run the startup batch file with the following command-line arguments:
      C:\ start.bat -repository  https://qmserver:port/qm -user userid -password password [-adapterName adapter-name]
      [-projectArea project area] [-sleepTime sleep
      time]	[-configFile configuration file]
    • Linux icon
      Unix icon
      Run the shell script with the following command-line arguments:
       $ start.sh -repository  https://qmserver:port/qm -user userid -password password [-adapterName adapter-name]
      [-projectArea project area] [-sleepTime sleep
      time]	[-configFile configuration file]
    Where:
    • qmserver is the host name or IP address of the Quality Management server.
    • port is the port where the Quality Management server is running
    • userid is a registered user ID for Quality Management that has the license to run an adapter.
    • password is the password of the submitted user ID.
    • adapter name is an adapter name that the user assigned.
    • project area is the name of the project logged in to.
    • sleep time is the polling interval between polling for tasks. The default setting is 5 seconds.
    • configuration file is the file to store and read the settings for this adapter. The default file name is config.ini.
    The adapter generates a configuration file (the config.ini file or the file that is specified in the -configFile option) to contain the registration information. This information is reused when the adapter is restarted.
  4. To restart the JUnit Selenium adapter from a config.ini file, complete one of the following steps:
    • Windows icon
      Run the batch file without any arguments: C:\ start.bat
    • Linux icon
      Unix icon
      Run the shell script without the command-line arguments: $ start.sh
    Note: The configuration file is expected to be in the directory that the adapter is started from.


Have a problem or a question? Post it in the Jazz.net forum.