Forum Discussion

heidi_n's avatar
heidi_n
Regular Contributor
7 years ago

Why is my JavaScript test showing COMObjects not HTML?

Why would my JavaScript (I'm nearly 100% sure I chose JavaScript when creating the project suite) test showing COMObjects? We were expecting to see HTML.

1 Reply

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    As I understand it, while you are working with an HTML web application, when you use certain methods in TestComplete to retrieve an object, it is passed in as a COM Object.  TestComplete is built on COM architecture so it operates against objects using the same architecture.  Your application is still HTML, but the objects are wrapped as COMObjects...  that's my interpretation at least.

     

    Is this causing a problem in your ability to work with the objects? Or is this just a curiousity question?