Enabling ADF Faces Application for Functional Testing

If you want to perform functional testing of ADF Faces application with tools such as Oracle Application Test Suite(see this blog), you may want to set few parameters in web.xml and one in trinidad-config .xml

  • Add the following context parameters in web. xml :

<context-param>
  <param-name>oracle.adf.view.rich.automation.ENABLED</param-name>
  <param-value>true</param-value>
</context-param>
<context-param>
  <param-name>org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION</param-name>
  <param-value>true</param-value>
</context-param>
<context-param>
  <param-name>javax.faces.PROJECT_STAGE</param-name>
  <param-value>SystemTest</param-value>
</context-param>

  • In trinidad-config. xml add the following:

<animation-enabled>false</animation-enabled>

Comments