def attach_file(self,fieldLocator,fileLocator):
self.do_command("<STR_LIT>", [fieldLocator,fileLocator,])<EOL>
Sets a file input (upload) field to the file listed in fileLocator

'fieldLocator' is an element locator
'fileLocator' is a URL pointing to the specified file. Before the file  can be set in the input field (fieldLocator), Selenium RC may need to transfer the file    to the local machine before attaching the file in a web page form. This is common in selenium  grid configurations where the RC server driving the browser is not the same  machine that started the test.   Supported Browsers: Firefox ("\*chrome") only.