Interaction of IBM Rational Functional Tester (RFT) with Siebel Application

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.

Does not allow

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

Solution

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

Server Configuration (Steps to perform automation on Siebel app)

  1. Open the .CFG file for the Siebel application on the Siebel server.
  2. In SWE, Set both values “EnableAutomation & AllowAnonUsers” to TRUE, EnableAutomation = TRUE, AllowAnonUsers = TRUE
  1. Restart the Siebel server.Next step is to enable Test Automation Framework in Siebel 8.0: Perform following action step by steps:
    1. Log into Siebel as an administrator:

Site Map -> Administrator – Server Configuration -> Servers -> (Pick Server)

    1. Select (Object Manger) -> Parameters
    2. Change EnableAutomation & AllowAnonUsers to True.
    3. 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
    4. Restart you server for the changes to take effect.
  1. Once you are done, record the scripts but 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 Automation Framework is running. You should see a process called SiebelAx_Test_Automcation_abc.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.

Advertisement

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.