Testing - No Selection QScriptTest

From Q
Jump to navigation Jump to search
let selections = project.report.selectedItems();
if (selections.length === 0)
    log("No Selections");
else
    log("Selected guids= " + selections.map(s => s.guid));