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
In reply to Re^3: use Win32::IEAutomation;
by ww
in thread use Win32::IEAutomation;
by sharief
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |