This discussion is archived
3 Replies Latest reply: Oct 23, 2013 7:03 AM by user13421044 RSS

OATS  -  ADF functional testing

user13421044 Newbie
Currently Being Moderated

Hi,

 

While recording adf application with OATS ( with adf functional accelator module )  some of the actions are not recording like search icon , the actions which are recorded in the opened search popup and also calendar actions.

Is there any solution to fix this issue in OATS.

I am using OATS 12.1.0.2

Browser: IE 7

Operation System: windows 7

 

 

Regards,

Mohan.

  • 1. Re: OATS  -  ADF functional testing
    984091 Newbie
    Currently Being Moderated

    Hi This is Atish

     

    Yaa even I have found the same problem when I started recording the ADF functional Testing.

    Solution for this is you can add up the following line, at the correct line

    clickButton ADFCommandToolbarButton("@text='Search'")

    Java Code for the same would be:

     

     

    -------------------

    adf

      .commandToolbarButton(

     

    205,

     

     

    "/web:window[@index='0' or @title='Business Process Workspace']/web:document[@index='0' or @name='nviwaj5w3_11']/web:ADFCommandToolbarButton[@text='Search' and @absoluteLocator='wlctdc:j_id__ctru12:r1:tldc:searchButton']")

    --------------------

     

    this will click the button, provided you should put the absolute location of the button, which you could get it using the "viewsource" of the html page

    Yes even its not recording the input text fields , so i had to enter the field ID fo that field in the line inorder to help the oats to play it back.

     

    Regards

    Atish

  • 2. Re: OATS  -  ADF functional testing
    user13153726 Newbie
    Currently Being Moderated

    Hi Mohan / Atish,

     

    I agree that there is some challenge when working with calendar component in ADF, but should not have problems with any other ADF components such as ADFinputtext etc.

     

    Before we go in depth can I ask whether the ADF server that you are currently working on is configured with uncompressed classes?

     

    Thanks,

    Sri

  • 3. Re: OATS  -  ADF functional testing
    user13421044 Newbie
    Currently Being Moderated

    Thanks Sri,

     

    I have checked that configuration and added the configuration in WEB-INF/web.xml and  trinidad-config.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>

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

     

     

    Eventhough i kept the above configuration and deployed a AdFsample App with

    InputlistofValues, inputDate , inputtext, inputSpinner only input text and input spinner got recorded and rest date and lov are not getting recorded.

    Even we noticed that and search in the querypanel of adf search is not getting recorded the inputtextbox ,date .

     

    Regards

    Mohan

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points