Forum Discussion
Hi,
Thank you for your investigation and help! I really appreciate it.
The Test 2 is closest to what I want. The thing is it returns all inputs from given form, not just those specified with my xpath. So it's not usable for my needs. I would have to specify an array of FindAll properties, which is not something I want to do. Anyway, I have a workaround using the Parent function. Not nice, but functional.
BTW, sys.highlight fails with "type error", because obj is in fact array, even if it returns only one element. It only works if I specify the obj with array index.
You can also include multiple objects and property values e.g. FindAll(["ObjectType", "Enabled", "contentText"], ["Button", "True", "Default*"], 100) to search for objects matching that criteria in Aliases.browser.Main_PAGE.DescartesRoutePlanner_SECTION.Asset_Header_FRM
My copy and paste of "Sys.HighlightObject(obj);" didn't go to plan!