Skip to content

send("{DOWN}") or send("{ENTER}") not working #6

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. in my webpage there is download popup I need to handle.(you can try any 
download popup)
2.I am using following code to handle
public class WindowsUtility{

    private static void setJacoblibrary()
    {
        System.setProperty(LibraryLoader.JACOB_DLL_PATH, System.getProperty("user.dir")+"\\tools\\autoit\\jacob-1.18-M2-x64.dll");
    }
public  static boolean downloadfile(String strTitle)//,String filePath,String 
browserName)
    {
        setJacoblibrary();
        AutoItX x = new AutoItX();
        x.winActivate(strTitle);
        x.winWaitActive(strTitle);
        x.sleep(1000);
        x.
        x.send("{DOWN}");
        x.sleep(1000);
        x.send("{ENTER}");
        return false;

    }

3. I am passing the popup name in string but it is not working

What is the expected output? What do you see instead?
It should press down then enter and file should get download but not happening 
. but my test case is also not failing

What version of the product are you using? On what operating system?
2003-2014

Please provide any additional information below.


Original issue reported on code.google.com by nefree18...@gmail.com on 2 Jun 2015 at 9:32

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions