How to get attribute from input tag in HTML into XPATH

Hi all,

I want to get an attibute from this tag HTML in XPATH , anybody please help me? thanks

image.png

be more specific… which one? there are 3 marked with 2 types of approach:
1. for input - WebUI.getText(TO)
2. for WebUI.getAttribute(TO, “@data-bind”) resp WebUI.getAttribute(TO, “@href”) for 2nd
to pass this define variable and use parametrization of TO to past it to xpath:
https://docs.katalon.com/katalon-studio/docs/manage-test-object.html#parameterizing-test-object

Hi, thank you… My point is to get Text from input,

Capture2.PNG

in that case, use getText()