Q7

"get-control Any" command is recorded when I click Ctrl+PageUp to switch between editors.

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.2.9
  • Fix Version/s: 1.2.11
  • Component/s: Recording
  • Labels:
  • Test Mode:
    Manual

Description

Use Eclipse SDK 4.2.1 as AUT.

Open 2 class editors and try to switch between them using Ctrl+PageUp.

Q7 records the following (and fails to execute it):

with [get-editor "Class2.java"] {
    get-canvas | key-type "TRAVERSE_PAGE_PREVIOUS"
    get-control Any -index 5 | key-type "TRAVERSE_PAGE_PREVIOUS"
    get-control Any -index 3 | key-type "TRAVERSE_PAGE_PREVIOUS"
    get-control Any -index 2 | key-type "TRAVERSE_PAGE_PREVIOUS"
    get-control Any -index 1 | key-type "TRAVERSE_PAGE_PREVIOUS"
    get-control Any -index 0 | key-type "TRAVERSE_PAGE_PREVIOUS"
}
get-control Any -index 38 | key-type "TRAVERSE_PAGE_PREVIOUS"
get-tab-folder -index 1 | key-type "TRAVERSE_PAGE_PREVIOUS" -times 2
get-editor "Class1.java" | click

Activity

People

Vote (0)
Watch (0)

Dates

  • Created:
    02/Nov/12 3:02 PM
    Updated:
    20/Nov/12 12:36 PM
    Resolved:
    19/Nov/12 3:55 PM