Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

WebElement.sendKeys to AutoFitTextAreaItem loses characters when text wraps

$
0
0
I am using SmartClientFirefoxDriver. I create a WebElement using this code

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”);

This causes loss of characters that have been sent to the NoteTextArea where the wrapping occurred.

Viewing all articles
Browse latest Browse all 4756

Trending Articles