SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Mar 2002
    Posts
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    afxwnd42 object and datepicker

    Hi all,
    Im trying to automate an application using silk test.
    This app has a lot of afxwnd42 objects.
    For e.g date picker is an afxwnd42 type of object.
    Can anybody help me with some methods to work on such objects?
    Another problem is that the window is being recognised as DialogBox.
    My window declaration looks like this:

    [-] window DialogBox NewToDo
    [ ] tag "New To Do"
    [ ] parent PalmDesktop41Beta

    [-] DialogBox General
    [-] multitag "General"
    [ ] "$0"

    [-] CustomWin CellPicker
    [-] msw multitag "[AfxWnd42]Cell Picker"
    [ ] "[AfxWnd42]$1000"

    [-] CustomWin PalmUIDatePicker
    [-] msw multitag "[AfxWnd42]PalmUIDatePicker"
    [ ] "[AfxWnd42]$6154"


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

  2. #2
    Senior Member
    Join Date
    Jul 2001
    Location
    Westford, MA, USA
    Posts
    160
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: afxwnd42 object and datepicker

    For the "afx" controls: Enable the ActiveX extension for your browser in the Extension Enabler, then in Options Extensions, then restart the Agent and then the browser, then do a GetPropertyList() on the "afx" controls, and hopefully you can get a list back. Then do a GetProperty on each property in the list. Hopefully you will find that one of the properties has HTML stored in it, so you can then parse that out to get the state information you need.

    As for the DialogBox windows -- obviously NewToDo is indeed a DialogBox. Is it in fact a problem that "General" is recognized as a DialogBox?

    AG


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

 

 

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 11:02 AM.

Copyright BetaSoft Inc.