SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Senior Member
    Join Date
    Sep 2001
    Location
    Hyderabad, India
    Posts
    478
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unable to record Jave Applet

    Hi,

    I am testing an application which is developed using Developer 6i and Oracle as backend. Its web version is available via Oracle 9iAS Server. After typing the URL, it loads the site as Jave applet. Under this main java applet various windows can be opened. First is the Login window. The problem is that, I cannot login into application via script because it is treating the main java window as dialog box. I am not able to distinguish different screen opened in it and their controls.

    ------------------
    Manoj Jain
    (manojjain99@yahoo.com)
    "An highly advanced bug is indistinguishable from a feature."
    Manoj Jain
    (manojjain99@yahoo.com)
    A highly advanced bug is indistinguishable from a feature.

  2. #2
    Senior Member
    Join Date
    Jan 2002
    Location
    Des Moines, Iowa
    Posts
    289
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Unable to record Jave Applet

    There is a nasty little issue around java applets where they are not seen by the system (therefore silk) until they are interacted with. This creates a chicken before the egg delema. The fix is to change the system focus to something other than the applet (DeskTop) and then back to the applet. Then the controls are seen by the system. I have a function that does this for me. I call it SlapTheDarnThing.

    ------------------

  3. #3
    Senior Member
    Join Date
    Sep 2001
    Location
    Hyderabad, India
    Posts
    478
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Unable to record Jave Applet

    Please give me that function.

    ------------------
    Manoj Jain
    (manojjain99@yahoo.com)
    "An highly advanced bug is indistinguishable from a feature."
    Manoj Jain
    (manojjain99@yahoo.com)
    A highly advanced bug is indistinguishable from a feature.

  4. #4
    Senior Member
    Join Date
    Jan 2002
    Location
    Des Moines, Iowa
    Posts
    289
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Unable to record Jave Applet

    Well, you might want to write your own.

    Simply create a function that ensures that the applet is there. Then will set focus to the desktop or something that you know is there. Then set focus back to the applet.

    I add an additional check at the end where I check to see if one of the objects on the applet can be seen by silk. You do this with the exists method.

    My function works only for my applet. I suppose one could write a function that takes as arguments the applet object and control objects so that the function would work on any applet. But I have not found the need for that.

    ------------------

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 10:45 PM.

Copyright BetaSoft Inc.