Forum Discussion

JackSparrow's avatar
JackSparrow
Frequent Contributor
9 years ago

how to edit a disabled edit box [Delphi Application]

Hi all,

 

 There is inner edit if we click on the cell then the edit box getting enabled , manually if am trying its getting enabled and able to edit , with object browser its getting identified but while automating its not getting identified ,please find the attached screenshot of the editbox highlighted in red, below is the Aliases of that edit box.

 

 

Sys.Process("Teachers.debug").VCLObject("frmMaintainDeal").Window("TPanel", "", 1).VCLObject("tabDeal").VCLObject("tabGeneral").VCLObject("FrameMaintainDeal").VCLObject("pnlGridOuter").VCLObject("pnlGrids").VCLObject("grdDemo5").Window("TLMKGridMaintenanceGridSite", "", 1).Window("TLMKNumberEdit", "", 1).Window("TcxCustomInnerTextEdit", "", 1)

 

 

Kindly help me out.

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    That's a grid object you're clicking in, correct? 

    If it's a supported grid, you should be able to access and edit the data within the cell without having to click on the cell.  Check the "Working With Grids" topic in the TestComplete help to see if it's one of the supported grids and see if there is something there to help you.

    • JackSparrow's avatar
      JackSparrow
      Frequent Contributor

      tristaanogre

       

      I have checked all those but still I couldn't edit the text box , any other solutions please .

      • Colin_McCrae's avatar
        Colin_McCrae
        Community Hero

        I think you have more custom classes going on here.

         

        This - "TLMKGridMaintenanceGridSite" - is being identified as a "window", not a "VCLObject". TestComplete doesn't know what it is, or any of the objects below it. They are all "window".

         

        Speak to your dev team. You need to find out what the base class is. I use grids, but they are quite specific in their behaviour and there are several different types.