SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Senior Member
    Join Date
    Nov 2001
    Posts
    375
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Silktest and Java Swing

    Hi,

    I am trying to automate a Java Swing based application.

    When i try to record the window declarations for the login window it works but when I try to record the window declarations for the main application I get a "Memory Cannot be read" error and Silktest crashes.

    I have set the classpath to include SilkTest_Java2.jar - this is ofcourse in the application startup batch file.

    I have placed SilkTest_Java2.jar in the java jre\lib\ext folder too


    When i try to locate the window identifiers - it works.

    I tried searching the forum but all i got was the solutions i have already tried.

    TIA

    regards,
    Aatish Arora



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

  2. #2
    Member
    Join Date
    Feb 2003
    Posts
    34
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Silktest and Java Swing

    I don't think you should put that JAR file into your JDK /lib/ext directory. You should leave it in the /SilkTest/JavaEx directory. When SilkTest (are you using v6.0?) installs it adds the path to that /SilkTest/JavaEx directory into the CLASSPATH.

    Also, Segue has a patch out for ST 6.0, apparently to fix some Java bugs. You should install it. I'm also new to SilkTest so these are the only things I can think of.

    David


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

  3. #3
    Senior Member
    Join Date
    Jun 2000
    Location
    Hartford, CT, USA
    Posts
    163
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Silktest and Java Swing

    Which version of Silk? and Which version of Java?

    ------------------
    Jaimini Bhatt
    jaiminita@hotmail.com
    jaiminita@yahoo.com
    Jaimini Bhatt

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

    Re: Silktest and Java Swing

    HI,

    I am using ST 5.5 SP2 and JDK 1.3.
    Well good news is that it worked
    I dont know what was wrong but all I did was an uninstall - removed all registry keys - and reinstalled. And it worked

    Wohooo!

    thanks,
    Aatish

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

 

 

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 02:01 PM.

Copyright BetaSoft Inc.