1. #1
    Ext User
    Join Date
    Apr 2010
    Posts
    10
    Vote Rating
    0
    mickyg is on a distinguished road

      0  

    Question Anyone has experience using Watir to click on a SimpleComboBox?

    Anyone has experience using Watir to click on a SimpleComboBox?


    It appears the HTML doesnt use SELECT/OPTION format -- i see divs instead and I cant select it.

    Any help would be appreciated.

    Thanks,
    M

    Code:
    <div tabindex="-1" class="x-form-item">
        <label class="x-form-item-label" style="width: 120px;" for="x-auto-689-input">Protocol:</label>
        <div style="padding-left: 125px;" id="x-form-el-x-auto-689" class="x-form-element">
            <div class="x-form-field-wrap  x-component  x-trigger-wrap-focus" id="x-auto-689" style="width: 221px;">
                <input type="text" class="x-form-field x-form-text x-triggerfield-noedit  x-form-focus" id="x-auto-689-input" tabindex="0" readonly="" autocomplete="off" style="width: 204px;">
                    <img class="x-form-trigger x-form-trigger-arrow " src="https://xxxxx:8443/UI/clear.gif" id="x-auto-690">
            </div>
        </div>
        <div class="x-form-clear-left">
        </div>
    </div>
    Last edited by mickyg; 17 Jun 2010 at 5:57 AM. Reason: added code

  2. #2
    Sencha User
    Join Date
    Sep 2013
    Posts
    2
    Vote Rating
    0
    Cblouin is on a distinguished road

      0  

    Default I got it working...

    I got it working...


    My syntax might be a little different from yours but this is how i got my EXTJS combo selection to work:

    @browser.text_field(:id,"companyComboBox-inputEl").set(company)
    @browser.text_field(:id,"companyComboBox-inputEl").fire_event('onblur')
    @browser.text_field(:id,"companyComboBox-inputEl").send_keys :tab

    cat

Similar Threads

  1. Testing Ext components with Ruby WATIR
    By girwin in forum Community Discussion
    Replies: 5
    Last Post: 13 May 2014, 1:10 PM
  2. Unable to click on Tabs using Watir
    By bvkoneri in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 21 May 2009, 1:53 AM
  3. The Ajax Experience
    By SeanBlader in forum Community Discussion
    Replies: 19
    Last Post: 17 Oct 2008, 10:36 AM
  4. My first experience with EXTJS
    By SilverJo in forum Community Discussion
    Replies: 11
    Last Post: 27 Aug 2007, 11:06 AM

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi