Q7

Unable to replay click on change color button in Properties view for gef element

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.2.15
  • Fix Version/s: 1.2.x
  • Component/s: Launching (Runtime)
  • Labels:
  • Test Mode:
    Q7
  • Q7 test:
    ChangingColorsOfUDElements

Description

Steps to reproduce

  1. Use workspace attached, start recording
  2. Open SDK Diagrams/newfile
  3. Select Usecase
  4. Go to Properties view, click on value for Background Color, set a new color
  5. Do the same for Foreground Color
  6. Try to replay
with [get-editor newfile] {
    with [get-diagram -index 1 | get-edit-part -className UsecaseRootEditPart | get-edit-part -text system 
        | get-edit-part -text Usecase] {
        mouse-move 14 19 button1 -height 40 -width 100
        mouse-press 14 19 button1 -height 40 -width 100
        mouse-release 14 19 button1 524288 -height 40 -width 100
        mouse-hover 14 19 -height 40 -width 100
    }
}
get-view Properties | get-tree | select "Background Color" | activate-cell-edit -column 1
set-dialog-result Color "64,0,64"
with [get-view Properties | get-tree] {
    get-button "..." | click
    apply-cell-edit
    select "Foreground Color" | activate-cell-edit -column 1
}
set-dialog-result Color "128,0,128"
with [get-view Properties | get-tree] {
    get-button "..." | click
    apply-cell-edit
}

fail with The Button "..." could not be found. because Value cell is not activated

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    25/Jan/13 2:07 PM
    Updated:
    25/Jan/13 2:07 PM