SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2

Thread: childobjects.

  1. #1
    Junior Member
    Join Date
    Oct 2007
    Posts
    22
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    childobjects.

    hi everybody

    I'm preparing descriptive code for the yahoo shopping.
    Here in the following code, I've small dount in last statement. please let me know whether it is correct or not.

    browser("micclass:=browser").Page("micclass:=page" ).Link("name:=Next").click
    set Loginpage=browser("micclass:=browser").Page("miccl ***:=Page")

    set objectdesc=description.Create()
    objectdesc("micclass").value="WebTable"
    objectdesc("class").value="item_table"
    Set mobjects=loginpage.childobjects(objectdesc)
    cou=mobjects.count()
    mobjects(0).Link("class:=price").click

  2. #2
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0

    Re: childobjects.

    someshchitta, There can be 1000 different problems related to childobjects. Use something meaningful for your post tile. Read the forum guidelines.

    For your last statement it is logically correct but there is bug in QTP which is explained in the below article
    http://www.knowledgeinbox.com/docume...processes.html

    And hence you need to use a workaround.

 

 

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 12.50%
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.