Configuring Project Properties File

The Projects directory includes the project.properties file that you need to configure your project.

By default, the following properties are provided. You can also add your own custom properties and use them while creating the TestConfig.xml file or in the custom groovy scripts.

Procedure

  1. Specify your HTTP port. For example, EndPointURL=http://localhost:8080.
  2. Specify credentials of TIBCO MDM user with the Administrator role. The credentials are required primarily when TestSuites require creating a user or enterprise.
    Tibco Admin User=tadmin
    Tibco Admin Password=euc!1dAl
    Tibco Admin Enterprise=Enterprise
  3. Specify the following required file paths:
    MQ Common Dir=c:\tibco\mdm\8.3\commondir
    MQ Home=c:\tibco\mdm\8.3\mdm83
    Project Home=%MQ_HOME%\test\TestAutomation
  4. Specify database specific properties. For example:
    • For PostgreSQL:
      DBDriverClass=org.postgresql.Driver
      DBDriverURL=jdbc:postgresql://localhost:5432/velodb
      DBUser=mdmuser
      DBPassword=mdmpassword
    • For Oracle:
      DBDriverClass=oracle.jdbc.driver.OracleDriver
      DBDriverURL=jdbc:oracle:thin:@localhost:1521:ORCL83
      DBUser=mdmuser
      DBPassword=mdmpassword
    • For SQL Server:
      DBDriverClass=com.microsoft.sqlserver.jdbc.SQLServerDriver
      DBDriverURL=jdbc:microsoft:sqlserver://localhost:1433;Databasename=sqldb
      DBUser=mdmuser
      DBPassword=mdmpassword
  5. Change the values of the DBDriverURL, DBUser, and DBPassword properties as per your requirement.
  6. Copy the JDBC JAR file in the lib folder of FrameworkFiles folder that is being used by the MDM server to connect to your database.
    Note: Properties mentioned in the project.properties file are used in configuration files, such as TestConfig.xml file.
  7. Create a New Project: create your own customized project by maintaining a directory structure. The Projects directory must contain common, config, and log folders. For more information on the directory structure, refer to Directory Structure.
  8. Create a Configuration File: By default, the BasicSanity.xml file is located in the $MQ_HOME\test\TestAutomation\Projects\Sanity\config folder. You can create a new configuration file for your customized project based on these files. For details, refer to Configuration File.