How to select JQ Widget drop down using Selenium WebDriver

Hi Lakshay,

I am testing an application being under development phase. Here, most of the drop down filed contains table which are called as jqxGrid. It also facilitates multiple selection of properties. Is there any way to handle this type of control.

How to select JQ Widget drop down using Selenium WebDriver

URL for same http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/index.htm#demos/jqxgrid/dropdowngrid.htm

Regards,
Lajish Lakshmanan

Add Comment
  • 5 Answer(s)

    Some how I have found a work around for selecting drop down control having div class which is usually observed in JQWidgets. We can 2 click events against those drop down controls for selecting any value

    Train Answered on October 27, 2014.
    Add Comment

    Hi Lajish,

    Visit http://www.toolsqa.com/selenium-webdriver/dropdown-multiple-select-operations/. It may help you.

    Regards,
    Vaidy

    Doctor Answered on September 1, 2014.
    Add Comment

    Hi Vaidy,

    This type of selection doesn’t works on JQ Widgets. Since u can’t  find any visible options or visible text in order to do exercise selectbyvisible text or option.

    Here is the html code for same
    <div id=”dropDownButtonContentjqxddb_CHAR_28 class=”jqx-dropdownlist-content style=”outline: medium none; background-color: transparent; border: medium none; float: left; position: relative; width: 240px; height: 25px; left: 0px; top: 0px;></div>

    These JQWidgets are not traditional drop down in which we can have single or multiple cases.

    Hi Lakshay,

    Would you have any suggestions for same.

    Train Answered on September 4, 2014.

    Hi Lajish,

    Can you share some website of this type, so that i can access and try by myself.

    Regards,
    Lakshay Sharma

    on September 12, 2014.
    Add Comment

    Hi Lakshay,

    Thanks for your intervention. Sorry for delay in reply.

    Screenshot which I added above was a part of software product being under development in my organisation, therefore I am not able to share link of same. But I can provide you same type of control widgets through another site from where these type of controls were used.

    Go to http://www.jqwidgets.com/
    Then click ‘Demo’ link at top
    After that click ‘jqxGrid’ link(very first link)
    Click ‘DropDown Grid’ link in left menu
    On right side, a demo drop down gets loaded

    Here I am not able to handle control of that widget. Because SelectByVisibleText/option which we generally use in traditional drop down won’t works here.

    This whole site contains these types of various controls.

    Please help me regarding this.

    Regs,
    Lajish Lakshmanan

    Train Answered on September 19, 2014.
    Add Comment

    Hi Lakshay,

    Please have look over same type of control. You will find same in that website which I already mentioned above.

    RE: How to select JQ Widget drop down using Selenium WebDriver

    Train Answered on September 19, 2014.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.