How to store text from pre-filled text box


I’m trying to store the URL in a pre-filled text box to a variable in Katalon Recorder, but I don’t get it working. The standard “storeText” only manages to store an empty string.

This is what the textbox looks like:

This is what the element locator drop-down box looks like when selecting it. I have tried all the options, same result:

And this is what the elemnent looks like if I press “inspect element” in chrome (not sure if this is helpful)

I hope this is not a stupid question, I’m very new to the inner workings of websites and this tool. Any help is very much appriciated.

I suspect that I should use “storeAttribute” somehow, but I don’t really get that command and all my attempts have failed.

Thanks in advance :smiley:

OK, typing “@value” with “storeAttribute” solved the problem.
storeAttribute | id=chargingStation.stationConnectivity.url@value | test

I could have sworn I tried that already, but apparently not.

You’re right,that works too. Thanks!

No idea why it took me so long to figure out, haha