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
How to get the text of a certain table element?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: How to get the text of a certain table element?
Hi,
Please take a look to following post
http://www.ranorex.com/forum/looping-th ... t1347.html
If you adapt the code a bit, you can use it for your behavior.
Regards,
Peter
Ranorex Team
Please take a look to following post
http://www.ranorex.com/forum/looping-th ... t1347.html
If you adapt the code a bit, you can use it for your behavior.
Regards,
Peter
Ranorex Team