Forum Discussion

ljmatilda's avatar
ljmatilda
New Contributor
14 years ago

How TC get the Web UI

Hi,



I just have an issue when I used TC.

With that issue, I need to know how TC get the web UI.



Could anyone explain that to me?

By HTML or by memory on the thread?



Thanks for your help very much

8 Replies

  • ljmatilda's avatar
    ljmatilda
    New Contributor
    Thanks for the reply, Allen.



    My issue is, TC couldn't analyze some of my web table properly.

    sorry for couldn't attach the img, because I'm at home now.



    Under tree model, TC should can analyse a table to be Cell(0,0), Cell(0,1)......Cell(1,0), Cell(1,1)......

    But currently, all the row id of the Cell is 0, so they are Cell(0,0), Cell(0,1)......, then again, Cell(0,0), Cell(0,1)........



    The interesting part is, it works well on IE7, but not on IE8.

    And for some of our build, it works properly on IE8 compatible mode, but never on un-compatible mode.



    I try to review the html source to get some clue, but I couldn't.



    And I just bump into the idea that it may be relevant to how TC get the web UI.



    No matter what, know how TC get UI helps me know TC more.
  • Hi Matilda,



    Please post an image of the problematic objects tree so we can examine it. Also, it would be great if you can provide us with access to the tested web page.



    BTW, can the problem be reproduced with Firefox?
  • ljmatilda's avatar
    ljmatilda
    New Contributor
    The fact is, we've submit a ticket for TC support to resolve the issue.



    But I really want to know how TC get the Web UI, I believe it will help me to understand TC more.



    And we don't test Firefox because it's not stable before, how about it now?
  • How, how, how...



    TC connect to process via WinApi, f.e. "iexplore" (internet explorer), and then via dll "tcIEHook.dll" and other dll or files gets objects. All)
  • Hi Matilda,


    Please provide us with a list of specific details you want to know (how objects tree is built, how object properties are retrieved, how values of properties are retrieved, etc.).

  • ljmatilda's avatar
    ljmatilda
    New Contributor
    OK. Here is my list:



    1. How TC get objects, by dll or by look up the HTML source

    2. how objects tree is built

    3. how object properties are retrieved

    4. how values of properties are retrieved



    Thanks for the reply.

  • Hi Matilda,





    TestComplete uses special interfaces exposed by Microsoft. No HTML parsing is performed.