DOM - Table Question
So I wrote a function that clicks a certain link in a WebTable.
Basically goes like this :
Set objTable = a.b.c.d.Object
strCoordinates = getCoordinates(objTable,searchstring)
x = strCoordinates(0)
y = strCoordinates(1)
Set objLink = a.b.c.d.ChildItem(x,y,"Link",0)
This works fine.
But I do want to have the table Object dynamic like :
set objLink = objTable.ChildItem(x,y,"Link",0)
which doesnt work.
I am sure its a simple thing that I am missing but i went to lots of different permutations of the code with no sucess.
Re: DOM - Table Question
Hi Kai, You're mixing up DOM objects, QTP objects. See MSDN help on DOM (I think you want the childNodes collection.).