Results 1 to 2 of 2

Thread: Set IDs of Grid header and filters

  1. #1
    Sencha User
    Join Date
    Feb 2011
    Posts
    1
    Vote Rating
    0
      0  

    Question 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 User
    Join Date
    Nov 2010
    Posts
    209
    Vote Rating
    -2
      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: 171
    Last Post: 27 Oct 2016, 10:25 PM
  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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •