Forum Discussion

nisgupta's avatar
nisgupta
Valued Contributor
6 years ago

finding Objects on Web pages

When TestComplete Object Spy do not recognize the objects what are the other ways we can can recognize the objects ? 

 

Thanks

NG

4 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    It depends upon the object.  Technically speaking, if it's on a web page and can be interacted with, it can be recognized.  So, what you've described is an odd case.  If you can give us more details as to what you're attempting to do (screenshots of the componet, of TestComplete Object Browser,  etc) we can help you get it to work.

    • nisgupta's avatar
      nisgupta
      Valued Contributor

      I have attached the screenshots

       

      Thanks

      NG

      • cunderw's avatar
        cunderw
        Community Hero

        The object you want to get to specifically isn't an object it's part of the text of an object. That entire panel (loginInfo) has it's own contentText that includes User: tmatador. You can grab the content text and strip out just the username with some regex if that's what you need.