Hi All,

I am unable to select from a Select dropdown. I have tried using the below
code but it didnt work for me.

Select select = new Select(driver.findElement(Locator));

Also I tried by Index but it didnt work. I debugged and got the below error

"Executing JavaScript click function returned an unexpected error"

Note: The interesting part it is running fine in my local IE10 but while
running from remote machine its not working and showing the above error

Is there any alternative way to do this?

The Html content for the Select item
<select id="myModal" class="span12 " isrequired="true" field-validate=""
ng-options="loc.dbid as loc.serviceName for loc in locList() |
orderBy:'name'" ng-model="" uid="t" title="">
<option id="unselectedLocOption" class="" value=""
uid="unselectedLocOption">-- * Requested LOC: --</option>
<option value="0">P</option>
<option value="1">S/ Chronic</option>
<option value="2">SN / Long Term Care</option>
<option value="3">She</option>
<option value="4">Ski</option>
<option value="5">Sub</option>



You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/852f006d-5421-41a2-9de3-ca32dda49181%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 5 | next ›
Discussion Overview
groupselenium-users @
postedApr 3, '15 at 12:15p
activeApr 8, '15 at 4:19a



site design / logo © 2021 Grokbase