Q7

Cell-editors are not treated correctly.

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.3.10
  • Fix Version/s: 1.3.x
  • Component/s: Recording, Runtime
  • Labels:
    None
  • Environment:
    Windows OS, Q7-D13-445
  • Test Mode:
    Manual

Description

Problem #1:

Try to replay Q7 test "DialogCellEditorML_Activate" (http://build.xored.com/browse/Q7-Q7D13-QLT-445/test/case/78748728).
It fails at line 30 with the following failure:

The Window "[-from, MultiLineCellEditor.activate()]" could not be found.
at get-window

If you comments the previous code it passes:

with [get-view "Q7 Quality Mockups" | get-group "Dialog CellEdit Mouse Listener Table Test" | get-table] {
    select root1
    get-cell 0 2 | mouse up
}

Problem #2:

Try to record the following case on the same Mockup (Dialog CellEdit Mouse Listener Table Test):

  1. Select root1 - column2 and press "..." button;
  2. Press OK button;
  3. Select root2 - column2 and press "..." button;
  4. Press OK button;
  5. Select root3 - column2 and press "..." button;
  6. Press OK button;

The following code is generated and fails to be replayed:

with [get-view "Q7 Quality Mockups" | get-group "Dialog CellEdit Mouse Listener Table Test" | get-table] {
    get-cell 0 1 | mouse down -count 1
    activate-cell-edit -column 1
    get-editbox | click-text 1
    get-button "..." | click
    apply-cell-edit
}
get-window -class "" | get-button OK | click
with [get-view "Q7 Quality Mockups" | get-group "Dialog CellEdit Mouse Listener Table Test" | get-table] {
    get-cell 1 1 | mouse down -count 1
    activate-cell-edit -column 1
    apply-cell-edit -deactivate
    get-button "..." | click
    apply-cell-edit
}
get-window -class "" | get-button OK | click
with [get-view "Q7 Quality Mockups" | get-group "Dialog CellEdit Mouse Listener Table Test" | get-table] {
    get-cell 2 1 | mouse down -count 1
    activate-cell-edit -column 1
    apply-cell-edit -deactivate
    get-button "..." | click
    apply-cell-edit
}
get-window -class "" | get-button OK | click
get-view "Q7 Quality Mockups" | get-group "Dialog CellEdit Mouse Listener Table Test" | get-table | apply-cell-edit 
    -deactivate

Code fails on line 13 with the following error:

The button "..." could not be found. 

Issue Links

Activity

Hide
Andrey Sobolev added a comment - 13/Dec/13 1:22 PM

Reproduced #2 on mac.

Show
Andrey Sobolev added a comment - 13/Dec/13 1:22 PM Reproduced #2 on mac.

People

Vote (0)
Watch (0)

Dates

  • Created:
    12/Dec/13 2:12 PM
    Updated:
    31/Mar/14 8:09 AM