How to select a dropdown value in ExtJs using selenium webdriver

81 views
Skip to first unread message

Lokanadham Judagiri

unread,
Feb 4, 2015, 5:21:29 AM2/4/15
to seleniu...@googlegroups.com
Hi Team,
Can some one ple help me how to select a dropdown value . below is the firebug code. am new to selenium


<div id="homeAccordion" class=" x-panel x-border-panel" style="width: 265px; left: 1px; top: 34px;">
<div id="ext-gen114" class="x-panel-header x-unselectable mycombo" style="-moz-user-select: none; height: 15px;">
<div id="ext-gen117" class="x-tool x-tool-toggle x-tool-collapse-west"> </div>
<div id="ext-gen119" class="x-form-field-wrap x-form-field-trigger-wrap x-trigger-wrap-focus" style="width: 180px; float: right;">
<input id="etdOTCOption" class="x-form-text x-form-field x-form-focus" autocomplete="off" style="width: 47px;" title="">
<img id="ext-gen120" class="x-form-trigger x-form-arrow-trigger" alt="" src="../gfso-extjs/resources/images/gray/s.gif">
</div>

Saravanan

unread,
Feb 5, 2015, 5:05:53 AM2/5/15
to seleniu...@googlegroups.com
Hi

Take class attribute of input element and try.
You will be able to select dropdown value.

Thanks

Saravanan
Reply all
Reply to author
Forward
0 new messages