cell text does not exist
Posted: Wed Apr 01, 2009 8:08 pm
I am having trouble getting the Text information from a table cell. Here is the situation:
I am trying to select a user from Active Directory and open its properties window. I had this working this morning with the following line of code:
This was working fine and I was able to select the user and double click the user based on the cell text. I ran it again to validate something when it stopped working. After some research I noticed that it was not finding it because the cell text was now “”. When I use the element browser the same as I did before and browse to the table and cell this is what it show:
Does anyone know why the cell text is not showing up anymore? Is there a better way to do this?
Thanks.
I am trying to select a user from Active Directory and open its properties window. I had this working this morning with the following line of code:
Code: Select all
string user = “’testUser’”
Cell userCell = Host.Local.FindSingle<Cell>(new RxPath("/form[@title~'^Active Directory Users']/container/*/element/table/*/cell[@text~" + user + "]"), new Duration(90000));
Code: Select all
"/form/container/*/element/table/row[@index='8']/cell[@text='' and @columnindex='0']"
Thanks.