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

Vasili Gulevich made changes - 17/Apr/13 2:28 PM
Field Original Value New Value
Link This issue is related to QS-2552 [ QS-2552 ]
Vasili Gulevich made changes - 17/Apr/13 2:31 PM
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.

User can hand-made following script:
{noformat}
        with [get-text-viewer] {
            type-text "Close me!"
            key-type "M1+s"
            close
        }
{noformat}
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.
Vasili Gulevich made changes - 17/Apr/13 3:03 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Vasili Gulevich made changes - 18/Apr/13 4:23 PM
Summary Is should be impossible to close text editor control Text editor control should not be eligible to close

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