LDTP
3.5.0
|
verifysettext('<window name>', '<component name>', '<text>')
checks if the text is inserted into the component given by the component name
1 | if the text is inserted into the specified component else returns 0 |
Refer: Linux: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtpd/combo_box.py
Mac: https://github.com/ldtp/pyatom/blob/master/atomac/ldtpd/text.py
Windows: https://github.com/ldtp/cobra/blob/master/Ldtpd/Text.cs
With respect to gnome search tool structure
verifysettext('SearchforFiles', 'txtNameContainsEntry', 'abcd')
This is to verify if the previous settextvalue function has inserted 'abcd' into the txtNameContainsEntry field in the gnome search tool