SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Sep 2001
    Location
    Toronto,Ontario,Canada
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    How to get Window Edit box object text

    I am trying to get text from a window edit box object to compare the value and I couldn't find the text any properties of the object. Is there any other way that I can retrieve the text from the Edit box.

    Thanks,
    SK

  2. #2
    Senior Member
    Join Date
    Jun 2009
    Posts
    162
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to get Window Edit box object text


    Have you tried wText property ? If that's not there, your last resort is to take a screenshot of the control and pass it through OCR. We've come across some controls (eg., TMaskEdit in Delphi) that we can't access the text. So we use OCR to read it. Works beautifully.


    dotTRM

  3. #3
    Senior Member
    Join Date
    Aug 2006
    Posts
    1,920
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to get Window Edit box object text

    Hi,

    If your edit box doesn't have the wText property, you probably need to add its window class to the 'Edit box' Object Mapping group (see the "Object Mapping" help topic). Also, you can use some native properties or methods to access the text (if your application is Open).

    If you're testing a web page, try innerText (IE), textContent (Firefox) or value properties.
    Jared - AQA Support

  4. #4
    Junior Member
    Join Date
    Sep 2001
    Location
    Toronto,Ontario,Canada
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to get Window Edit box object text

    No the application is not open and is a vendor application and wText property is not available for the object.

    Regards,
    SK

  5. #5
    Senior Member
    Join Date
    Aug 2006
    Posts
    1,920
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to get Window Edit box object text

    Hi,

    Try adding the text box's window class to the 'Win32 Controls and Windows | Edit box' Object Mapping group in your project or try using text recognition (see the "Text Recognition Technology Support" help topic).
    Jared - AQA Support

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.71%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin 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:43 PM.

Copyright BetaSoft Inc.