Forum Discussion
azakharov
12 years agoContributor
Hey Dave,
The good news is that there are many ways to solve this problem.
Probably the simplest solution is finding a div (panel) with unique id and work from there.
Consider the table without unuqie properties inside panel.
<div id = 'somePanel>
<table>
...
</table>
</div>
var page = Sys.Browser("Firefox").Page("*");
var uniquePanel = page.Find('idStr', 'somePanel', 100);
var neededCell = uniquePanel .Table(0).Cell(3, 2);
Log.Message(neededCell.contentText);
neededCell.Click();
Play with it. If doesn't can you post the snippet of html code?
The good news is that there are many ways to solve this problem.
Probably the simplest solution is finding a div (panel) with unique id and work from there.
Consider the table without unuqie properties inside panel.
<div id = 'somePanel>
<table>
...
</table>
</div>
var page = Sys.Browser("Firefox").Page("*");
var uniquePanel = page.Find('idStr', 'somePanel', 100);
var neededCell = uniquePanel .Table(0).Cell(3, 2);
Log.Message(neededCell.contentText);
neededCell.Click();
Play with it. If doesn't can you post the snippet of html code?