dfarr
10 years agoOccasional Contributor
Hopefully helpful: NativeWebObject and custom attributes in IE
In case this may be helpful to someone, I will share this issue.
In the browser application in which I am attempting to automate functional tests, I looked to employ NativeWebObject.Find to identify objects by custom content attributes; in my case an AngularJS attribute such as ng-click.
I was seeing this method work well in Firefox and Chrome, but it was failing in Internet Explorer 10. The SmartBear support team, in a pretty quick analysis and response, discovered that this is due to a change by Microsoft to its implementation of content attributes in IE 9 and later. (My layperson’s summary of the problem).
SmartBear support provided this link that may be informative: http://msdn.microsoft.com/en-us/library/ie/gg622931.aspx.
They also said they would try to implement a means to overcome this problem.
In the browser application in which I am attempting to automate functional tests, I looked to employ NativeWebObject.Find to identify objects by custom content attributes; in my case an AngularJS attribute such as ng-click.
I was seeing this method work well in Firefox and Chrome, but it was failing in Internet Explorer 10. The SmartBear support team, in a pretty quick analysis and response, discovered that this is due to a change by Microsoft to its implementation of content attributes in IE 9 and later. (My layperson’s summary of the problem).
SmartBear support provided this link that may be informative: http://msdn.microsoft.com/en-us/library/ie/gg622931.aspx.
They also said they would try to implement a means to overcome this problem.