LDTP
3.5.0
|
grabfocus('<window name>'[, '<component name>'])
gives focus to the specified context or component, in case of a text box the cursor is placed in it.
1 | on success, else LdtpExecutionError exception |
With respect to gnome search tool structure
settextvalue('SearchforFiles', 'txtNameContainsEntry')
This places the cursor in the 'txtNameContainsEntry' field.