I am using a script that uploads a file in Chrome. After the file is uploaded I still have the file uploader stay up and it doesn’t close using the $(KEY_ESC) command. I am wondering what other work arounds are there for this?
Need the url of the page to see the html source page
You need the url? of what file upload i am using?
A screen video could be helpful.
What OS is this?
And is it Chrome or Firefox?
Before using xType with $(KEY_ESC) you must use Xclick with image to set the focus on screen
Like this? Its not closing for me.
{
“Command”: “type”,
“Target”: “id=media”,
“Value”: “C:\output\304.jpg”,
“Description”: “”
},
{
“Command”: “XClick”,
“Target”: “id=media”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “XType”,
“Target”: “${KEY_ESC)”,
“Value”: “C:\output\304.jpg”,
“Description”: “”
},
{
“Command”: “type”,
“Target”: “id=media”,
“Value”: “C:\output\305.jpg”,
“Description”: “”
},
Yout macro code is wrong, you must use desktop automation command only.
Type command is a selinium code not for desktop automation.
Automate file manager of browser is desktop automation NOT web automation and need Xclick, Xtype, Xmove command with xmodules installed (free user can use max 25 commands per macro execution)
For desktop automation you must use these commands
