Skip to content

Get Text in Sel2Lib please #94

Closed
Closed

Description

@hemakannan

Can we pls bring back this function/keyword.. Its a total awesome keyword that definitely should be a part of Sel2Lib.

Activity

  1. emanlove commented on Aug 23, 2012

    @emanlove
    Member

    On 08/22/2012 11:08 PM, hemakannan wrote:

    Can we pls bring back this function/keyword.. Its a total awesome
    keyword that definitely should be a part of Sel2Lib.


    Reply to this email directly or view it on GitHub
    #94.

    This change has been commited and will be in the next release. If you
    require this change sooner you can either grab the main branch or cherry
    pick out the commit.

    Ed

  2. hemakannan commented on Aug 23, 2012

    @hemakannan
    Author

    Yay ! Thank you so much....
    I hope the add location strategy is also brought back into sel2lib. Jeremy said he was going to look at it (#77). If that also is brought in, there is nothing holding us back to port over to Sel2Lib. Crossing my fingers.
    Thank you so much guys for supporting this awesome framework !

  3. hemakannan commented on Aug 23, 2012

    @hemakannan
    Author

    Oh BTW when will the next release be. I can wait until then.

  4. emanlove commented on Aug 23, 2012

    @emanlove
    Member

    On 08/22/2012 11:29 PM, hemakannan wrote:

    Oh BTW when will the next release be. I can wait until then.


    Reply to this email directly or view it on GitHub
    #94 (comment).

    Hopefully in the next couple of weeks. There was an issue with Selenium
    2.25.0 which was causing the internal tests to fail. That has been
    taken care of but I did notice one more issue with a drag and drop
    test. So I need to look into that when I get some time.

  5. hemakannan commented on Aug 23, 2012

    @hemakannan
    Author

    ok, great. Thanks so much. I will close this ticket.

  6. PriyaAn commented on Sep 26, 2012

    @PriyaAn

    Is selenium2library with "getText" keyword released??

  7. emanlove commented on Sep 26, 2012

    @emanlove
    Member

    Is selenium2library with "getText" keyword released??

    It is within the main branch but has not yet been released. We are
    trying and I would like to see us cut a release by Friday, Sept 28,
    2012. In the mean time you can grab the source from
    https://github.com/rtomac/robotframework-selenium2library

    git clone git://github.com/rtomac/robotframework-selenium2library.git
    rf-s2l

  8. PriyaAn commented on Sep 27, 2012

    @PriyaAn

    Thank You So Much...

  9. PriyaAn commented on Oct 1, 2012

    @PriyaAn

    Is it released on 28th September?

  10. emanlove commented on Oct 1, 2012

    @emanlove
    Member

    No its has not yet been released. We will announce the release on robotframework mailing list.

  11. ombre42 commented on Oct 2, 2012

    @ombre42
    Contributor

    not sure if anyone notice issue #115. get text does not throw exception if element is not found

  12. emanlove commented on Oct 2, 2012

    @emanlove
    Member

    Looking into this now. One issues I am seeing is that we are inconsistent with our error reporting when an element is not located. We have

    raise ValueError("Element '%s' not found." % (locator))
    
    raise AssertionError("ERROR: Element %s not found." % (locator))
    
    raise ValueError("Element locator '" + locator + "' did not match any elements.")
    

    I think the last is the best solution as it captures most instances of unlocatable elements. Also this issues also effects 'Element Should Contain' for which looking at the code will present a similar issue if an element is not found.

  13. emanlove commented on Oct 2, 2012

    @emanlove
    Member

    'Get Text' and 'Element Should Contain' now throws exception if element is not found. See #127.

  14. shrutishrivastava commented on Oct 22, 2012

    @shrutishrivastava

    Is there any update regarding getText functionality?
    Is it possible to create our own keyword for getText?
    If yes, Please share the procedure.

  15. Arpitha10 commented on Mar 22, 2016

    @Arpitha10

    Just came across this thread while searching solution for my issue. I'm using Get Text in Robot. I can say behaviour is different of Selenium2Library. I get my text in SeleniumLibrary but not in Selenium2Library. Any input on this.

  16. aaltat commented on Mar 22, 2016

    @aaltat
    Contributor

    The underlying functionality of selenium RC, which SeleniumLibrary is using and selenium webdriver, which Selenium2Library is using may be different.

    Because this issue was requested for a new keyword and it seems that you are having difficulty to get the text with the keyword. They are different things and therefore would it be possible to open a new issue and explain your problem with better details.

  17. Arpitha10 commented on Mar 22, 2016

    @Arpitha10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions