06-07-2012, 10:22 AM
Hi,
U have 5 rows in ur webtable , so intead of increasing the index number try to increment the row and check if same coulmn is used
try something like this:
I am assuming that weblement is present in same column no. for each row.U can increment the index when more than one item present in same cell.
Let me know for more clarifications
Regards,
Sankalp
U have 5 rows in ur webtable , so intead of increasing the index number try to increment the row and check if same coulmn is used
try something like this:
Code:
Do while Browser("Browser").Page("ShipmentLink - Sailing_2").WebTable("Seq_2").ChildItem(I, a_cols, "WebElement", 0).Exist(5)
Set objChildItem = Browser("Browser").Page("ShipmentLink - Sailing_2").WebTable("Seq_2").ChildItem(I, a_cols, "WebElement",0)
objChildItem.Click
l = l+1
Loop
I am assuming that weblement is present in same column no. for each row.U can increment the index when more than one item present in same cell.
Let me know for more clarifications
Regards,
Sankalp