ID and position are not specific to IconView but apply for the SvTreeListBox base class just the same. Move the logic to set those properties in the UI test to the TreeListUIObject base class, so it can be reused for SvTreeListBox/weld::TreeView tests in an upcoming commit. Change-Id: Ia6f27e714cebfe6a6cdc1bf0558c50ff09e41757 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205840 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>