nikgoodley-ibboost / aost

Automatically exported from code.google.com/p/aost
0 stars 0 forks source link

Populate attributes for the automatically generated UI object in TrUMP #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Right now, the automatically generated UI object does not have any
attributes associate with it in TrUMP IDE.
We need to do
1) Select an appropriate tag from its xpath, for example "/div/form/div".
Usually special tags such as "form", "table", or "url" should be considered 
first. An algorithm should be designed to select the tag from the relative
xpath. This process should be part of the post-Tree generating process so
that we do not need to keep updating the tags.
2) Once we select the tag for the UI object, we should use the absolute xpath
to get attributes for this UI element. 

Original issue reported on code.google.com by John.Jian.Fang@gmail.com on 29 Jan 2009 at 6:23

GoogleCodeExporter commented 9 years ago
I added the DOM node to the tree node and to find the dom node 
by walk up from the child up to the node with the selected node.

Original comment by John.Jian.Fang@gmail.com on 4 Feb 2009 at 3:39