SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Apr 2009
    Posts
    15
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Having trouble finding a child window with DP

    Hi, I'm having some trouble with the following line of code and was wondering if anyone could help me. AppName and ChildWindowName are replaced with the real window names in the actual code.

    Window("regexpwndtitle:=AppName.*").Window("regexp wndclass:=ATL:03457EA8","text:=ChildWindowName").W inObject("regexpwndclass:=ATL:03459B38").Type micPgUp

    I get a compile time error that says "Object doesn't support this property or method: 'Window(...).Window'". Is there a different way to access child windows in descriptive programming?

  2. #2
    Senior Member
    Join Date
    Aug 2004
    Location
    Bloomington, IL
    Posts
    300
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Having trouble finding a child window with DP

    What is the hirachy you are getting when you add the same object to object repository? Are you getting the type (Intelli Sense) method when you work through OR?

  3. #3
    Junior Member
    Join Date
    Apr 2009
    Posts
    15
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Having trouble finding a child window with DP

    Hi Ashok,
    I get the exact same hierarchy since I modified this line from a recorded script. Also, yes I do get the Type method when I use the original OR script

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin 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 12:25 PM.

Copyright BetaSoft Inc.