HtmlUnit buttons not working for popup windows

When I click a button element which opens a pop up window in the browser give me following javascript exception from DebugCommon10_1_3_2_0.js when I click the buttonthrough a htmlunit test. I have set my WebClient to default.
Exception class=[org.mozilla.javascript.WrappedException]
com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function setCapture. (http://192.168.20.36:8988/CS/adf/jsLibs/DebugCommon10_1_3_2_0.js#3614) (http://192.168.20.36:8988/CS/adf/jsLibs/DebugCommon10_1_3_2_0.js#4561)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:322)
at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:736)
at com.gargoylesoftware.htmlunit.html.HtmlPage.runEventHandler(HtmlPage.java:1489)
at com.gargoylesoftware.htmlunit.html.HtmlPage.runEventHandler(HtmlPage.java:1465)
at com.gargoylesoftware.htmlunit.html.ClickableElement.click(ClickableElement.java:103)
at lk.informatics.cs.testcases.login.agreementmanagement.AddNewPartner.testSLNO12(AddNewPartner.java:329)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Caused by: org.mozilla.javascript.WrappedException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function setCapture. (http://192.168.20.36:8988/CS/adf/jsLibs/DebugCommon10_1_3_2_0.js#3614) (http://192.168.20.36:8988/CS/adf/jsLibs/DebugCommon10_1_3_2_0.js#4561)
at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1693)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:160)
at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:471)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3085)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2251)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:161)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:340)
at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:151)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2758)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:159)
at com.gargoylesoftware.htmlunit.javascript.host.EventHandler.call(EventHandler.java:95)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:363)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:318)

read the error message:
"Cannot find function setCapture"

