Retrieving a list of elements using FindDescendants()
Posted: Tue Jun 30, 2009 8:59 pm
I have been trying to extract the list of Text elements contained in an element using the FindDescendants() method. I used the syntax I found in examples posted here by the support team, but I'm getting an error nonetheless.
I am working in C#. here is the code:
Here is the error:
The non-generic type 'Ranorex.List' cannot be used with type arguments (CS0308)
I know this should be really simple, but I've been banging my head against this wall for an hour. Please help!
-Bruce
I am working in C#. here is the code:
Code: Select all
List<Text> nodeList = repo.FormAmdocs_Interactive__Cata.ElementTree.FindDescendants<Text>();
The non-generic type 'Ranorex.List' cannot be used with type arguments (CS0308)
I know this should be really simple, but I've been banging my head against this wall for an hour. Please help!
-Bruce