You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.
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
to help.
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 selected");
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?
Selenium version:
OS:
Browser:
Browser version:
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!
Reported by ikman100@yahoo.co.uk on 2013-03-12 18:55:16
The text was updated successfully, but these errors were encountered:
Originally reported on Google Code with ID 5327
Reported by
ikman100@yahoo.co.uk
on 2013-03-12 18:55:16The text was updated successfully, but these errors were encountered: