I have a text boxes available in my web page and button too. When i use "SetValue" method to enter the values in text box it is working fine but when i click on a button the values entered in text box is getting cleared. Not sure why is that happening. I havesmall cross icon at end of the Text box..Do you guys think that is causing the issue?
Please find my code below:
browser.describe(EditField.class, new CSSDescription("#last-name")).setValue("Sample");
browser.describe(WebElement.class, new WebElementDescription.Builder()
After clicking on the button it is getting cleared. It is weired. it would be great if some Lean FT experts can help me out....