SPONSORS:






User Tag List

Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Feb 2002
    Location
    U.K.
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem with buttons in Dialog box

    Hi,

    this is a problem related to Dialogboxes.

    In Microsoft excel, if a sheet contains some macros,
    upon opening this sheet, a dialogbox is displayed with 3 buttons.
    Disable Macro, Enable Macro and Cancel.

    Silktest does not recognise these buttons. How do I make it recognise and record these buttons?

    Is there a workaround or any defined documentation?

    Please help,

    Regards,
    rajeevhr@vsnl.com

  2. #2
    Senior Member
    Join Date
    Nov 2000
    Location
    Bloomington, IL
    Posts
    142
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem with buttons in Dialog box

    What does the window declaration look like for this dialog box?

    MikeF

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

  3. #3
    Senior Member
    Join Date
    Mar 2001
    Location
    Hillsboro, OR
    Posts
    102
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem with buttons in Dialog box

    You can always send a TypeKeys() with the selection you want. Either a hot key, or, the enter button for the default. Ignore the fact that it can't see them.

    ------------------
    MMcCorkle@Corillian.com

  4. #4
    Junior Member
    Join Date
    Jul 2002
    Location
    santa clara, ca
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem with buttons in Dialog box

    I have similar problem (under XP) -
    if I test if the button is enabled
    if parent.button.IsEnabled()
    :
    parent.button.click()

    silk would fail at the IsEnabled. So how do I see if my button is enabled?

  5. #5
    Senior Member
    Join Date
    Nov 1999
    Location
    Eagle, ID,USA
    Posts
    1,035
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem with buttons in Dialog box

    If nothing else works, you can use coordinates to click the button and then if nothing happens, it's disabled.

    ------------------
    Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac.

 

 

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

Copyright BetaSoft Inc.