12-26-2013, 09:29 AM
Dear EnthustiaticLearner,
Thank you very much for the detailed explanation. My 2 cents would be to go with the index rather than pondering over an unique id. Index in itself is a problem solver in dynamic webtables as well as chained tables.
Index starts from Zero, so it is going to be a bit of trial and error before you arrive at the right one. Also, check the Spy to see what the index says? If it is has the right value you may use it. You can also record the object and check the index identification on the Object Repository.
Thank you very much for the detailed explanation. My 2 cents would be to go with the index rather than pondering over an unique id. Index in itself is a problem solver in dynamic webtables as well as chained tables.
Index starts from Zero, so it is going to be a bit of trial and error before you arrive at the right one. Also, check the Spy to see what the index says? If it is has the right value you may use it. You can also record the object and check the index identification on the Object Repository.
Code:
Set ObjTable = Browser("name :=" &BrowserPage).Page("name := " & BrowserPage).WebTable("class:= Web_Table", "class name:= WebTable" , "index:=0")
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.