Forum Discussion

msap's avatar
msap
Frequent Contributor
7 years ago

how can I get values from a grid where there are no wvalue,get rowcount,wcolumncount properties etc.

I need to get the divid from the grid. When I use spy , whole grid is selected , There are no properties shown.Screenshot attched.Is there any way I can retriev the value from particular row and colu...
  • cunderw's avatar
    cunderw
    7 years ago

    This may or may not work, but it's at least worth a shot.

     

    Try adding the .Net property ClrFullClassName to your object mappings in your proejct:

     

    Project Properties > Object Mapping > Microsoft Controls > WinForms > DataGrid 

     

    You can copy and paste the value from object browser and click add class name, or use add from screen to add it with the object spy. 

     

    I say this because it looks like this is a plugin providing a custom WinForms grid implementation. I have had to do this for several custom Java controls in the past.

     

    More information about the process can be found here: 

    https://support.smartbear.com/testcomplete/docs/working-with/managing-projects/properties/object-mapping.html

     

    Again, this may or may not work, but I have had luck with this procress before.