Results 1 to 2 of 2

Thread: Selenium IDE ExtJS Multiple Dropdown

  1. #1
    Sencha User
    Join Date
    Nov 2010
    Vote Rating

    Default Selenium IDE ExtJS Multiple Dropdown

    Hi All,
    Thanks in advanced for looking into the issue. I have a extjs page with multiple drop downs and you'd have to click on the image icon so see the dropdown list.

    This is the code below will select the image for the drop down list in Selenium IDE

    //img[contains(@class, 'x-form-trigger x-form-arrow-trigger')]

    after the image icon is pressed below is the code to select the item for from the drop down

    //div[contains(@class, 'x-combo-list-inner')]/descendant::div[contains(@class, 'x-combo-list-item')][text()='Staff'][1]

    the issue is the //img class "x-form-trigger x-form-arrow-trigger" has the same class names for all the dropdowns on the page.

    How would you select multiple dropdown list? if you select one drop down the others can't be selected because the img class name is the same for all the select drop downs.

  2. #2
    Sencha User
    Join Date
    Apr 2011
    Vote Rating

    Smile selecting multiple drop down images.

    //div[@class='x-layer x-editor x-small-editor x-grid-editor'][2]/div[contains(@class,'x-form-field-wrap')]/parent::*//img

    In the above xpath [2] represents which column you are presently.
    I guess this could help u.

Similar Threads

  1. ExtJS QA and selenium tests
    By Maxime in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 8 Aug 2010, 10:45 PM
  2. Exec ExtJs from Selenium
    By Lukard in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 19 Mar 2010, 11:34 AM
  3. extjs and selenium
    By notallowed in forum Community Discussion
    Replies: 0
    Last Post: 18 Nov 2009, 5:53 AM

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