I am using SmartClientFirefoxDriver. I create a WebElement using this code
This causes loss of characters that have been sent to the NoteTextArea where the wrapping occurred.
Code:
By scByLocator = ByScLocator.scLocator(“//DynamicForm[ID='CG$RECORDER$CONCLUDE$Notes']/item[title=isc_NoteTextArea_0||index=0||Class=AutoFitTextAreaItem]/element”); WebElement webElement = smartClientRemoteWebDriver.findElement(scByLocator); webElement.sendKeys(“enough characters to cause AutoFitTextAreaItem to wrap”);
Comment