SPONSORS:






User Tag List

Results 1 to 7 of 7
  1. #1
    Junior Member
    Join Date
    Jun 2001
    Location
    Mountain View, CA
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Java Applet Woes...

    Hi,

    Try not to use window declaration.
    Use: lsStr = BrowserPage.GetContents() or lsWindow = BrowserPage GetChildren()

    And after that you can parse the list.
    We are using Java applet also, and I'm trying use window declaration as less as passable.

  2. #2
    Junior Member
    Join Date
    Jun 2001
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Java Applet Woes...

    Hi,

    Here's my situation. I'm testing a web application which invokes a java applet (not a java application) in its own window when you click on a link. I'm trying to get SilkTest to capture a window declaration for the applet. Silk only seems to capture a javamainwin declaration and nothing underneath. Based on this info, I thought that my setup for java applets was bad. So here are a few questions and comments I have:

    1. Using IE 5.0 on Win2k machine

    2. My applet requires java 1.2.2

    3. I have the java plugin. Its pointing to my JRE 1.2. However, how do I know if I'm even using the plugin and not the microsoft jvm? Is there a way to make sure my plugin is even in use?

    4. I ran the status.htm utility. This is what I got:

    Checking on system settings...
    Java Version: 1.1.4
    Java Vendor: Microsoft Corp.
    OS Name: Windows NT
    OS Arch: x86
    OS Version: 5.0

    Checking on SilkTest Java Status...
    Version=5.5
    SilkTest_Java2.jar found.
    Performance enhanced level 3.
    ERROR! You are running JDK1.1, but SilkTest_Java2.jar
    was found in your classpath. You must use
    SilkTest_Java1.jar with JDK1.1
    Due to security reasons, the classpath is not accessible.

    5. I ran the Status_JPI.htm utility and this is what I got:

    Checking on system settings...

    Java Version: 1.2.2
    Java Vendor: Sun Microsystems Inc.
    OS Name: Windows NT
    OS Arch: x86
    OS Version: 5.0

    Checking on SilkTest Java Status...

    Version=5.5
    SilkTest_Java2.jar found.
    Performance enhanced level 3.
    Due to security reasons, the classpath is not accessible.

    6. My applet is launched with SilkTest_Java2.jar in the classpath which should be the correct jar file since it was created with the jdk 1.2.2.

    I cant figure out why or how I'm using the microsoft jvm?? How do I point to the plugin? Is this even the problem?

    Any info would be appreciated...

    Thanks,
    Rob



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

  3. #3
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Java Applet Woes...

    Rob,

    The SilkTest_Java#.jar file you want is the one that corresponds to the VM running the applet/applicaton rather than the one with which it was built.

    You said you were using IE5 on a Win2k machine. IE five's internal VM is the one provided by Microsoft, the one reporting back as level 1.1.4, and it will require the SilkTest_Java1.jar. You are using the Java2.jar and this will cause you headaches.

    Actually the whole Java "moving target" is a headache. Nonetheless, when you run the Status utility and it reports back to you that the VM is level 1.1.4, that is correct and indicates which Segue jar file you need.

    Good luck!

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

  4. #4
    Senior Member
    Join Date
    Jan 2001
    Posts
    750
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Java Applet Woes...

    Is the updated Virutal Machine using a newer version of the jar file?

    Which version of VM are you talking about?

    When upgrading from IE4 to IE5 or IE5.5 the new VM is not installed, in custom mode it's not anyway. Hence there are 2 version of VM that I know. Which one are you refering to?

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

  5. #5
    Junior Member
    Join Date
    Jun 2001
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Java Applet Woes...

    What about the silktest jar file that is added to the classpath for the applet?? The applet was written using jdk1.2.x. Doesnt that mean that SilkTest_Java2.jar should be the one added to its classpath?

    The microsoft jvm part makes sense since it is the jvm being used and adding SilkTest_Java1 to the correct directory should make this go away..

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

  6. #6
    Junior Member
    Join Date
    Jun 2001
    Location
    Acton, Mass
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Java Applet Woes...

    Make sure your app isn't overriding the classpath also.



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

  7. #7
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Java Applet Woes...

    Unless I am just horrifyingly mistaken, that applet is running within the browser environment and is using the browser's (IE) VM, and that will be a 1.1x VM, thus requiring the SilkTest_Java1.jar. Be absolutely certain that this bad boy is in the classpath, and you should be fine.

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

 

 

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 11:08 AM.

Copyright BetaSoft Inc.