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").
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)