Forum Discussion

irina_tarasova's avatar
irina_tarasova
New Contributor
12 years ago

TestComplete 9, SilverLoght : Object in ObjectBrowser sometimes invisible

Dear all,



Our team is distrubuted one and we've come across a problem - part of team can see particular Object in ObjectBrowser tree and another part of team doesn't see that Object



We all use

- TestComplete 9.20.2460.7

- IE 8

- Extended SilverLight object tree is checked in Properties



Tested Application uses SilverLight and is deployed on test server.



So the problem is - when we are looking at the same page, part of us sees "LoadingIndicator" object and another part doesn't see in Object Broswer Tree;



On ScreenShot we can see

left side contains ObjectBrowser for those who doesn't see SLObject("LoadingIndicator") and on the right we can see screenshot of those who see SLObject("LoadingIndicator")



By the way, we all can see this loading indicator on UI while looking at web page but problem why not all of us can see in Object Browser Tree



What could be the problem?

Would appreciate any ideas and help



thank you

  • Hi Irina,


     


    As far as I understand, this loading indicator will be visible on the page only while a container is being loaded. Maybe these screenshots are made in different time periods: the first one was made when all objects were loaded and the second one - in the middle of loading of the objects?


    Try using TestComplete's Object Spy to catch the loading object. What is the result?


     

  • Tatyana,



    You are right

    I can see LoadingIndicator on UI web page and at this very moment object spy can catch that object and see it - please refer to screen shot attached



    So i see full path to htan object

    ...("uiSidebar").SlObject("ScrollViewer", "").SlObject("Expander", "", 2).SlObject("ContentControl", "").SlObject("ActiveProductsAndServices").SlObject("biAgreements").SlObject("content").SlObject("dfAgreements").SlObject("LoadingIndicator", "", 0)



    But when Loading Indicator stops loading and no more visible on UI, my Object Browser doesn't see that object in tree

    As far as others people in our team can see LoadingIndicator object in Object Tree after it disapers from UI web page.



    and no SlObject("LoadingIndicator", "", 0) in the tree



    Why could ib be so?



    thank you

    irina


  • Hi Irina,


     


    Actually, the behavior you see on your computer is correct. The loading indicator disappears - the object doesn't persist in the object tree anymore. 


    To explore the loading object, you can use the Object Spy's Point and fix option.


     

  • prasad794u's avatar
    prasad794u
    New Contributor


    Hi,



    i am working with Testcomplete 9.3 version on win7 os.

    for a silverlight application(versin 5), whan i try to spy an object entire window is being hightligted instead of a particulat object(a textbox).



    Please suggest me my workaround to spy any object directly



    Thanks

    Prasad