SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Feb 2004
    Location
    VA
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    not able to select check box from child window

    Hi
    Here is the Question:When I was recording ..I have a Browse Contact list when I click the link it opens a child window and I select the First contact and saved it.After recording when I try to replay the Script the script stops at Child window and giving some error msgs..Not able to go further from there,Please suggest me.
    it is stopping after this line
    Browser("TestA").Page("TestB").Link("Browse Contacts").Click

    and not able to do anything with this line.

    Browser("TestA").Page("TestA").WebCheckBox("WebChe ckBox").Set "ON"


    Please suggest me in this.

    Thanks
    Srini

  2. #2
    Junior Member
    Join Date
    Jan 2004
    Location
    Milwaukee
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: not able to select check box from child window

    Could you provide more details regarding the error message

    or try adding wait time...to get to the new page and find the checkbox

    Browser("TestA").Page("TestB").Link("Browse Contacts").Click
    Wait(2) 'Waits for 2 seconds
    Browser("TestA").Page("TestA").WebCheckBox("WebChe ckBox").Set "ON"

    Thanks,
    Pankaj

  3. #3
    Junior Member
    Join Date
    Feb 2004
    Location
    VA
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: not able to select check box from child window

    Hey Pankaj,
    Thanks for Quick Response,It worked...
    Srini

  4. #4
    Junior Member
    Join Date
    Feb 2004
    Location
    VA
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: not able to select check box from child window

    Getting same problem when try to click for Radio Buttons in a Popup Browser window.Plz suggest me.
    Srini

  5. #5
    Junior Member
    Join Date
    Jun 2004
    Location
    Finland
    Posts
    12
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: not able to select check box from child window

    Hi Pankaj,

    Another thing you might try is to put
    if Browser("TestA").Page("TestA").WebCheckBox("WebChe ckBox").exist then... statement in your script.
    That way you would not depend on window appearing within 2 secs, or would not need to wait for 2 secs if it appears sooner.
    --
    tulipahan sanottua <img border=0 title= alt=[Wink] src=wink.gif /]

 

 

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 10.71%
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:31 AM.

Copyright BetaSoft Inc.