public static void inputvalue(WebDriver driver,Map<String, String> formEntryMap,String colKey)
{
if(formEntryMap.containsKey(colKey))
{
String [] input= formEntryMap.get(colKey).trim().split("\n");
for(String inputItem:input)
{
String xPath = xpath of the input field
inputEntry(driver, xPath,inputItem);
}
}
}
There are 2 values in the feature file : 121414 52323434 but these values are getting added in the text box without adding the values in the new line i.e first value should be 121414 and second value should come below the first value.
Can i get a solution pls