Forum Discussion
AlexeyKolosov
Staff
14 years agoHi Gerhardt,
>>
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.
<<
Are you using Google Chrome? I've run some tests and found out that FindChild and NativeWebObject.Find fail to find an object by custom attributes in Chrome indeed, although this works fine in Internet Explorer and Firefox. I've forwarded this to our developers to look into. Thanks for catching this!
>>
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'm afraid, I can't reproduce this issue. Could you please post here the exact complete script you're using and the URL of your web page? If you can't post them on a public forum, you can open a support ticket and send them privately to our Support Team.
Does this issue happen only with Chrome or with other browsers as well?
>>
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.
<<
Are you using Google Chrome? I've run some tests and found out that FindChild and NativeWebObject.Find fail to find an object by custom attributes in Chrome indeed, although this works fine in Internet Explorer and Firefox. I've forwarded this to our developers to look into. Thanks for catching this!
>>
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'm afraid, I can't reproduce this issue. Could you please post here the exact complete script you're using and the URL of your web page? If you can't post them on a public forum, you can open a support ticket and send them privately to our Support Team.
Does this issue happen only with Chrome or with other browsers as well?