SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Sep 2000
    Location
    Richardson, TX, USA
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Getting contents of a disabled JavaJFCTextField

    User (jdaughety@teloptica.com) posted:

    I have been using the GetContents() method to get text from a multi-
    line JavaJFCTextField in the application I am testing, and so far it
    has worked fine. In the most recent release, though, I am getting an
    error that the field is disabled. The other change I have made is
    from SilkTest 5.0.3 to SilkTest5.5. Could the newer version of
    SilkTest 5.5 be causing this? If not, does anyone have ideas for
    getting contents of a disabled text field? ( P.S., I will not go
    into the programmers' sanity of using a text field to display static
    text!!)


    Post message: silktest@yahoogroups.com
    Subscribe: silktest-subscribe@yahoogroups.com
    Unsubscribe: silktest-unsubscribe@yahoogroups.com
    List owner: silktest-owner@yahoogroups.com
    URL to this page: http://groups.yahoo.com/group/silktest


    Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/



  2. #2
    Junior Member
    Join Date
    Oct 2000
    Location
    Chicago, IL, US
    Posts
    12
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Getting contents of a disabled JavaJFCTextField

    I don't about 5.5, but we use the following to verify contents of a disabled field:

    Verify (fieldname, "expected value")

    Usually works fine, but if you are trying to do something else with that value, maybe someone else has an idea.

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

  3. #3
    Senior Member
    Join Date
    Aug 1999
    Location
    San Diego, CA USA
    Posts
    219
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Getting contents of a disabled JavaJFCTextField

    By the class name you mention (JavaJFCTextField) I'm concluding that yours is a Java app. more specifically, a Java client (not browser) app.

    My developers have also used this class of control for static text - disabled text fields as well as lables. I usually start with GetText which works great on single-line data. Then for multi-line data I use GetMultiText which works about half the time. The next thing I try is GetProperty ("MultiText") and so far I haven't had to try anything else.

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

 

 

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 09:17 AM.

Copyright BetaSoft Inc.