selecttextbyindexandregion ('<window name>', '<text object name>'[, <start position>[, <end position>[, <selection number>]]])
Select text by index (text selection change based on index) and the region (start and end position)
| 1 | on success, LdtpExecutionError exception on failure |
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/text.c