All pastes #543785 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-06-06 05:30 UTC
rendered paste body
>>> from ldtp import *
>>> getobjectlist ('dlgMinefieldPreferences')
[u'pnlPasswords', u'btnChangeMasterPassword', u'btnShowPasswords',
u'btnHelp', u'btnClose', u'dlgMinefieldPreferences', u'scpnFeeds',
u'lblPasswords', u'btnSettings', u'btnExceptions1', u'scpnContent',
u'pnl0', u'chkUseamasterpassword', u'pnlWarningMessages',
u'scpnPrivacy', u'pnl1',
u'rbtnCheckusingadownloadedlistofsuspectedsites',
u'cboCheckbyaskingGoogleabouteachsiteIvisit',
u'chkRememberpasswordsforsites',
u'chkWarnmewhensitestrytoinstalladd-ons', u'scpnAdvanced', u'lst0',
u'scpnTabs', u'btnExceptions', u'mnuGoogle',
u"chkTellmeifthesiteI'mvisitingisasuspectedforgery",
u'lblabouteachsiteIvisit', u'scpnSecurity',
u'rbtnCheckbyaskingGoogleabouteachsiteIvisit', u'lblWarningMessages',
u'lblChoosewhichwarningmessagesyouwanttoseewhilebrowsingtheweb',
u'scpnMain']
>>> selectindex ('dlgMinefieldPreferences','lst0', 1)
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "/usr/local/lib/python2.5/site-packages/ldtp.py", line 1190, in
selectindex
   raise LdtpExecutionError (str (msg))
ldtp.LdtpExecutionError: "u'selectindex failed: Unable to get the
selected child item from the list'"
>>>