SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Senior Member
    Join Date
    Jun 2000
    Location
    Chicago, IL USA
    Posts
    383
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do I read a dynamic WindowID during a test ?

    A question for the Gurus.

    I am using SilkTest 5.0.3.2 with the Java 1.2.2

    My GUI dynamically creates some objects.
    I can easily recognize them using tags based on the caption, prior text, or class/index number.

    Using "Record Window Declarations", I can see that the Java GUI has dynamically assigned a WindowID that contains some VERY useful information (a database key).

    I thought GetTag() might be able to retrieve this for me, but it always retrieves a "fully qualified tag" of the index variety.
    (the settings of the defaults in "Record Window Declarations have no effect on this)

    SilkTest, obviously, can read Window IDs, or you couldn't use it as a tag.

    How do I get the Window ID assigned to a variable in my testware ?


    ------------------
    Rob Kapteyn
    Rob Kapteyn, CSTE
    RobKapteyn@gmail.com

  2. #2
    Senior Member
    Join Date
    Oct 1999
    Location
    Tyngsborough, MA
    Posts
    211
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How do I read a dynamic WindowID during a test ?

    window.GetID()

    I just tried it and it works.

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

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

    Re: How do I read a dynamic WindowID during a test ?

    Yes, it works for me too !
    Thanks alot Brian !

    I knew that there was some way to do that.

    As usual, the SilkTest documentation led me right to the method I wanted *NOT* :-)

    Why I value QAforums :-)

    ------------------
    Rob Kapteyn
    Rob Kapteyn, CSTE
    RobKapteyn@gmail.com

 

 

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 10:48 AM.

Copyright BetaSoft Inc.