deletetext ('<window name>', '<component name>', <startindex>, <endindex>)
delete the text from the startindex till the endindex in the component given by the component name
- Return values:
-
| 1 | on success and 0 otherwise |
Refer:
http://webcvs.freedesktop.org/ldtp/ldtp/src/text.c
With respect to gedit tool structure
deletetext ('gedit', 'txtName', 1, 3)
This is to delete the text from the startindex to endindex specified in the 'txtName'field.
- Author:
- Kamakshi <poorvakrishna@yahoo.com>