Recording at Breadcrumb causes invalid lines recorded.


  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 1.2.12
  • Fix Version/s: 1.2.13
  • Component/s: None
  • Labels:
  • Test Mode:


Since Breadcrumb implementation uses MouseUp/Down listener to hide popup on mouse up,
and "select" ECL command recorded for tree/table is send mouseDown/Up.
Tests for Breadcrumb are recorded incorrectly:

with [get-view "Package Explorer" | get-tree] {
    select "MyProject/src/\\(default package\\)/Class1.java" | double-click
    select "MyProject/src/\\(default package\\)/Class1.java/Class1" | double-click
get-button "Toggle Breadcrumb" | click
get-editor "Class1.java" | get-button "Show Children" -index 3 | click
with [get-window -from "BreadcrumbItemDropDown.showMenu()" | get-tree ] {
    select Class2
    get-item Class2 | click // <----- This line is not required, since select is send MouseUp/Down, We need to filter it.
get-tab-folder -index 1 | get-property activePage | equals "Class2.java" | verify-true

So we need to improve recording to not record "select Class2" or to not record "get-item Class2 | click"