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
    Aug 2002
    Location
    Phoenix,AZ,USA
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    HTMLDiv Menu Item

    I am using TP 6.1 and my menu items are showing up as:
    HTMLDiv("ID=ctl00_cntrlHeader_cntrlMainMenu_mnMain _ctl00_staticItem").Click 24, 6

    HTMLDiv("ID=ctl00_cntrlHeader_cntrlMainMenu_mnMain _ctl01_staticItem").Click 53, 7

    I need help in how I am able to get to each of the menu items. TP only recognizes it as HTMLTD("ID='' Index=121").

    Thanks!

  2. #2
    Junior Member
    Join Date
    Jun 2009
    Location
    Poland
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: HTMLDiv Menu Item

    If you pasted more your web code, it would be easier.

    but i will try help you.

    If HTMLTD has no ID, I usually do like this:

    1) check if the HTMLTable has id. If there is one, I make object HTMLTable. Then, I use GetCellText(rows, cols) in the loop. I use HTMLTable().rowcount and colcount - something like that.
    Then I have array with strings.

    2)If the HTMLTable has no ID, I make object using FirstCellText and I do further like in 1)

 

 

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.11%
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:59 PM.

Copyright BetaSoft Inc.