0 Replies Latest reply on Aug 14, 2008 12:27 PM by Chris Sweeney

    Selenium IDE test of rich:fileUpload component

    Chris Sweeney Newbie

      I'm using 3.2.2.BETA4.

      My prior selenium tests manipulated the fileUpload component ok, using the following:

      <tr>
       <td>type</td>
       <td>attachments_addFileForm:attachments_fileupload:file</td>
       <td>javascript{test_file_upload}</td>
      </tr>
      <tr>
       <td>click</td>
       <td>//a[contains(text(),'Begin upload...')]</td>
       <td></td>
      </tr>
      <tr>
       <td>click</td>
       <td>attachments_CloseLink</td>
       <td></td>
      </tr>
      <tr>
       <td>waitForElementPresent</td>
       <td>referral:referralAttachmentTable:0:attachmentType</td>
       <td></td>
      </tr>
      


      Unfortunately, the modal dialog that contains the fileUpload component is closed and the upload hangs. Even when I don't close the dialog the upload hangs when I use selenium. Manually uploading a file works just fine.

      Anyone have a suggestion?