Forum Discussion

gdave's avatar
gdave
Regular Contributor
7 years ago

Text on TPanel

Hi all

 

I am experiencing problem in reading text on TPanel through TC. I can see the text on the panels, but TestComplete doesn’t.

 

I was wondering if I need to add TPanel under object mapping ? If yes, what type of control is it...Dev Express - VCL etc ?

 

I am trying to validate the text which appears in TPanel. I have attached the screenshot for your reference as well as screenshot of the properties thru object spy. Thanks

7 Replies

  • gdave's avatar
    gdave
    Regular Contributor

    Can someone please help me with the above post....thank you

    • tristaanogre's avatar
      tristaanogre
      Esteemed Contributor

      The "TPanel" Delphi class is simply a container.  It really doesn't have anything else.  Can you object spy anything else in screen? What can you see in ObjectBrowser?  Is there anything else that exposes the text?

      • gdave's avatar
        gdave
        Regular Contributor

        Hi

         

        I am unable to ObjectSpy anything else inside the screen, only the frame is highlighted by the objectspy. There is nothing else which exposes the text. Is there a way of exposing the text ?

         

        Lot of our reports are generated in this way and I was wondering if there is any workaround to read the text / Thanks

         

        Regards

        G