Skip to content

Press Enter Key doesn't work #4

Closed

Description

@adwu73

Hi there,

I have downloaded the latest lib, and trying in my system. I have trouble click an area, so I am trying to focus on the area first and then press an ENTER key. I am using PRESS KEY | myid | \13. However, I got following error: valueError: ("Key value '%s' is invalid.", u'13')

Thanks!

Adam

Activity

  1. adwu73 commented on Nov 27, 2011

    @adwu73
    ContributorAuthor

    The issue is solved, I should use "Press Key | login_button | \13". One more slash, the python code gives the correct example. However, the F5 keyword gives the wrong example. Should this be fixed?

  2. hali4ka commented on Dec 15, 2011

    @hali4ka

    I had the same problem using Firefox 8 and I found that it should be used key 10 instead of 13.

  3. daluu commented on Dec 22, 2011

    @daluu

    Worthwhile to document for library/wiki if no code fix needed.

  4. hbmartin commented on Jul 19, 2012

    @hbmartin

    Perhaps there can be an ${enter} variable that inserts the appropriate character value?

  5. aminK1 commented on Feb 8, 2015

    @aminK1

    you would need to escape first backslash in RF.
    This should solve your issue..

    "Press Key login_button \13"

  6. added a commit that references this issue on Jul 29, 2015
  7. bulletforyou commented on Jan 22, 2016

    @bulletforyou

    The answer above that all of you said are wrong,
    the correct answer is
    Press Key| login_button |\13

    There are two Backslashes instead of one's before 13

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions