Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to automate a Flash Player in Selenium

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 397
    Comment on it

    The following should be used to automate a flash player:

    WebDriver driver = new FirefoxDriver();
    driver.navigate().to("http://www.youtube.com/watch?v=cwNmRCJAIXU");
    FlashWebDriver flashObj = new FlashWebDriver(driver,"movie_player");
    flashObj.call("pauseVideo");
    Thread.sleep(3000);
    flashObj.call("playVideo");
    Thread.sleep(3000);
    flashObj.call("mute");
    Thread.sleep(3000);
    flashObj.call("unMute");
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: