Forum Discussion
se7ent7
14 years agoOccasional Contributor
Hi Helen, thanks very much for the reply!
I have tried both Page.FindChild() (been using this for many months to find objects by ID), and Page.NativeWebObject.Find(), but none of them find the the object using the custom "qaid" attribute.
EvaluateXPath does find the object, but (after conversion to the JScript array), the object does not expose any attributes / properties.
In the Locals window, it's simply an [Object] and you can't expand it (see attatchment, i called the object "folder" here).
I can actually find the button I need within the panel / object by using it with FindChild(). So the solution is useable in this case..
But having it as a closed object like this is very limiting. How can I find (or auto cast?) the object in a way that it still exposes it's content?
(And why would FindChild and NativeWebObject.Find be failing to find anything?)
thanks!
I have tried both Page.FindChild() (been using this for many months to find objects by ID), and Page.NativeWebObject.Find(), but none of them find the the object using the custom "qaid" attribute.
EvaluateXPath does find the object, but (after conversion to the JScript array), the object does not expose any attributes / properties.
In the Locals window, it's simply an [Object] and you can't expand it (see attatchment, i called the object "folder" here).
I can actually find the button I need within the panel / object by using it with FindChild(). So the solution is useable in this case..
But having it as a closed object like this is very limiting. How can I find (or auto cast?) the object in a way that it still exposes it's content?
(And why would FindChild and NativeWebObject.Find be failing to find anything?)
thanks!