/BrowserApplication//BrowserWindow//input[@id='loginButton']If you have a textContents Login listed in the Locator Attribute table, you can manually change the locator to the following:
/BrowserApplication//BrowserWindow//input[@textContents='Login']The new locator displays in the Selected Locator text box.
The test method, into which you want to paste the locator, must use a method that can take a locator as a parameter. Using the Locator Spy ensures that the locator is valid.