Similar Messages

  • Portal buttons not working for transaction type iviews

    Our buttons on our portal transaction programs quit working.  We are currently on ecc6,ehp5, portal 7.02.  The buttons still work on our test and production systems, so it's not a browser issue.  The buttons work on the newer webdynpro programs in our dev portal.  Please get back with me if you have any ideas on how to fix this button problem.  Thanks, Mike

    Hi Ajay,
    Double posting
    [ITS services not working for Transaction iview with gui for html -;
    Thanks
    Siva

  • Lock button not working for iPhone4

    Hi All,
    My lock button not working from last 2months, I am using assistive touch for time being.
    I bought my mobile in UK 1year back, currently i am staying in India.
    My real problem is, recently i visited apple store. The guys in the store are saying, it is against to their law to serve or repair mobiles which were bought in other country..
    I think this is rediculous.. Just i need some information how to fix it or how to contact the correct person regarding this POOR service.
    Thanks
    Rajesh

    No. The warranty is only valid in the country of purchase. All service for iPhones in UAE is provided by the supported carriers. You can find a list here: http://support.apple.com/kb/ht1937
    If you did not purchase it from one of the carriers listed, then you probably purchased an illegally imported gray market phone.
    Check Settings>General>About. What does it say for Model #?

  • Quicktime Player fast-forward and reverse buttons not working for audio

    I have Quicktime Player 7.7.3 for Windows and the fast forward/reverse buttons will not work while playing audio files. I've tried it with mp3 and m4a, neither will work.
    The go to end/go to begining buttons are working fine.
    The ff/reverse button don't work very well for video files, they only will move a few frames at a time, but they will not work at all on strictly audio files.
    I've looked at the preferences, and the software is up to date.
    the only way to ff/reverse is to go to Window > Show A/V Controls and use the Jog Shuttle, but that is a clumsy workaround. I'd rather have the playback buttons work properly in the first place.
    Is there something else I should be doing (aside from purchasing QT Pro, that is)?

    ...stupid decision to replace the iTunes feedback...
    Not replaced, just moved. Now grouped with all other Mac OS X feedback:
    http://www.apple.com/macosx/feedback/
    It's not a bug. If it was we would all have this problem. My Macs don't.
    Shut iTunes down.
    Go to ~/your user name/Library/Preferences and place the file "com.apple.iTunes.plist" in the trash.
    Try iTunes again. If your problem is solved, empty the trash.

  • PLEASE HELP ME. 12.1.1 itunes does NOT work for my windows 7 64 bit

    I have read all the tutorials on here and elsewhere online and nothing works. My cousin goes to school for MIS help and she couldnt even figure out whats going on.
    I HAVE DONE THIS NUMEROUS TIMES!
    - Made sure my windows had all the necessary updates and everything was installed.
    - I uninstalled ALL itunes products in the proper order according to apple discussions.
    - Went through all the folders in program files.
    - Reinstalled it and I get an error message. ( Apple mobile device service (apple mobile device service) failed to start. Verify that you have sufficient privileges to start system services )
    - I have gone through the Services window and tried stopping and restarting the program but I get an error message. (Windows could not start the Apple  Mobile Device Service service on Local Computer - Error 1053: the service did not respond to the start or control request in a timely fashion) I have gone through all the start and stop tutorials and none of them have worked.
    - I have tried clicking ignore and sometimes it finishes installing but then gives me an new error message. ( iTunes was not installed correctly. Please reinstall iTunes. Error 7 (windows error 193) - I tried reinstalling and nothing.
    - I tried finding the ituneshelper download but couldnt find it, I've also tried repairing and nothing works.
    - I had downloaded and older version of itunes a few days ago that WAS working the 12.1 version (NOT 12.1.1)  but then my cousin came to see if she could fix it and now I can't even download that version.
    I am OUT OF options and I dont want to have to spend the money on support. Can some one PLEASE HELP ME!!! I have been trying to fix this for days.

    Hi Thank you,     the apple  mobile service links did not work, i had tried them all. however that same link with the previous versions worked. I had to download the one below and I can at least use itunes.
    iTunes 12.1.0.71 for Windows (64-bit - for older video cards) - itunes64setup.exe (2015-01-28)
    I tried this one but it did not work.
    iTunes 12.1.0.71 for Windows (64-bit) - itunes6464setup.exe(2015-01-28)

  • Adobe Reader XI not working for me (Windows 7)

    I just installed adobe reader XI and now I can't open any PDF files. The application itself won't even start properly. The default window opens but then it completely shutsdown without any indication of why it did so. No error report or anything.

    I found the solution to the program itself not opening properly on another thread on this site.  See below:
    I spoke to a colleague about what was happening, and he had me reinstall Adobe Reader XI and attempt to start it.  I then navigated to the C:\Program Files (x86)\Adobe\Reader 11.0\Reader\ folder and double-clicked the Eula.exe. It displayed the End User License Agreement window and I clicked 'Accept'. After doing that I was able to start the Reader without issue and it all seems to be working fine now.
    The above worked for me and now Reader XI will open properly and stay open.  Hope this helps someone else.

  • Control Button not working for Apple Lossless Music

    I have a brand new black iPod shuffle and the control button in the middle has been problematic, at best, with my Apple Lossless music that I had on my PC.
    When I push the control button, I get nothing. Only the female voice telling me what that track name is. I've attempted different "button pushing" methods such as once, twice, three times, as well as durations, 250 ms, 500 ms, 1 second. Nothing seems to work, I don't have any 128 kbps (garbage in my opinion) to try it out on.
    Suggestions?

    Thanks for the response, couple of questions...
    1. Do you have the "Manual Music Manage" or similar button checked on your 3G shuffle?
    2. Did you put the lossless CD tracks in a playlist, or just "heap" them in a giant list (like I have, I don't do playlists)?
    3. Did you use iTunes (8.1.x) to do the ripping, or an older version. These lossless tracks are quite old, I don't even think that I had v8 when I originally did them.
    Message was edited by: NKS Guy

  • Content Player navigation buttons not working for everyone

    Hi,
    Some of the participants are experiencing the issue with Content Player navigation buttons 'Continue' , 'End Test' etc..
    We suspect it is because of the version of Java runtime environment on thier PC after eliminating the browser cache, or IE version issues.
    Could anyone please tell me what are the supported Java versions for proper functioning of LSO600 Content player?
    We are on ECC 6.0, LSO600 and SAP portal version EP7.
    Any help is highly appreciated.
    Thanks,
    Jaya

    Hello Jaya,
    java supported version is more than JRE 1.4.2._07
    and IE is IE6 and IE7
    LSO supports Java 1.4.02_07 to java 1.6
    Browsers:
    Micorsoft IE6 and IE7.
    Firefox from 2.2
    If there is more than one Java version on the pc, try forcing the browser to use a certain version of Java by going to the control panel -> Java -> in java control panel go to -> java tab -> Click view in Java Applet run time settings -> Select one of the JRE to enable it and force the browser to use this version of Java.
    Regards,
    Manny

  • Bootcamp 3.x. USB keyboards are not working for the Windows XP Installer.

    I'm running an iMac with OS X 10.6 and bootcamp 3. I am trying to use bootcamp to install Windows XP on a partition. When I get to the windows setup program the USB keyboard is non-functional, which is unfortunate because I need to hit 'enter' to proceed with the install.
    I've tried multiple keyboards, and every USB slot on the iMac. I've checked for software updates, but alas I'm stuck.
    Thanks.

    Got a copy of the WinXP 7 Pro install disk with SP2 (genuine) hoping that maybe the sp2 disk may have better usb support. iMac wont read the disk just spits it back out like it has a bad taste, this is just getting to be comical.
    Anyone had luck with Ghost imagineing in boot camp via BartPE?

  • "Download now" button not working for Flash Professional CS5.5 trial

    Hi,
    I was going to download the trial version of Flash Professional CS5.5 but when I got to the download page it wasn't downloading. The "Download now" button was there, but it was unclickable, when I clicked on it it didn't work, plus it was a little dimmer than I remember it was when I downloaded another trial. I'm also using the latest version of Google Chrome and I tried downloading it on IE and Firefox.
    So, is there any solution to this?
    Thanks in advance.

    Sorry :/
    link: http://www.adobe.com/cfusion/tdrc/index.cfm?product=flash
    The download button looks dimmer than usual and I can't click on it.

  • Button not working on Windows IE7

    Hi, I'm having trouble with this site
    (www.clermontgreene.com). For some reason the submit button in the
    contact form does not work on a windows PC using a IE7 browser or
    Firefox browser. It does however work fine on a Mac using any
    browser. Does anyone have any idea as to why this may be?
    Thanks.

    This forum is for questions from developers about how to use the Windows Forms libraries to develop .Net applications. For questions about using Windows, try
    Microsoft Answers.

  • Quick Launch buttons not working on Window 8.1

    I have installed window 8.1 but quick launch buttons, which used to work with combination of FN key, for example fn+F3 key for brightness, fn+F8 for volume, fn+F6 key to lock the computer etc are not working. What is the solution?

    Farhan_Raza
    I have available a pretty extensive list and I cannot find a Quick Launch Driver for Windows 8.1.  Might be one; I don't see it.
    I use a completely different arrangement of Custom Toolbars from what most people use so I am not at all sure what constitutes a Quick Launch.
    I did find the following that may be close to what you seek:
    How to enable Quick Launch in Windows 8.1
    =========================================================================
    Possible Option - HP Launch Box Manager
    Windows 8.1 provides the following -- this program MIGHT install on your computer and it might run on your computer.  It is not rated for your system.  You may try it if you like.  Windows will tell you if the program is not appropriate for your system.
    For Windows 8.1, you might be able to use the HP Launch Box Manager:
    Close running programs, browsers, and games
    Next:
    Create a Restore Point:
    Create a Restore Point:   Create a Restore Point – Win7 OR  Create a restore point Win8
    Download / Save:
    sp63808 HP Launch Box V1.1.5
    Double Click or Right-Click on the file and install as Admin...
    The application installs in seconds and then disappears.
    Windows key (opens the Start Screen) > type anywhere, the word: Launch Box >
    Click to start the Launch Box Manager
    The Launch Box Manager will start on your Desktop and offer a list of available applications from which you can choose eight applications for your Launch Box menu.
    Once set up, the Launch Box Manager sits in your Task Bar.
    Right-Click to Edit the Manager OR Left Click to Open and access the items in your Application List.
    Click the Kudos Thumbs-Up to say Thank You!
    And...Click Accept as Solution when my Answer provides a Fix or Workaround!
    I am pleased to provide assistance on behalf of HP. I do not work for HP. 
    Kind Regards,
    Dragon-Fur

  • Miix2 8" capacitive windows button not working

    Just today the capacitive windows button on the bottom of the device stopped doing what it should do. 
    I can press it, then it vibrates and makes a sound, but it doesn't bring me back to the start screen, nor does it wake the device back up from sleep.
    In sleep mode it only vibrates when pressed, it doesn't make a sound. When Windows is active it makes a sound too.
    Do I need to reinstall a driver? if so, which one?

    well I want to report back that this sadly did not work for me.
    The tablet ended up semi-bricking because the drivers got all messed up and the resolution changed to something really low.
    As a result, othing loads, none of the metro apps nor the desktop mode lol
    so.. off it goes through yet another reinstall.
    I'm not looking for blame. just wanted to share this.
    it's clear that the Windows key will never work for me.. even though it beeps n vibrates etc. Oh well

  • Brightness buttons not working in Windows 10

    Hi I have an HP 255 G3 Notebook running Windows 10 64-bit. The brightness buttons (f2 and f3) are not working for brightness adjustments. Nothing happens when the buttons are pressed. The othe buttons are working fine (for example volume adjustment f7 and f8). Any ideas on how I can make the buttons work? Kind regards Joey

    I have an AMD lap top and AMD'S latest graphics driver disables the brightness keys for some reason so i went to device manager (windows button + X  ------>  Display Adapter-------> click on grapics card------> driver tab------> update driver)after i did that windows searched for driver and updated and right after that the brightness keys worked! Hope this helps!

  • My itunes 11 Home sharing is not working with my windows 7 PC and iPad it shows up on iPad and when I go to share the music app does loading for 3 mins and crashes I am using a virgin super hub router please please please help

    My itunes 11 Home sharing is not working with my windows 7 PC and iPad it shows up on iPad and when I go to share the music app does loading for 3 mins and crashes I am using a virgin super hub router please please please help

    My itunes 11 Home sharing is not working with my windows 7 PC and iPad it shows up on iPad and when I go to share the music app does loading for 3 mins and crashes I am using a virgin super hub router please please please help

Maybe you are looking for