Forum Discussion

hyper111's avatar
hyper111
Contributor
11 years ago

No possibility to click button (java security warning)

Hi,



I'm working on TC 10 and after last update Java(now 7.0.550) I can't select buttons placed on Java warning window(I can only select the entire window). I'm sure that before Java update it worked ok.



I was reading many threads related to this, but I still can not fix it.



Thanks for help!

  • Hi,



    Sorry for too late reply. I meant downgrade (not reinstall) from JRE 7 update 55 and JRE 8 update 5. It is issue with JRE. It will should be fixed in JRE 7 update 65 and JRE 8 update 11.



    Regards,


  • murugans1011's avatar
    murugans1011
    Regular Contributor
    Previously hav u used text recognition feature? if so then add the wndclass name of the msgbox to Text recognition. thn u can able to perform click operation on the controls inside the window
  • Ryan_Moran's avatar
    Ryan_Moran
    Valued Contributor
    If you can select the window you can probably use the keys method to send "[Tab]" and /or "[Enter]" to the form. Additionally there should be a checkbox on the security warning window that says "Do not show this again for this app". Check that off and hit continue you shouldn't see it again for that application.
  • Murugan,



    Previously I could map every object inside the window (using Object Spy). Now I can map only the window.



    Ryan,

    I did that but I can't use this solution for a long time because it sometimes doesn't detect the window and skip this step(using .setfocus). The window appears every time so I have to control it.
  • murugans1011's avatar
    murugans1011
    Regular Contributor
    map the window and find the wndclass property in the object spy ,copy that and add to



    Project Properties->Open Applications->Text Recognition



    to find more about Text recognition Click here



    Now u can map the objects inside window

  • Hi Paul,


     


    If TestComplete stops properly recognizing your Java application, I suggest that you check whether all the needed requirements are still met. Details...


     

  • Despite many attempts configuration TextRecognition I was not able to solve the problem, so I decided to reinstall Java and it helped. Now I know that Test Complete was not able to recognize SwingObjects.
  • mgroen's avatar
    mgroen
    Frequent Contributor


    I experience the exact same problem.



    However, I noticed that after every Java update, the warning messages appear again.

    I have checked to disable the warning messages and that works, but until next Java update then these messages appear again.



    Paul: Am I correct that re-installing the Java JRE solved your issue? Were you, after you re-installed the Java JRE, able to recognize the objects within the warning message window, with Object Spy?