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

Field Original Value New Value
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

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):
{noformat}
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
{noformat}
Fix Version/s 1.2.10 [ 11880 ]
Hide
Ulyana Skorokhodova added a comment - 20/Nov/12 12:36 PM

verified on Q7-D12-485

Show
Ulyana Skorokhodova added a comment - 20/Nov/12 12:36 PM verified on Q7-D12-485
Ulyana Skorokhodova made changes - 20/Nov/12 12:36 PM
Status Resolved [ 5 ] Closed [ 6 ]
Transition Time In Source Status Execution Times Last Executer Last Execution Date
Open Open Resolved Resolved
17d 53m 1 sergey 19/Nov/12 3:55 PM
Resolved Resolved Closed Closed
20h 40m 1 Ulyana Skorokhodova 20/Nov/12 12:36 PM

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