Using this code I get a compile error.
- Code: Select all
IList<Ranorex.Core.Element> allTNewNotebookPage = HDSetupForm.FindChildren<Ranorex.Core.Element>();
Error:
- Code: Select all
The type 'Ranorex.Core.Element' cannot be used as type parameter 'T' in the generic type or method 'Ranorex.Adapter.FindChildren<T>()'. There is no implicit reference conversion from 'Ranorex.Core.Element' to 'Ranorex.Adapter'.
See the attached screenshot of RanorexSpy.
Thanks.