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.
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.
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
Transition Time In Source Status Execution Times Last Executer Last Execution Date
Open Open Resolved Resolved
40m 21s 1 Vasili Gulevich 17/Apr/13 3:03 PM

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