[WebUI] Verify Options Present

This is a companion discussion topic for the original entry at https://docs.katalon.com/katalon-studio/docs/webui-verify-options-present.html

Hi Team,

We have a dynamic dropdown list, where in when you type on in the text box the list appears

attached is the HTML code

I have written a code to verify the options present in the dropdown
WebUI.verifyOptionsPresent(findTestObject(‘GetList/Page_App - Action Items/ActivityActionList’), [‘xyz’])

xpath for the Activity list //li[@id=‘ui-select-choices-0’] (selected all the dropdown options)

But when executed it is giving below error

Options [xyz] do NOT present