IBM Support

Rational Functional Tester to interact with Siebel Application, check Siebel Server for testing

Troubleshooting


Problem

This technote proposes a solution to a problem that can occur while testing a Siebel application with IBM Rational Functional Tester.

Symptom

You are using Rational Functional Tester to interact with Siebel Application. You notice that the objects HTML, links, forms etc are either recognized as generic Window controls, or as HTML.

Cause

This could be happening if the Siebel Server is not enabled for automation testing.

Resolving The Problem

Siebel provides a test framework STA (Siebel Test Automation Framework) which is a small program that, once enabled in the service side, will allow RFT to interface with the HI components.

To enable Test Automation Framework in Siebel 7.8 you will need to:

  1. Open the .CFG file for the Siebel application on the Siebel server.
  2. Set the EnableAutomation and AllowAnonUsers switches in the [SWE] section as follows:

    [SWE]
    EnableAutomation = TRUE
    AllowAnonUsers = TRUE

  3. Reboot the Siebel server.

    To enable Test Automation Framework in Siebel 8.0:
    1. Log into Siebel as an administrator: Site Map -> Administrator - Server Configuration -> Servers -> (Pick Server)
    2. Select (Object Manger) -> Parameters
    3. Change EnableAutomation & AllowAnonUsers to True.
    4. You will also need to enter a license code for the changes to take effect.
      1. Log into Siebel as an administrator: Site Map -> Administration - Application -> License Keys -> New
      2. Enter (License, OK, 99999, Never)
      3. Click on Save
      4. Note: You can find the license codes at http://licensecodes.oracle.com/siebel.html
    5. Restart you server for the changes to take effect.
  4. Once that is done, you can start recording scripts. To do so, you will need to tell Siebel that you would like to use the test Automation Framework during a particular session. You can do so by adding SWECmd=AutoOn as a parameter in the URL - for example:

    http://youSiebelServer/service_enu/start.swe?SWECmd=AutoOn

    The first time you do this, when logging into the Siebel application, the browser (IE) will ask your permission to install a plug-in, which you will need to authorize. Once you have logged in successfully, you may start the Task Manager and check if the Siebel Automatation Framework is running. You should see a process called SiebelAx_Test_Automcation_xxxx.exe in your system's process list.

Now Rational Functional Tester should be able to record and play back the test scripts against your Siebel application, recognizing all Siebel objects as such.

[{"Product":{"code":"SSJMXE","label":"IBM Rational Functional Tester"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Extension for Siebel","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.1;8.1.0.1;8.1.0.2;8.1.0.3;8.1.1;8.1.1.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21429081