Q7

Excessive ECL command are added while Grid cell editing is recorded

Details

  • Test Mode:
    Manual

Description

  • start record
  • double-click on item and edit it
  • apply changes by Enter key

the following script is recorded:

with [get-editor "01_Requirements List"] {
    with [get-nebula-grid] {
        *select Energy | click*
        select Energy | activate-cell-edit
    }
    with [get-nebula-grid | get-editbox] {
        set-text Signals
        key-type Enter
    }
    *get-nebula-grid | apply-cell-edit*
}

Issue Links

Activity

Hide
komaz added a comment - 04/Jul/13 3:47 PM

Why these commands are excessive? Each activate-cell-edit should have corresponding apply-cell-edit

Show
komaz added a comment - 04/Jul/13 3:47 PM Why these commands are excessive? Each activate-cell-edit should have corresponding apply-cell-edit
Hide
alexander.sheboltaev added a comment - 05/Jul/13 9:04 AM

In my opinion, recorded script is not very accurate: there is redundant apply-cell-edit after pressing Enter (which intuitively should do the same, in this context).

In addition, it is more technical than user-oriented: as a user, I did double-click when recorded the script, not click and activate-cell-edit.

Show
alexander.sheboltaev added a comment - 05/Jul/13 9:04 AM In my opinion, recorded script is not very accurate: there is redundant apply-cell-edit after pressing Enter (which intuitively should do the same, in this context). In addition, it is more technical than user-oriented: as a user, I did double-click when recorded the script, not click and activate-cell-edit.
Hide
Ulyana Skorokhodova added a comment - 25/Jul/13 2:46 PM

When I activate cell-editing by double-clicking it the following code is recorded and replayed wrongly:

with [get-nebula-grid] {
        select "Air duct Type C" | double-click
        click
        select "Air duct Type C" | activate-cell-edit
        
    }

To make it work right I should shrink it to:

with [get-nebula-grid] {
        select "Air duct Type C" | activate-cell-edit
        
    }
Show
Ulyana Skorokhodova added a comment - 25/Jul/13 2:46 PM When I activate cell-editing by double-clicking it the following code is recorded and replayed wrongly:
with [get-nebula-grid] {
        select "Air duct Type C" | double-click
        click
        select "Air duct Type C" | activate-cell-edit
        
    }
To make it work right I should shrink it to:
with [get-nebula-grid] {
        select "Air duct Type C" | activate-cell-edit
        
    }
Transition Time In Source Status Execution Times Last Executer Last Execution Date
Open Open Resolved Resolved
162d 23h 27m 1 alexander.sheboltaev 04/Dec/13 4:08 PM

People

  • Assignee:
    alexander.sheboltaev
    Reporter:
    alexander.sheboltaev
Vote (0)
Watch (0)

Dates

  • Created:
    24/Jun/13 5:40 PM
    Updated:
    04/Dec/13 4:08 PM
    Resolved:
    04/Dec/13 4:08 PM