Q7

Q7 records an excessive command when checkbox cell editor is modified.

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.2.18
  • Fix Version/s: 1.2.x
  • Component/s: Recording
  • Labels:
    None
  • Test Mode:
    Manual

Description

Use CheckBoxCellEditorMockup2 (/com.xored.q7.quality.mockups.swt/src/org/eclipse/jface/viewer/CheckBoxCellEditorMockup) and run it as AUT.
Try to modify second column.
Q7 records the following:

with [get-view "Q7 Quality Mockups" | get-group CheckBoxCellEditor2 | get-table] {
    select Name
    get-cell 0 1 | uncheck
}
with [get-view "Q7 Quality Mockups" | get-group CheckBoxCellEditor2 | get-table] {
    get-cell 0 1 | mouse down -with Left -count 1
    get-cell 0 1 | check
    get-cell 0 1 | mouse down -with Left -count 1
}

If you add an assertion for column value and run the test - it fails because wrong value is set during replay.
If you comment get-cell 0 1 | mouse down -with Left -count 1 command - test passes ok.

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    15/Apr/13 10:10 AM
    Updated:
    15/Apr/13 10:10 AM