[ MENU ]

A

activatetext activatewin activatewinpartialname addlogger appendtext

B

bindtext blackoutregion

C

calendar calendarview capturetofile check checkbox checkmenuitem checkrow classpstats click closeappwindow combobox comboselect comboselectindex comparetextproperty containstextproperty copytext cuttext

D

decrease deletetext doesmenuitemexist doesrowexist doubleclick doubleclickrow

E

embeddedcomponent enterstring expandtablecell

G

general generatekeyevent generatemouseevent getactivewin getapplist getcellvalue getcharcount getcursorposition geteventcount getlabel getlabelatindex getobjectinfo getobjectlist getobjectproperty getpanelchildcount getrowcount getslidervalue getstatusbartext gettabcount gettablerowindex gettextproperty gettextvalue gettreetablerowindex getvalue getwindowlist grabfocus guiexist guitimeout

H

hasstate hidelist

I

icon imagecapture imagecompare imaging increase index initappmap inserttext invokemenu istextstateenabled

L

label launchapp layeredpane ldtplog list listsubmenus log logging ltfx

M

main menucheck menuitem menuuncheck mouseleftclick mousemove mouserightclick

O

objectexist objtimeout onedown oneleft oneright oneup onwindowcreate

P

pages pagetablist panel partialexists pastetext press processstatistics pushbutton

R

radiobutton radiomenuitem reinitldtp releasecontext remap removecallback rightclick

S

scrollbar scrolldown scrollleft scrollright scrollup selectcalendardate selectevent selecteventindex selectindex selectitem selectlabelspanelbyname selectlastrow selectmenuitem selectpanel selectpanelname selectrow selectrowindex selectrowpartialmatch selecttab selecttabindex selecttextbyindexandregion selecttextbyname selecttextitem setcellvalue setcontext setcursorposition setlocale setloglevel setmax setmin settablecell settextvalue setvalue showlist singleclickrow slider sortcolumn sortcolumnindex spinbutton startldtplog startlog stateenabled statusbar stopldtplog stoplog stopscriptengine

T

table text todo togglebutton toolbar tree treetable typekey

U

uncheck uncheckrow

V

verifybuttoncount verifycheck verifycheckrow verifydropdown verifyeventexist verifyhidelist verifymenucheck verifymenuuncheck verifypartialmatch verifypartialtablecell verifypushbutton verifyscrollbar verifyscrollbarhorizontal verifyscrollbarvertical verifyselect verifysettext verifysetvalue verifyshowlist verifyslider verifysliderhorizontal verifyslidervertical verifystatusbar verifystatusbarvisible verifytablecell verifytoggled verifyuncheck verifyuncheckrow verifyvisiblebuttoncount

W

wait waittillguiexist waittillguinotexist waitwinname waitwinpartialname window windowexists
Ciekawe strony
statslepiej prywatnie czy u firmy
2008 speedway ekstraliga
absolution
ambasadorowie
ironia
prezentacja antygenu
praszka
wojna peloponeska
atomowki
hotel warszawa

gettextvalue

Syntax

gettextvalue ('<window name>', '<component name>', <startoffset>, <endoffset>)

Description

returns the text within the given range in the component given by the component name. <startoffset> and <endoffset> are optional. If they are ommited, the entire text is returned.

Implementation

Todo:
Return values:
text data of string type on success, LdtpExecutionError exception on failure
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/text.c

Example

With respect to gnome search tool structure

gettextvalue ('SearchforFiles', 'txtNameContainsEntry')

The above statement will return the text present in 'txtNameContainsEntry' field.

gettextvalue ('SearchforFiles', 'txtNameContainsEntry', 5)

The above statement will return the text present in 'txtNameContainsEntry' field starting from the fifth character.

gettextvalue ('SearchforFiles', 'txtNameContainsEntry', 5, 10)

The above statement will return the text present in 'txtNameContainsEntry' field starting from the fifth character

till the tenth character.

Author:
Premkumar J <prem.jothimani@gmail.com>


Linux Desktop Testing Project