I am typing some value, on change do a total. But somehow, this event is not getting fired with selenium type command.
I also tried typeKey and typeAt ..But no succe
I faced the same issue but able to resolve this issue. Below code is for enter text in input field and fire onchange event.
WebElement textBox = driver.findElement(By.xpath(xpath));
textBox.sendKeys("Test");
((JavascriptExecutor) driver).executeScript("arguments[0].onchange",
Arrays.asList(textBox));
Hope it will work!