1 Reply Latest reply: Jul 11, 2012 1:29 PM by 934366 RSS

    ADF Application Testing using Selenium - blur does not work

    435209
      I am trying to automat testing of adf application using selenium. Everything working good but there is a problem related to adfInputListOfValues. When autosubmit property is set to true and user types partial value, on pressing tab, it autocompletes if it matches to single record or opens popup to select from multiple matching records. I could not simulate this behavior using selenium i.e. when i using selenium fires tab event, adfInputListOfValues does not autocomplete / open popup. I have written following script for that:

      selenium.EventFire("id=r1:0:pt1:myInputListOfValuesId::content","blur");
      When i execute this value, nothing happens even no error is thrown.


      This code works fine:
      selenium.Type("id=r1:0:pt1:myInputListOfValuesId::content", "Hello World!");


      Environment:
      I am using C# for scripting test cases.