AutomationNinja 194 Posted September 7, 2015 Report Share Posted September 7, 2015 I am attempting to upload images to this site, but alas, no luck: http://www.usedokanagan.com/FormInsertUsedAdNew?selected_category_code=house-for-sale Anyone got any tricks for that? Don't want to use the win automation commands. Thanks. Quote Link to post Share on other sites
pash 504 Posted September 7, 2015 Report Share Posted September 7, 2015 try. navigate("http://www.usedokanagan.com/FormInsertUsedAdNew?selected_category_code=house-for-sale","Wait") wait for browser event("Everything Loaded","") wait for element(<class="dz-message rborder-full">,"","Appear") click(<class="dz-message rborder-full">,"Left Click","No") wait(1) plugin command("WindowsCommands.dll", "set dialog text", "Open", "File name:", "C:\\Users\\Apichai\\Pictures\\2015-08-31_12-58-48.png") plugin command("WindowsCommands.dll", "click dialog button", "Open", "Open")The other method is to use plug-ins. 1 Quote Link to post Share on other sites
AutomationNinja 194 Posted September 8, 2015 Author Report Share Posted September 8, 2015 Nice! Forgot all about that. Thanks again pash. Quote Link to post Share on other sites
runsoftware 14 Posted September 9, 2015 Report Share Posted September 9, 2015 Just the good old change file field worked for me! change file field(<innertext="DRAG AND DROP OR CLICK TO UPLOAD MULTIPLE PHOTOS.">, "D:\\void.jpg")wait for element(<title="Delete photo">, "", "Appear") 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.