I'm going to disagree with everyone here. If your script doesn't play
back, but you can find the element with the "Find" button, your xpath
is fine. It means one of two things:
Option 1 : your script isn't waiting long enough. Insert a
waitForVisible command before your failed test, using the same
locator.
Option 2 : you have the wrong frame selected when the command fires.
Perhaps there is a selectFrame command somewhere in the script
earlier. To test this, insert a selectWindow("null") before your
failed step.
These are common problems with recording tests with the IDE.