1. #1
    Sencha User
    Join Date
    Feb 2011
    Posts
    1
    Vote Rating
    0
    Niko128 is on a distinguished road

      0  

    Question Set IDs of Grid header and filters

    Set IDs of Grid header and filters


    Hi,

    I'm working on an ExtGWT grid that looks exactly like this one: http://www.sencha.com/examples/pages...idfilters.html

    I would like to set a static ID on the filtering fields (e.g. the field where the user write a company name, or the date pickers where he can filter the column "Last Updated", etc...) to have Selenium performing filtering.

    I know it's the purpose of ensureDebugId("..."), but I don't have access to these elements, so I can't use this method on them. I also used it to set the Grid ID and it worked, but the IDs of the filtering fields are still dynamically generated ("x-auto-33", etc..).

    Any idea ?

    Thanks a lot

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Nov 2010
    Posts
    209
    Vote Rating
    -2
    Ersmarker has a little shameless behaviour in the past

      0  

    Default


    You should not need to set IDs on inner elements for testing. Selenium for example supports xpath which could select child elements without that they have an id.

Similar Threads

  1. Grid header filters
    By d.zucconi in forum Ext 3.x: User Extensions and Plugins
    Replies: 169
    Last Post: 5 Jun 2013, 10:30 AM
  2. column-header-group - filters
    By EnzoM in forum Ext 3.x: User Extensions and Plugins
    Replies: 0
    Last Post: 31 Aug 2010, 3:06 AM
  3. Grid header filters
    By d.zucconi in forum Ext 2.x: User Extensions and Plugins
    Replies: 59
    Last Post: 5 Aug 2010, 11:01 PM
  4. Grid Header Filters
    By d.zucconi in forum Ext 3.x: User Extensions and Plugins
    Replies: 0
    Last Post: 1 Oct 2009, 10:30 PM

Thread Participants: 1

Tags for this Thread