Q7

Text editor control should not be eligible to close

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.2.18
  • Fix Version/s: 1.2.19
  • Component/s: Runtime
  • Labels:
    None
  • Test Mode:
    Q7
  • Q7 test:
    CloseTextEditor

Description

User can hand-made following script:

        with [get-text-viewer] {
            type-text "Close me!"
            key-type "M1+s"
            close
        }

This will destroy text editor control without closing parent window, corrupting UI of AUT.

Proposed solution:
throw an error on try to close embedded (uncloseable) controls.

Note:
capture never creates such tests and therefore works OK.

Issue Links

Activity

Hide
Vasili Gulevich added a comment - 17/Apr/13 3:03 PM

Canvas close is now denied.

Show
Vasili Gulevich added a comment - 17/Apr/13 3:03 PM Canvas close is now denied.

People

Vote (0)
Watch (0)

Dates

  • Created:
    17/Apr/13 2:22 PM
    Updated:
    18/Apr/13 4:23 PM
    Resolved:
    17/Apr/13 3:03 PM