Forum Discussion
thePantz :
Hi,
I am afraid that you are referencing help topic that describes exactly the reason of the problem.
One quick idea meanwhile:
-- If TestComplete Object Browser can access internals of the .contentDocument property, you may try to search for and work with web elements via native DOM functions like it is described in the https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/page/contentdocument-property-page-object.html and https://support.smartbear.com/testcomplete/docs/app-testing/web/general/common-tasks/javascript.html help topics.
AlexKaras I'm afraid the .contentDocument I get is null in this case. However it is visible if I change my my Web Object Model from a Tree View Model to a DOM Model
- JuliaBernikova5 years agoSmartBear Alumni (Retired)
The DOM model is a deprecated web testing mode which might cause issues with performance, so
I suggest you stick with the Tree model.
Related Content
- 10 years ago
- 12 years ago
Recent Discussions
- 7 hours ago