Hi Everyone,
I have a script whereby I could launch a browser application to open a browser based app. I could open a window with Title "Choose File to upload". I have commands to send some text to the "File Name" edit where I want to send/paste a network path from where I want to upload a specific file.
Unfortunately, the script does not move further and waits for user action. i.e. unless I cancel the "Choose File to upload" or select a file, the script does not continue to move to next line.
For example, in below script, the 3rd line opens the "Choose file to Upload" window but I do not see the message box which I have mentioned in 4th line. But once I cancel the "Choose file to upload" window, I see the message box.
$oForm = _IEFormGetObjByName ($oIE, "fileSelectForm")
$oButton = _IEFormElementGetObjByName($oForm, "file")
_IEAction ( $oButton, "click" )
MsgBox($MB_OK,"in file load window","test")
Any tips how to get the script continue while the "Choose file to Upload" is open?
Thanks in advance for your help.