Header Ads

Installing the Oracle Application Testing Suite


Installing the Oracle Application Testing Suite

This section explains the installation procedures for the Oracle Application Testing Suite.



Caution:
The machines where the OpenScript product is installed should be strictly used for testing. The security features of the browsers have been disabled on this machine to enable recording and playback operations. The browsers cannot be used for secure browsing.

Installing the Applications

There are two ways that you can install Oracle Application Testing Suite:
From the Oracle Web site: http://www.oracle.com/
  1. Select and download the Oracle Application Testing Suite (oats-version.zip) from the web site and save it to a temporary directory on your hard disk.
  2. Unzip the downloaded file and run the executables: oats###.exe for Oracle Application Testing Suite, openScript###.exe for OpenScript. If you plan to install both, you should install Oracle Application Testing Suite (oats###.exe) first as this will affect the default repository locations.
  3. Follow the setup instructions to install the Oracle Application Testing Suite and/or OpenScript.
From the Oracle Application Testing Suite CD:
  1. Insert the Oracle Application Testing Suite CD into your computer's CD-ROM drive.
  2. In Windows, click Start -> Run and browse to the drive letter that corresponds to your computers CD-ROM drive.
  3. Run the executables: oats###.exe for Oracle Application Testing Suite and openScript###.exe for OpenScript in the root directory of the CD-ROM. If you plan to install both, you should install Oracle Application Testing Suite (oats###.exe) first as this will affect the default repository locations.
  4. Follow the setup instructions to install the Oracle Application Testing Suite and/or OpenScript.

Manually Configuring the Installation

The above installation procedure for Oracle Application Testing Suite (oats###.exe) installs the applications, database, and Web server. If during the installation procedure you select the Do nothing, I will configure Oracle Application Testing Suite later (advanced) option you will need to manually create the database schema.
To manually create the database schema:
  1. Open a command window and run the DBConfig utility using this command:
    <installdir>\jdk\jre\bin\javaw.exe -Djava.library.path=<installdir>
     \install\lib -jar DBConfiguration.jar 
  2. Click the third radio button, enter your database parameters, and click Save. Make a note of the OATS schema username (i.e. the user table into which the schema will be created).
  3. Edit <installdir>\bin\config_ds_offline.py. Change the line:
    cmo.setValue('oats')
    so that the value set is the same as the user noted in step 2.
  4. Set the environment variables as follows:
    OATS_HOME: your install folder
    OATS_PASS: the 'master password' you entered during installation
    OATS_DBPASS: the password for the OATS schema user noted in step2
    OATS_DBURL: the database URL in the following format:
    jdbc:oracle:thin:@//<hostname>:<port>/<servicename> 
  5. Run <installdir>\bin\recreateDomain.bat. This will delete your previous OATS domain, if any, and recreate it.
Powered by Blogger.