Q7

Menu access over styled text with TextViewer record get-editbox instead of get-text-viewer

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.2.15
  • Fix Version/s: 1.2.17
  • Component/s: Runtime
  • Labels:
  • Environment:
    Eclipse SDK
    Version: 4.2.1
    Build id: M20120914-1800 + Egit
  • Test Mode:
    Manual

Description

Import the attached test case.
Q7 records hover-text 7 3 command (line 32, commented) which can't be replayed because of "Unsupported command" reason.

Activity

Hide
Andrey Sobolev added a comment - 18/Feb/13 8:11 PM

Problem with recording,

Code snippet recorded is:

with [get-editor bb | get-editbox] {
    get-menu Paste | click
    hover-text 5 10
}

But should be recorded as:

with [get-editor bb | get-text-viewer] {
    get-menu Paste | click
    hover-text 5 10
}
Show
Andrey Sobolev added a comment - 18/Feb/13 8:11 PM Problem with recording, Code snippet recorded is:
with [get-editor bb | get-editbox] {
    get-menu Paste | click
    hover-text 5 10
}
But should be recorded as:
with [get-editor bb | get-text-viewer] {
    get-menu Paste | click
    hover-text 5 10
}
Hide
Andrey Sobolev added a comment - 18/Feb/13 8:31 PM

Fixed.

Nastya we need to perform deep check or recording for editors.

Some actions was recorded as get-editbox but should be recorded as get-text-viewer.

Show
Andrey Sobolev added a comment - 18/Feb/13 8:31 PM Fixed. Nastya we need to perform deep check or recording for editors. Some actions was recorded as get-editbox but should be recorded as get-text-viewer.
Hide
Andrey Sobolev added a comment - 18/Feb/13 9:17 PM

Reopen, since test failures.

Show
Andrey Sobolev added a comment - 18/Feb/13 9:17 PM Reopen, since test failures.
Hide
Andrey Sobolev added a comment - 18/Feb/13 9:20 PM

Need to improve recording, and record get-text-viewer then new text-viewer commands are used, in case of get-editobox is already associated with widget.

Show
Andrey Sobolev added a comment - 18/Feb/13 9:20 PM Need to improve recording, and record get-text-viewer then new text-viewer commands are used, in case of get-editobox is already associated with widget.
Hide
Andrey Sobolev added a comment - 19/Feb/13 8:59 AM

Fixed.

Now if get-textedit is already used, then new text-viewer commands will be used, get-text-viewer will be recorded.

Show
Andrey Sobolev added a comment - 19/Feb/13 8:59 AM Fixed. Now if get-textedit is already used, then new text-viewer commands will be used, get-text-viewer will be recorded.
Hide
anastasia.ahramenko added a comment - 22/Feb/13 12:57 PM

Verified.

Show
anastasia.ahramenko added a comment - 22/Feb/13 12:57 PM Verified.

People

Vote (0)
Watch (0)

Dates

  • Created:
    29/Jan/13 12:00 PM
    Updated:
    22/Feb/13 12:57 PM
    Resolved:
    19/Feb/13 8:59 AM