Assign variable for IF statement

${count} =    Run Keyword And Return Status    Element Should Not Be Visible    ${NoDataAvailable}
IF                                    ${count}
Delete server
END

Works for me :slight_smile: