Take advantage of the SWECmd=AutoOn Siebel Test Automation feature

Documented here on MOS you will find information with regards to the net effect of adding the SWECmd=AutoOn instruction. It’s essentially a STA (Siebel Test Automation) feature, but can be handy at times to quickly identify an Object in Tools. Especially the “RN” attribute.

Quoted from My Oracle Support (Doc ID 1594954.1):

OpenUI framework would provide the automation attributes in the HTML DOM

RN – Siebel repository name of the element 
UN – Display name that logically identifies the HTML element
OT – Object type of Siebel HTML element (e.g. Button, JComboBox, etc.)

SweCmd=AutoOn is needed when you launch the application. 

DOM structure for New Button/Combobox with Automation support:
<button id=”s_1_1_7_0_Ctrl” class=”appletButton” type=”button” data-display=”New” title=”Accounts:New” ot=”Button” rn=”NewRecord” un=”New” style=””>New</button>
<input type=”text” name=”s_2_1_87_0″ value=”NY” aria-labelledby=”State_Label” aria-label=”State” style=”height: 24px; width: 120px;” maxlength=”10″ class=”ui-autocomplete-input siebui-input-popup” autocomplete=”off” role=”textbox” aria-autocomplete=”list” aria-haspopup=”true” ot=”JComboBox” rn=”State” un=”State” aria-disabled=”true” readonly=”readonly” aria-describedby=”s_2_1_87_0_icon”>

Enjoy it 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

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 )

Google+ photo

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

Connecting to %s