in reply to use Win32::IEAutomation;

Complete, original content of OP (revised only enough to render readably):

Unable to reach the file using the code

$ie->getTextBox(' name:', 'ctl00$ContentPlac eHolderContent $FileUploa +d_opfFil e')->SetValue('C :/test/ 9780547076034NIMAS .opf'); $ie->WaitforDone;

Update: sharief: Please do NOT modify content without adding notes to make clear what's new. Also, please don't delete content; instead, use strikeouts to indicate what you felt you needed to remove.

Replies are listed 'Best First'.
Re^2: use Win32::IEAutomation;
by sharief (Novice) on Dec 27, 2011 at 12:01 UTC
    I am a newfolk can i please know how can i make my code clear to everyone in turn with my previous code if i wish to update my code means what should i do then...
      Reply to requests for clarification by adding a new node or editing the previous one.

      For example, you might have wanted to edit your OP to look like this:

      Unable to reach the file using the code

      $ie->getTextBox(' name:', 'ctl00$ContentPlac eHolderContent $FileUploa +d_opfFile')->SetValue('C :/test/9780547076034NIMAS.opf'); $ie->WaitforDone;

      Update: Now I've tried the code Khen1950fx gave me in the first reply below, but the output still isn't what I want. So I've tried these variations:

      $ie->getTextBox('name:', 'ctl00$ContentPlaceHolderContent$FileUpload_o +pfFile')->SetValue('C:\test\9780547076034NIMAS.opf'); $ie->getTextBox('name:', 'ctl00$ContentPlaceHolderContent$FileUpload_o +pfFile')->SetValue('C:/test/9780547076034NIMAS.opf'); $ie->getTextBox('name:', 'ctl00$ContentPlaceHolderContent$FileUpload_o +pfFile')->SetValue('C:\\test\\9780547076034NIMAS.opf'); ....

      What should I try next?

      End Update

        Please avoid the updates. There is no (and there will never be a) good notification for "oh, look, here are some updates that you might be interested in". Very minor updates are usually completely fine (in part because nobody needs to be notified about such an update). Major updates should just be avoided, instead adding a new reply so those interested in following along can tell that significant new information has been added to the thread.

        Though, now that you have already done significant updates, please don't respond to this advice by trying to make even more significant updates by trying to move some of your prior updates into new replies. Just avoid the significant updates in future, please.

        - tye