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
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="1">S/ Chronic</option>
<option value="2">SN / Long Term Care</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 email@example.com.
To post to this group, send email to firstname.lastname@example.org.
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.