Status: New
Owner: ----
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
http://code.google.com/p/selenium/issues/detail?id=5327

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!

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
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 selenium-developer-activity+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-developer-activity@googlegroups.com.
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.

Search Discussions

  • Selenium at Mar 12, 2013 at 6:58 pm
    Comment #1 on issue 5327 by ikman...@yahoo.co.uk: SelectElement doe snot
    work on a page factory element after 2.31.2
    http://code.google.com/p/selenium/issues/detail?id=5327

    Selenium version:2.31.2
    OS:Windows 7
    Browser:IE
    Browser version: IE9

    --
    You received this message because this project is configured to send all
    issue notifications to this address.
    You may adjust your notification preferences at:
    https://code.google.com/hosting/settings

    --
    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 selenium-developer-activity+unsubscribe@googlegroups.com.
    To post to this group, send email to selenium-developer-activity@googlegroups.com.
    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.
  • Selenium at Mar 12, 2013 at 7:30 pm
    Updates:
      Status: Accepted

    Comment #2 on issue 5327 by james.h....@gmail.com: SelectElement doe snot
    work on a page factory element after 2.31.2
    http://code.google.com/p/selenium/issues/detail?id=5327

    It's highly likely this is a duplicate of issue #5306, which was fixed in
    revision 66a54be07398.

    --
    You received this message because this project is configured to send all
    issue notifications to this address.
    You may adjust your notification preferences at:
    https://code.google.com/hosting/settings

    --
    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 selenium-developer-activity+unsubscribe@googlegroups.com.
    To post to this group, send email to selenium-developer-activity@googlegroups.com.
    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.
  • Selenium at Mar 12, 2013 at 8:33 pm
    Updates:
      Labels: Lang-CSharp

    Comment #3 on issue 5327 by barancev: SelectElement doe snot work on a page
    factory element after 2.31.2
    http://code.google.com/p/selenium/issues/detail?id=5327

    (No comment was entered for this change.)

    --
    You received this message because this project is configured to send all
    issue notifications to this address.
    You may adjust your notification preferences at:
    https://code.google.com/hosting/settings

    --
    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 selenium-developer-activity+unsubscribe@googlegroups.com.
    To post to this group, send email to selenium-developer-activity@googlegroups.com.
    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.
  • Selenium at Oct 19, 2013 at 5:03 pm
    Updates:
      Status: Fixed
      Labels: -Status-Untriaged

    Comment #4 on issue 5327 by barancev: SelectElement doe snot work on a page
    factory element after 2.31.2
    http://code.google.com/p/selenium/issues/detail?id=5327

    Closing after comment 2

    --
    You received this message because this project is configured to send all
    issue notifications to this address.
    You may adjust your notification preferences at:
    https://code.google.com/hosting/settings

    --
    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 selenium-developer-activity+unsubscribe@googlegroups.com.
    To post to this group, send email to selenium-developer-activity@googlegroups.com.
    Visit this group at http://groups.google.com/group/selenium-developer-activity.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupselenium-developer-activity @
categoriesselenium
postedMar 12, '13 at 6:58p
activeOct 19, '13 at 5:03p
posts5
users1
websiteseleniumhq.org

1 user in discussion

Selenium: 5 posts

People

Translate

site design / logo © 2021 Grokbase