LDTP
3.0.0
|
cuttext('<window name>', '<component name>', <startindex>, <endindex>)
Cut the text from startindex till the endindex in the component given by the component name
1 | on success and 0 otherwise |
Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/text.c
With respect to gedit tool structure
cuttext('gedit', 'txtName', 1, 3)
This is to cut the text from the startindex position till the endindex in the 'txtName' field.