For Eg @FindBy(how = How.XPATH, using="//input[@name='Username']")
here I want to replace the value of the string constant "//input[@name='Username']"
with a string variable , even though I declare the variable as final I am unable to pass the variable as a parameter. I want to write like this
final static String Username_xpath="//input[@name='Username']";
@FindBy(how = How.XPATH, using=Username_xpath)