Forum Discussion

rajeshr's avatar
rajeshr
Occasional Contributor
9 years ago

Not able to know the object details through inspect

Hi,

I am trying to automate a grid for which I need to make use of the columnheader for which I am using get_columntext to retreive the column header.

WndClass of the object - SftTreeOCX70SoftelvdmInc

I have a case where one specific input I am not able to see object's properties through inspect. I have attached 3 images in which you can see when the input for get_columntext is 3, I can't find the returned object details of this function whereas all other valid inputs I can check the object details. 

When I run 

Set columntext =guiObject.get_ColumnText(3)

columntext contains a object, since I don't know what properties it contains I can't use this object.

Can someone help me with this. Am I looking it the wrong way or is this an issue?

 

Regards,

Rajesh Raghunathan

 

1 Reply

  • shankar_r's avatar
    shankar_r
    Community Hero

    You can try below options,

     

    columntext = aqConvert.VarToStr(guiObject.get_ColumnText(3))

    (Or)

    columnsArray = guiObject.toArray();

    for(var i = 0 ; i < columnsArray.Length ; i++)
    {
    Log.Message(aqConvert.VartoStr(columnsArray[i].oleValue))
    }