Difference between "Key Sequence" and "Key Shortcut"?

Ask general questions here.
BCTest
Posts: 121
Joined: Tue Jun 03, 2014 10:15 am
Location: Hamburg, Germany

Difference between "Key Sequence" and "Key Shortcut"?

Post by BCTest » Fri Dec 11, 2015 10:14 am

Hello,

our application starts with two forms:
  • 1. Login
    2. Search for update
Each form can be confirmed by pressing "{Return}"
  • "Key Sequence"
    When confirming Login using the "Key Sequence"-function the Search-Update-form sometimes also was confirmed (this can be easily verified because only then confirming this form a value in the database is changed) - as if the form received an echo of the "Key Sequence" "{Return}" from the Login.

    "Key Shortcut"
    When confirming Login using the "Key Shortcut"-function (or mouse-click) the Search-Update-form always was shown - as it should be.
What exactly is the difference between "Key Sequence" and "Key Shortcut" in Ranorex 5.4.4?

Regards,
Thomas

krstcs
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Difference between "Key Sequence" and "Key Shortcut"?

Post by krstcs » Fri Dec 11, 2015 2:50 pm

Key Sequence should be used for entering strings of data, such as names or other text input.

Key Shortcut only fires ONE key code (which can be modified by Ctrl, Shft, or Alt, or a combination of these). As the name suggests, this is used for shortcut key combinations only. If you need to press 'Enter' then you should use Key Shortcut in most cases.
Shortcuts usually aren't...