Search field in web application for second data is not working


I have multiple document ID(numeric value) in excel file,then i am sending this document ID to on Web application.After filling document ID on web application,clicking on “SEARCH” button & it is searching successfully only for first ID,but for second ID onward is not going in SEARCH field of web application and it’s throwing an exception “Set Text ‘INPUT 1valueName’ : The UiElement is no longer valid”.Even before filling in the search field able to display second ID. please help me to resolve this.

Its just matter of dynamic selector.
Please use UiExplorer to find out most reliable selector.
You could make use of wildcards *.

More on Selector

@ddpadil thanks for the reply.