1
I have a code where it captures data from a field, using the Selenium Webdriver and insert into another field.
I would add (captured field + 1000) and then insert into another field.
Where I’ll insert + 1000?
WebElement ultimokm = driver.findElement(By.id("customfield_23430"));// captura dados no campo
String getultimokmtext = ultimokm.getAttribute("value");
WebElement kmatual = driver.findElement(By.id("customfield_17202"));
kmatual.clear();
kmatual.sendKeys(getultimokmtext);