Now I have method, which will return me xpath value i.e.
public String xpathValue (String countryName){
return "//*[label="+countryName+"]"
}
And if I call it with Nigeria it will return me value like this:
//*[@label=Nigeria]
But I want value surrounded with double quotes, like this:
//*[@label="Nigeria"]
How can I achieve this?