|
From: Jason S. <jsw...@ya...> - 2011-01-28 14:19:36
|
From: Richard Williams <ri...@ro...> To: sim...@li... Sent: Thu, January 27, 2011 3:46:59 PM Subject: [Simpletest-support] SimpleBrowser setField question >There is an argument "position" on the setField method of SimpleBrowser. I >cannot find any docs explaining its use or if it is actually used within SimpleTest. >Can someone enlighten me? Hi Richard, I am certain this will not count as enlightenment. http://simpletest.org/api/__filesource/fsource_SimpleTest_WebTester_form.php.html#a233 is where this gets used, default is to pass false. Best I can determine, if your selection criteria can identify multiple targets in the form, the position parameter lets you target a specific one to set the value. Regards, Jason |