HomeOATS

7 Steps to uninstall Oracle Application Testing Suite – OATS

7 Steps to uninstall Oracle Application Testing Suite – OATS
Like Tweet Pin it Share Share Email

There are several purposes why you might want to uninstall Oracle Application Testing Suite ( a.k.a OATS ), It is very important for you to make sure OATS is uninstalled properly and make the proceedings.

Here are some of the purposes why you might want to uninstall

  1. You want to install latest version of OATS and you already have an older version of it.
  2. You want to downgrade OATS from newer version.
  3. Had unsuccessful installation, so you want to remove OATS completely and start fresh.

There could be other purposes as well, we just tried to list the most common situations where you might want to uninstall.

While you want to proceed with the uninstall process, if you want to use your scripts which are already developed, your first step would be to take back up of all them along with all the artefacts of your test automation framework.

Step 1: Uninstall Oracle Application  Testing Suite Products

  1. Run “Setup.bat” ideally present at “<OATS Software Downloaded folder>\setup.bat”  ( Always better to “Run As Administrator” ) & click on Deinstall products button.
    DEInstall Products
  2. Expand Oracle Homes Tree Node in “Inventory” window and select “OATS” checkbox.
    Inventory OATS
  3. Click “Remove” button, to start the uninstall procedure.
    Remove OATS
  4. It may ask for a confirmation from you by listing out all the products which are going to be uninstalled. Click “Yes” to Proceed or Click  “No” to go to previous step.
    Confirmation_To_Remove_Products
  5. You might be presented with a progress window “Remove” for uninstall process.
    Remove_Progress
  6. On successful uninstall of products, you would see a message as “There are no installed products” in Inventory window.
    Removed_Products
  7. Click “Close”
  8. Click “Cancel” button of “Oracle Universal Installer: Welcome” window which got opened at the first step of this section. The window gets closed.

Step 2: Uninstall Oracle XE Database

  1. There are occasions  Oracle XE Database need to be uninstalled separately though we tried to remove them in Step 1.
  2. Open Control Panel ( Start Menu > Control Panel  / open run window and type “control” without double quotes and press enter )
  3. Open Add/Remove Programs or Program and Features depending upon your Windows version.
  4. Find and select “Oracle Database 11g Express Edition”.
  5. Click the “Remove” or the “Uninstall/Change” button from the tool bar, or double-click the item to launch the Install Shield wizard, or right click the desired item and click “Uninstall/Change”
  6. Click Yes in the dialog box to remove the database.
  7. Wait for the uninstall to complete successfully.
  8. Click Finish to close the Install Shield wizard

Some times even after uninstall, traces would be left over, you can launch services window and check if any of the below are still existing, if so you can follow the video to remove them and continue to further steps.

Step 3: Remove or Rename Installation Folder(s)

Post uninstall of products the folders still remain and are supposed to removed by you for keeping it fresh for new installation.

  1. As mentioned earlier, back up all your script & test automation framework assets / artefacts, especially for the repositories which are present either under your installation folder / user workspace folder.
  2. Remove or rename the Oracle Application Testing Suite installation directory (the default is C:\OracleATS). ( you may have to sometimes logoff or restart machine to perform this step )
  3. Remove or rename the “osworkspace” directory in your user profile: C:\Documents and Settings\username\osworkspace (depending upon your Operating System, it may be similar to: C:\Users\username\osworkspace).
  4. Remove or rename the “Inventory” directory: C:\Program Files\Oracle\Inventory (depending on your Operating System, it may be like: C:\Program Files (x86)\ Oracle\Inventory).
  5. Remove or rename the file: C:\Windows\rsw.ini ( if it exists )

Step 4: Remove Environment Variable and Browser Properties File

Steps to remove the OATS_HOME environment variable:

  1. Right click on Computer in Start Menu and select “Properties”
  2. Click on Advanced System Settings on left side pane of the newly opened Window.
  3. Click Environment Variables on the Advanced tab of System Properties Window.
  4. Select the OATS_HOME variable under “System Variables” and click Delete button.
    Delete_OATS_HOME
  5. Close the window.

Note: Please be careful while deleting the environment variables, can cause system failures on deleting wrong variables.

Steps to remove the browserHelper.properties file:

  1. Open Run window and type “%APPDATA%” with out double quotes and press enter.
    Run_APPDATA
  2. Navigate to %APPDATA%\Oracle\Application Testing Suite\browserHelper.properties file and delete the file.
    Remove_Browser_Helper

Step 5: Remove the “Oracle Application Testing Suite” Services

  1. Select Run from the Start menu.
  2. Type cmd and press enter / Click OK button.
  3. Type the command:

sc delete servicename, where servicename is each of the following:

  • OracleATSAgent
  • OracleATSServer
  • OracleATSHelper

delete_OracleATSAgent delete_OracleATSServerdelete_OracleATSHelper

If the message “The specified services does not exist as an installed services” is returned from the program, the service was successfully removed by the previous steps.

Also, please make sure none of the above services are available in services window, you can open services window by giving “services.msc” in run window.

Step 6: Remove the “Oracle Application Testing Suite” Registry Keys

  1. Type “Regedit” without double quotes in run window and press enter / click OK button.
  2. Delete the following Registry keys using the Registry Editor:

Registry_Path

  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servicese\OracleATSServer
  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleATSAgent
  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleATSHelper

If you do not find the keys in the Registry, they were successfully removed by the previous steps. Note: The keys may be found in the different location depends on your Operating System (search by the key to find the correct location).

Step 7: Restart the System

It is always good to restart a machine on completion of install / uninstall process.

 Please share your queries through comments, I would be more than happy to help.

Comments (4)

  • I am trying to load test 1,00,000 concurrent virtual users in Oracle load testing , i am unable to find any hardware estimation documenation for OATS ,could you please provide your tips and best practice on this , i am using OAS 13.3

    Reply
  • Hi!
    I’m having a problem trying to inspect objects with OpenScript.
    I have the automation code i’ve been using with last versions of the same applet, but now it can’t see the paths i’ve mapped before the update (even with the inspect tool).
    Can you please help me?
    Thanks and have a nice week 🙂

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *