2

I need to automate this widget http://www.plupload.com/example_queuewidget.php i'm using selenium Web driver and I have successfully done the AutoIt script for to upload files but for to click the 'Add File ' button on the mentioned url is my problem can anyone please help me on this ..

Thank you

6
  • 1
    You can add sikuli script <<sikuli.org >> to your selenium code for handling such flash objects. sikuli simply captures the image and clicks the same image if it is found on the target webpage. Commented Feb 22, 2013 at 6:09
  • hi HemChe i have tried the sikuli but im getting this error java.lang.UnsatisfiedLinkError: C:\Users\dev10\AppData\Local\Temp\tmplib\VisionProxy.dll: Can't find dependent libraries Commented Feb 22, 2013 at 11:46
  • 1
    check if this link helps ! stackoverflow.com/questions/6092200/… Commented Feb 25, 2013 at 11:37
  • hi HemChe thank you for the reply im not able to solve this issue .. now my problem is Sikuli is not Opening for me .. Is there anyother way for flash Automate . Commented Feb 25, 2013 at 13:21
  • 1
    use Sikuli Web Driver and check if you are still facing the issue. code.google.com/p/sikuli-api/wiki/SikuliWebDriver Commented Feb 26, 2013 at 9:05

1 Answer 1

1

I didnt tried it using webdriver click...but via console i tried to click it on FF, it was working fine for me. You can try this code:

This is the case when I am supposing that WebDriver click is not working.

JavascriptExecutor js = (JavascriptExecutor) driver;
js.executeScript("document.getElementById('uploader_browse').click();");
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.