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
    Feb 2010
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    wait page untill a component appear

    Hi all,

    I have been using TC for three months now, it's really a cool tool. but i am facing some problems and i need help in the following issue :

    1- When i write my scripts, i use the names and the properties of controls that generated by the object browser. is that correct and is there any better way to do that? i tried to use wait childs as follwos :

    Aliases["iexplore"]["Page"](PageURL)["WaitNamedChild"](link2, -1). but the system can't find it and i used all other wait children with no result... is it important to use this method of finding objects or it is good to use the naming of the object browse?

    also i was thinking to make list of all children, so this way if any changes happens to the structure of the web page won't affect my test. should i go for it?

    what do u recommend guys?

    Mohammed

  2. #2
    Senior Member
    Join Date
    Aug 2006
    Posts
    1,920
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: wait page untill a component appear

    Hi,

    You cannot call the WaitNamedChild method of an object which is not in the Name Mapping tree. Your current code is a mix of the NameMapping, Aliases and regular object trees, it just cannot work.

    Use other Wait methods (such as WaitLink) depending on the name of your object in the Object Browser.
    Jared - AQA Support

 

 

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

Copyright BetaSoft Inc.