LDTP  2.3.1
selecttextbyindexandregion

Syntax

selecttextbyindexandregion('<window name>', '<text object name>'[, <start position>[, <end position>[, <selection number>]]])

Description

Select text by index(text selection change based on index) and the region(start and end position)

Reference: http://developer.gnome.org/doc/API/2.0/at-spi/at-spi-cspi-AccessibleText-Interface.html#AccessibleText-setSelection

Return values:
1on success, LdtpExecutionError exception on failure

Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/text.c

Example

Todo:
Author:
Nagappan Alagappan <nagappan@gmail.com>