Settextvalue
From LDTP
| Table of contents |
Set text value
settextvalue ('<window name>', '<component name>', '<text>')
Description
puts the text into the component given by the component name
Implementation
In text.c (http://forge.novell.com/modules/xfmod/cvs/cvsbrowse.php/ldtp/pyldtp/text.c)
returns 1 on success and 0 otherwise
In combo_box.c (http://forge.novell.com/modules/xfmod/cvs/cvsbrowse.php/ldtp/pyldtp/combo_box.c)
Combo box will be associated with child of type 'Text' when one of its child is 'List'. This action gets object handle of 'Text' object associated with combo box and then sets value given in argument in that text box
Example
With respect to gnome search tool structure
settextvalue ('SearchforFiles', 'txtNameContainsEntry', 'abcd')
This is to insert the text 'abcd' into the 'txtNameContainsEntry' field.
In combo box:
TODO settextvalue ('dlgName', 'cmbName', '<argument>')

