The Lianja Object Model blog is a good start, but there are a few things missing (and they are probably there in some other form), hence the question.
In VFP, I would use amembers() on an object to get the properties and/or methods. Or, if it hadn't been broken, I could have iterated the sub-objects. I tried iterating from the console on a page object, using this code:
Code:
loProdPage = Lianja.getelementbyid("Product")
foreach oItem in loProdPage
loItem = oItem
=messagebox(oItem.name)
endfor
and in the debugger it would freeze on line 3 (foreach).
Being able to map what is there now is a key to building tools, of course. Any hints or suggestions welcomed.
tia,
Hank
Bookmarks