LDTP  3.0.0
deletetext

Syntax

deletetext('<window name>', '<component name>', <startindex>, <endindex>)

Description

delete the text from the startindex till the endindex in the component given by the component name

ImplementationDetails

Return values
1on success and 0 otherwise

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

Example

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 poorv.nosp@m.akri.nosp@m.shna@.nosp@m.yaho.nosp@m.o.com


Linux Desktop Testing Project