Labels: Type-Defect Priority-Medium Status-Untriaged
New issue 5327 by ikman...@yahoo.co.uk: SelectElement doe snot work on a
page factory element after 2.31.2
Before filing an issue, please read the page at
http://code.google.com/p/selenium/wiki/SeleniumHelp This contains lot of
information about how best to get help, and tells you what we need to know.
Still here? We know that bugs are frustrating and annoying things. We also
know that you've probably spent ages trying to figure out what's wrong. The
more information you give us now, the more likely it is that we'll be able
What steps will reproduce the problem?
1. Recently upgraded to 2.31.2. Change log mentions that page factory may
give unexpected problems after the update. Reporting the issue so that it
is known to everyone and solution can be found out.
2. A page factory element is defined as
[FindsBy(How = How.Id, Using = "EducationLevelID")] [CacheLookup]
public IWebElement _eEducationLevel = null;
An option is selected as below:
new SelectElement(_eEducationLevel ).SelectByText("text of option to be
3. Worked perfectly fine before 2.31.2. After 2.31.2, it does not work.
Selenium hangs at the above step. On stopping the test (in Nunit),
unhandled socketexception error is shown. No call stack information is
displayed as no source is available.
3. However below 2 methods still work:
IWebElement _eL1 = driver.FindElement(By.Id("EducationLevelID"));
new SelectElement(_eL1 ).SelectByText("text of option to be selected")
_eEducationLevel.SendKeys("text of option to be selected")
What is the expected output? What do you see instead?
Please provide any additional information below. A sample reduced test
case, or a public URL that demonstrates the problem will intrigue our merry
band of Open Source developers far more than nothing at all: they'll be far
more likely to look at your problem if you make it easy for them!
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
You received this message because you are subscribed to the Google Groups "Selenium Developer Activity" 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.
Visit this group at http://groups.google.com/group/selenium-developer-activity?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.