The current implementation is dependent on the screen design.
Should be implementation not dependent on the screen design.

Probably..
```
        driver.findElement(
                By.xpath("//input[@value='"
                        + getMessage(MessageKeys.LABEL_TR_MENU_SEARCHBTNMESSAGE)
                        + "']")).click();
```
is better.