We're updating the issue view to help you get more done. 

Update GetText() implementation for readonly to use the new hidden readonly field to read the text

Description

Currently, GetText() on BocTextValueControlObject and BocMultilineTextValueControlObject uses, for readonly controls, elementScope.Text for reading the text in the rendered <span> element. The returning value has leading and trailing whitespaces in each line trimmed by selenium, as whitespaces are not visible in the browser. This is a different behaviour than non-readonly text values.

With the change in https://www.re-motion.org/jira/browse/RM-7016 , we can use the new hidden input field to read the text, which should result in the same whitespace behaviour as non-readonly fields.

Assignee

Unassigned

Reporter

Florian Decker

Labels

None

Components

Fix versions

Priority

Normal
Configure