Forum Discussion
JavierCollRodri
12 years agoContributor
Hi Sean,
I assume you want to do it via a script, but I'm sure you can solve it via Keyword Testing too.
Follow these steps:
For example, in JavaScript:
You can also store all the innerText values in an array if you want to.
It should do the trick!
I assume you want to do it via a script, but I'm sure you can solve it via Keyword Testing too.
Follow these steps:
Get parent object (in the screenshot, Panel("ext_gen114").Panel(0).Table(0)). You can use many methods, such as Find or the full object name.
Create a loop to iterate all the cells, and retrieve the innerText.
For example, in JavaScript:
var parent = Sys.Browser("*").Page("*")...Panel("ext_gen114").Panel(0).Table(0);
var i = 0;
while (...) {
var text = parent.Cell(0, i).innerText;
// Do whatever you need
i++;
}
You can also store all the innerText values in an array if you want to.
It should do the trick!
Related Content
- 3 years ago
- 5 years ago