i'm working with Selenium RC and coding with Java , my problem is the selenium.type ,My screen contains many labels with the same notation so when i use the method :
selenium.type("//span[text()=\""+remplace+"\"]/following- sibling::input#form:blocConfigurations:configurations:0:parametrage:options:"+ind.get(ii)+"",configuration.getString(listTypMetier.get(il))))
even if the locator is not the same it always keeps typing in the same field.