Textbox id varying

Textbox id varying while running the command ‘type’ after a successfull record and play. At the end macro stopping with error “timeout reached when looking for element ‘id=input-381’”.
SOmebode please help

Write the web page address to be able to see the xpaths and understand the problem

I used to create record and play for a simple insert screen with two fields

  1. Code
  2. Name
    After a successfull run, from the next it showing
    timeout reached when looking for element ‘id=input-381’
    this happens when macro try to type some value in it.
    Not able to provide the web page details. SInce it is coonfidential.