Thanks for the reply.
Actually, my requirement is not to get the value inserted in the text field or any web control. Here I am looking for the object name/id of the web control. Similar like when we spy the object and get the name/id value from any automation tool (UFT, Selenium, CodedUI etc.)
Suppose the web page has 2 text box, 1 combo box and 1 submit button. I need to pick all the object name/id value from the HTML control.
So here the BOT should give us the number of objects (web components) and its name/id value from the current web page. In our case the result should look like –
HTML Objects available in the web page – 4 (2 textbox + 1 combo + 1 submit button)
Name/Id of objects – txtUserID, txtPassword, ddlDomain and btnSubmit
I hope, am able to explain it. Please let me know if you have any doubts/questions.