Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

New answers tagged

0

According to you statement, it looks like clear fails to clear field. Can you try to add following code into the automation to clear up field and test it with it? static String getValueFromElement(WebElement locator) { return tryFindElement(locator).getAttribute("value") } This method above will return you the what's written in the element. ...


0

Make sure that before sending the text,filed is clearing properly. add assert before sendkeys to make sure that text field is empty


Top 50 recent answers are included