Web recording while loop


#1

Hi,

New to web recording.
How can I do a while/do while loop for a web recording?

So the task is to delete the items on the webpage until the page shows " There are no items in the recycle bin."

I have the task already in recording for the page, but just need to do it again and again until the end. Thanks! I am not sure where to put as the VB expression in the condition.

I am trying to use element exists to do it:
image

But it is not specified " There are no items in the recycle bin." and it always returns true… what should I add here? Thanks

I used UIExplorer, and tried to click on this, but it shows me an error…
image

I tried to add this to my selector (can’t show when I add <)

html app=‘chrome.exe’ title=‘Recycle Bin’ />
webctrl id=‘onetidUserRptrTable’ tag=‘TABLE’ />
webctrl tag=‘TD’ aaname=‘There are no items in the recycle bin.’/>

but it changes it back to
html app=‘chrome.exe’ title=‘Recycle Bin’ />
webctrl id=‘onetidUserRptrTable’ tag=‘TABLE’ />
webctrl tag=‘TD’ />

automatically… please help. thanks

I also tried to use text exists, but it always gives me false…

Regards,
Lavina