How to get the text of a certain table element?
Posted: Wed Aug 04, 2010 2:17 pm
Hi guys,
Given the name of a process, I need its CPU and memory use. So I want to capture the text of a certain cell in the Task Manager table. For example, a process is in row 14 and its "memory" cell is like below:
container[@caption='Processes']/table/row[@index='14']/cell[@text='152,500 K']
In C# script is there a way to get the text of this cell and report it?
Thanks a lot,
Charles
Given the name of a process, I need its CPU and memory use. So I want to capture the text of a certain cell in the Task Manager table. For example, a process is in row 14 and its "memory" cell is like below:
container[@caption='Processes']/table/row[@index='14']/cell[@text='152,500 K']
In C# script is there a way to get the text of this cell and report it?
Thanks a lot,
Charles