SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Guest

    getting text from Bitmap

    I am using Application which runs on PC and my requirement is to get the text from the bitmap and to verify the text contains suitable value, silk test identifies it as Customwin object so attempting to do getText etc.. doesn't works.

    Is it possible to get the text based on screen co-ordinates ? or is there any alternative to extract only the text from bitmap.


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

  2. #2
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: getting text from Bitmap

    A bitmap is just a rectangular collection of colored pixels and as such, Silk will not be able to interpret their meaning. To do so would require OCR support, which Silk does not have.

    However when Silk recognizes something as a CustomWin, you have the possibility of mapping it to a known class and using native and inherited methods to obtain the information you need. Check out Chapter 17 - "Supporting Custom Objects" in the User's Guide.

    In that effort you'll need to get familiar with Record/Class (with Show All Classes checked). You'll also want to take a look at captureclass.inc. And finally, your development group should be able to describe how you can interact with their custom object.

    John


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

  3. #3
    Senior Member
    Join Date
    Jun 2000
    Location
    Sunyyvale CA USA
    Posts
    422
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: getting text from Bitmap

    U can not get text from bitmap as its dumb collection of pixels. U can user gettext only for recognized objects.

    ------------------
    Sree
    Sree

 

 

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 06:01 AM.

Copyright BetaSoft Inc.