SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Dec 2000
    Location
    India
    Posts
    44
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    hw do I capture window & child windows which r changing on th fly

    I 'm automating an appl.. using silk tst 5.5..th problem i 'm facing is that the tag of one of the child win is changing on th fly and I'm unable to recognize the window

    the window decl . in my fram file is as follows:
    [-] window MainWin MW
    [-] multitag "Instrument Toolkit*"
    [ ] "*?001-20021008-000067?"
    [ ] "$C:\Program Files\Rosemount Inc\Quotetool\Toolkit.exe"


    [-] window ChildWin ChildWin1
    [ ] tag "001-20021008-000067"
    [ ] parent Toolkit
    [-] CustomWin AfxMDIFrame421
    [-] msw multitag "[AfxMDIFrame42]001-20021008-000067"
    [ ] "[AfxMDIFrame42]#1"
    [ ] "[AfxMDIFrame42]$59648"
    [ ] "[AfxMDIFrame42]@(512,327)"

    I tried putting tag as "*" but it was in vain
    I also know abt declaring a function & calling it in the tag...but i want a simpler way of doin it in my fram file
    the error mssag i get is:

    [-] Testcase Drag_Drop - 1 error
    [ ] *** Error: Window '[ChildWin]*' is not unique
    [ ] Occurred in SetActive
    [ ] Called from Drag_Drop at toolkittemp.t(132)
    Can the guru's help me plz....


    ------------------
    btvenkatesh@yahoo.com

  2. #2
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: hw do I capture window & child windows which r changing on th fly

    Is there an object on the child window that will always be there? It is possible to tie the window tag to a constant and/or unique item that is part of the child window.

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

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

    Re: hw do I capture window & child windows which r changing on th fly

    Multitags strike again...

    Try deleting the second multitag in MW. I believe it conflicts with the tag for the childwin.

    John


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

  4. #4
    Junior Member
    Join Date
    Dec 2001
    Location
    bangalore
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: hw do I capture window & child windows which r changing on th fly

    hi define your windows tag to "#1" and on browser child it will work

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

 

 

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 10:36 AM.

Copyright BetaSoft Inc.