SPONSORS:






User Tag List

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Junior Member
    Join Date
    Nov 2001
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Obects \'invisible\' to SILK - use Optical Character Recognition?

    Hi guys, I wonder if anyone had any advise on this subject. Any bits would be appreciated!
    Silktest's ability to recognise objects in different applications seems to be limited to the standard objects. One of our products has a lot of custom objects invisible to SILK. We are playing with the idea of using the OCR (Optical Character Recognition) technology for the bitmap image comparison of these objects. Good or bad idea and how else this can be worked out?

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

  2. #2
    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: Obects \'invisible\' to SILK - use Optical Character Recognition?

    Dasha,

    That's all pretty vague. What sort of objects are you looking for? Silk allows you to "teach" it about custom classes/objects so that it will recognize them just like any other standard object.

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

  3. #3
    Junior Member
    Join Date
    Sep 2001
    Posts
    14
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Obects \'invisible\' to SILK - use Optical Character Recognition?

    Thanks for your reply
    I' ll answer for Dasha as we work together.

    It's Java application.
    As I just begin to work with SilkTest I can't understand how it works with Java applications. What actions should I make before testing them?

    When I record window declarations SilkTest recognizes only main window as DialogBox and that's it.

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

  4. #4
    Junior Member
    Join Date
    Sep 2001
    Posts
    14
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Obects \'invisible\' to SILK - use Optical Character Recognition?

    And something else:
    I set CLASSPATH to SilkTest\JavaEx\SilkTest_Java1.jar
    But when I opened Status.html I saw next message:
    "Due to security reasons, the classpath is not accessible."
    Is it right?

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

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

    Re: Obects \'invisible\' to SILK - use Optical Character Recognition?

    I suggest class mapping your "invisible" objects via the OptionSet.

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

  6. #6
    Junior Member
    Join Date
    Sep 2001
    Posts
    14
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Obects \'invisible\' to SILK - use Optical Character Recognition?

    What options should I set there?
    And as I read in online-help class mapping is used when Silk sees an object as CustomWin. Is it true?
    But this object is recognized as DialogBox


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

  7. #7
    Member
    Join Date
    Oct 2001
    Posts
    93
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Obects \'invisible\' to SILK - use Optical Character Recognition?

    Tatiana,

    From your messages, Silktest is not configured correctly for accessign your Java application. If the set up is correct you should be able to see your application windows and all of the controls in it.

    The first thing to do is check the classpath is correct. First, find out which version of java you are using (java -version at a command prompt will tell you this). Then add the correct Silktest jar file for your Java version to the classpath. If your appliaction is started from a batch file, you need to check whether this file contains a classpath. If it does add the path to the jar file here. If not, add it to the classpath environment variable.

    Once you do this, set up the sample applications that come with SilkTest and try to get SilkTest to see these (you should see menu items as well as the main window)

    If you can see these, you should be able to see your application.

    Regards,

    Paul

    PS. If your classpath look correct but you still cannot see the sample apps, try putting the classpath in " ". This helps silktest deal with the spaces

    ------------------
    Paul Tucker
    Merit AT
    www.merit-at.com

  8. #8
    Junior Member
    Join Date
    Sep 2001
    Posts
    14
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Obects \'invisible\' to SILK - use Optical Character Recognition?

    Thanks for your reply.

    But I have already set classpath and jdkhome and run sample applications, and SilkTest can see controls in them. But my program is still seen as JavaMainWin and that's all.

    (I'm running the program using .exe file - if it's matter)

    Best regards

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

  9. #9
    Member
    Join Date
    Oct 2001
    Posts
    93
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Obects \'invisible\' to SILK - use Optical Character Recognition?

    Tatiana,

    If your application is started from an executable it is very likely that it does not use the system classpath. It is also possible that the exe replaces/is the JRE for you application.

    Two things to try:
    1. Add the executable you use to start the application to the Extension Enabler and options -> extension and make sure java is selected for the file in both.

    2. Try adding the executable to the classpath. Try playing around with the order of things in the classpath. This seems to have implications.

    Paul

    ------------------
    Paul Tucker
    Merit AT
    www.merit-at.com

  10. #10
    Junior Member
    Join Date
    Sep 2001
    Posts
    14
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Obects \'invisible\' to SILK - use Optical Character Recognition?

    Yes, I did it, but there's no result


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

 

 
Page 1 of 2 12 LastLast

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 04:13 PM.

Copyright BetaSoft Inc.