SPONSORS:






User Tag List

Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Sep 2002
    Location
    ca
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    some controls in the dialog box not recognized

    I have a dialog box in my AUT when I record the windows declarations it doesn't see the controls inside a page list. During runtime, when I try to access the controls inside the pagelist, ST complains that control is not found. Also, I attempted to do GetContents() on the said dialog box but the controls inside the pagelist were not exposed. Instead, the PageList is captured as a control but when I recorded the windows declarations on the dialog box the pagelist was not captured. I am a little bit confused here.

    What's wrong? Is this a known issue? Any workaround?

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

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

    Re: some controls in the dialog box not recognized

    What kind of application is it?

    What version of Silk are you using?


    John


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

  3. #3
    Junior Member
    Join Date
    Sep 2002
    Location
    ca
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: some controls in the dialog box not recognized

    it is a windows, C++ application.

    i am using 6.0.

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

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

    Re: some controls in the dialog box not recognized

    What I'd do is compile the test, then wander around with Record/Window Identifier to see how Silk identifies that pagelist and its contents. If it shows a dynamic instance - MainWin("mainwin title".PageList("pagelist title") - instead of MyMainWin.MyPageList then I'd modify the original declaration tags to match the dynamic instance. Then recompile and try Record/Window Identifier again.

    A MyMainWin.MyPageList.GenerateDecl() can also be used to see what's in the pagelist during an actual run.

    John




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

  5. #5
    Junior Member
    Join Date
    Sep 2002
    Location
    ca
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: some controls in the dialog box not recognized

    ok thanks. i'll give that a shot.

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

  6. #6
    Senior Member
    Join Date
    May 2002
    Posts
    448
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: some controls in the dialog box not recognized

    Start up SilkTest, invoke the Record Window Declarations, Hit the "Options" button. In the "Record Window Declarations" dialogbox see if the "Show Ignored Windows" is unchecked. If so check it and record the declarations again.

    ------------------
    never say die
    Life, that dares send, A challenge to his end,
    And when it comes say, Welcome friend.

 

 

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:06 PM.

Copyright BetaSoft Inc.