Convert gridView to iList
Posted: Mon May 23, 2011 7:27 pm
Hello,
I am new to Ranorex, so I am sorry if my question is trivial.
I have a grid view collection (at least I think it is a grid view) and I need to iterate over it to access particular elements.
Now, I tried to convert it to IList (I need it to be iterable) but for some reason it does not work. Any ideas what am I doing wrong?
Code:
IList<Ranorex.Row> myRows = COlistOfRows.FindDescendants<Ranorex.Row>();
COlistOfRows is the highlighted element. I am using Ranorex 3.01.
Thank you
I am new to Ranorex, so I am sorry if my question is trivial.
I have a grid view collection (at least I think it is a grid view) and I need to iterate over it to access particular elements.
Now, I tried to convert it to IList (I need it to be iterable) but for some reason it does not work. Any ideas what am I doing wrong?
Code:
IList<Ranorex.Row> myRows = COlistOfRows.FindDescendants<Ranorex.Row>();
COlistOfRows is the highlighted element. I am using Ranorex 3.01.
Thank you