Test Automation Obstacle: Not a table

Can you do this one?

Hard Let's assume your 'application under test' generates an offer id every time you click the according button. Unfortunately it gets added to the table randomly. Find a way to automate a stable test step that 1) clicks the button, 2) buffers the generated offer id and 3) enters it into the edit box. The test steps need to run every time!
aria-autoc
none
aria-busy
false
aria-checked
undefined
aria-disabled
false
class
myBad
dir
ltr
dropzone
none
hidden
false
itemId
25
role
button
zIndex
-1

I messed up - please let me try again.

Nah, that's too hard. Take me to the next one

Anchor