I have scenarios were a number of check boxes will be displayed, i need to validated the list by comparing the check box names against my list (which can be in excel or from DB)
I followed the details in the below link and was able to get the objects which will be referring to all the check box which i need
http://www.ranorex.com/support/user-gui ... -mode.html
Please find the attached screenshot showing the snapshot of the Spy, but I am not able to add this object to repository. No errors are displayed but the object is also not added.
I also tried the below
Code: Select all
IList<CheckBox> list = repo.CodeListNewFormMozillaFirefox.Grouping.FindDescendants<CheckBox>;
int cnt = list.Count;
It would be very helpful if i can get some help in finding out the correct way to do it."Cannot convert method group 'FindDescendants' to non-delegate type 'System.Collections.Generic.IList<Ranorex.CheckBox>'. Did you intend to invoke the method? (CS0428)"
Thanks & Regards,
Kumar