SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Sep 2006
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Get caption from a child window

    Hi All...
    I am newbie to test complete. Am kinda stuck with trying get and verify the caption of a child pop up window. does any one know how i could achieve this?

    My stand alone app scenerio:

    Win1>click ok > win2(pop up) ---> need to grap the caption of this win.

  2. #2
    Senior Member
    Join Date
    Apr 2006
    Location
    ked up until rehabilitated
    Posts
    515
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Get caption from a child window

    Without having access to your product, I would suggest trying two things.

    1. At the point where the pop-up is showing, looking in the Object Browser for that window, and viewing the elements to see if any match the caption you are looking for.

    2. During the recording, do a click-and-drag of the mouse as if you were highlighting the test you want for a copy. Then, review the script to see what field it believes the drag occurred on.

    If neither of these work, then you will need to make sure your product is compiled for open access, and then you might have to rely on a Regoins.Compare to get the pixels to match rather than the text. For your sake hope it does not get to that point.

    I hope this helps!
    Aaron Fager
    Software Test Engineer

    If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization.

 

 

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 06:03 AM.

Copyright BetaSoft Inc.